IF NOT EXISTS (select 1 from tablename where Id = @id) BEGIN insert into tablename (Id, Name, Address) values (@id, @Name, @Address) END
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)