In SQL Server the keyword GO tells SQL Server to execute the preceding code as one batch. From SQL Server 2005 onwards we can specify the integer parameter with GO keyword which will loop the preceding statement.
/* below command will print ‘Jugal Shah’ 100 times as we have specified 100 as parameter */
print 'GO WITH Parameter'
go 100
No comments:
Post a Comment