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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Double Row Insertion

Status
Not open for further replies.

quwesi

Programmer
May 2, 2008
5
When I execute an INSERT statement to add a row to a table within my SQLsever database I realise that the row is inserted TWICE.

Any idea how to resolve this?

Thanks
 
Also, check to make sure you don't have any triggers that are replicating the data.

im in ur stakz, overflowin ur heapz!
 
Or if you are inserting based on a selct statement with a join, could be one of the join tables has two rows. Withouthseeing the actual insert statment it is hard to diagnose the problem.

"NOTHING is more important in a database than integrity." ESquared
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top