Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 2 to 6 insertion at the same time.

Author  Topic 

sg2255551
Constraint Violating Yak Guru

274 Posts

Posted - 2009-10-30 : 23:03:33
hi

I have a table with its primary key set to auto increment as bigint data type

If i would do a 6 inserts simultaneously not sequentially.

Will all 6 insertion be successful? I have set the primary key set to auto increment.

Thanks

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-10-30 : 23:06:41
It will be successful. It won't be simultaneously to SQL Server.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

sg2255551
Constraint Violating Yak Guru

274 Posts

Posted - 2009-10-31 : 03:31:24
Thanks a lot
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-10-31 : 12:21:34
You're welcome.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -