Please start any new threads on our new
site at http://forums.sqlteam.com. 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.
Constraint Violating Yak Guru
insert into Test Table
(@DB, @DB_Name, @Date, @Quantity)
where ID = @ID
Flowing Fount of Yak Knowledge
Insert into Test
Select @DB, @DB_Name, @Date, @Quantity
Where exists(select * from SomeTable where ID = @ID)