set command syntax

The syntax for set statistics is:

set statistics {io, simulate, subquerycache, time, plancost} [on | off]

You can issue a single parameter:

set statistics io on

You can combine more than one command on a single line by separating the commands with commas:

set statistics io, time on