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