inserting a record using stored procedure without duplicate
how can i insert a record using stored procedure without duplicate values..
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vithal WadjePosted Dec 8, 2014, 10:07 PM
like as follows
IF NOT EXISTS(SELECT * FROM emp WHERE Name=@Name)
begin
---inert logic
End