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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Insert record
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

12 Posts

Posted - 12/23/2009 :  07:54:57  Show Profile  Reply with Quote
Hi all,

I have a table (table A) with an id field where the value in this field will be retrieved from an id field in other table (table B). If I insert a new record in table A, the id field in table B will increase by 1. My problem is, I want a way to make sure no same value will be retrieved by table A, especially if there are more than 1 process are running at the same time. How can I achieve this requirement?


John Lam
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000