SQL Server Circular Batch _mssql

Source: Internet
Author: User
The following methods can be used to quickly generate a batch of data

if (object_id (' t ') is not null) drop table T
Go
CREATE TABLE t (ID int identity (1,1), name varchar (40))
Go
Insert into T (name) select NEWID ()
Go 10
SELECT * FROM t
/*
1 18c1c418-9029-4599-8d5e-616354a113c8
2 A0FE1177-09D8-4C56-9FB5-C2FAFF0155CF
3 9033e8bb-b9a4-4a08-83d8-40064ab68c5f
4 A179A300-E30B-42BF-974E-50928EB7DCF1
5 c1d36d3b-c4d7-431b-8c81-95c9ef9061a0
6 8a99066a-7993-4c06-9763-482c0bf5e687
7 2F0664A8-F91D-4BDE-BA0B-48624137B7CA
8 74c3fed3-6182-4ed9-9bfe-9c3dec662f35
9 4e7a8cc8-d7ce-4a0d-8562-688fb3f91458
Ten ec82bd91-20b3-46c1-b7cc-c4a8a9099376
*/
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.