Latest DotNet & SQLQuestions
Wednesday, 30 March 2011
IF Exists in Sql Server
if exists (select * from appraisal where employee_id=employee_id);
begin
Update the data into the Table
End
Else
begin
Insert the data into the table
End
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment