Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Identity Column

Status
Not open for further replies.

FontanaS

Programmer
May 1, 2001
357
US
I keep getting duplicate numbers in a column that is set as an identity column.

The user interacts with interdev (web) and then there information is inserted in SQL. I do not even mention the identity column in the insert statement.

How is this possible?

THANKS
 
Check the value of identity_insert value.
If it is set by the command
( set identity_insert table_name on )
table owner / database owner or sa can insert duplicate values in that column if they want.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top