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 2000 Forums
 SQL Server Development (2000)
 insertion problem

Author  Topic 

deepabalasubramanian
Starting Member

21 Posts

Posted - 2001-10-03 : 01:57:55
I have a stored procedure.
Following the insert statement is a call to another stored procedure.
But what happens is ,when my insertion fails b'cos of primary key violation it proceeds with the next call statement.
What i need is when my insertion fails it should come out of the stored procedure .

My insert statement is a dynamic sql statement.

Thanks
   

- Advertisement -