Posted by: Adam Jorgensen | September 16, 2010

Ready… Set …. Go ! <how many>?

I thought I would pass along something I learned this week about batches in TSQL. I always knew about the GO statement terminator, but I didn’t know you could takc on a number to it and get it to repeat itself.

 

For Example:

Select top 5 * From FactOnlineSales
GO 100

image

I guess we learn something new every day! Keep posting your comments and feedback. I love it!

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.