Home Forums SQL Server 2008 SQL Server Newbies To insert data only if it doesnot exist if exist show the table info and print a message RE: To insert data only if it doesnot exist if exist show the table info and print a message
Steve Jones - SSC Editor
SSC Guru
Points: 734459
More actions
September 14, 2010 at 4:33 pm
#1221056
Can you post exactly what you run. The syntax Lutz showed should work.
It's
IF ()
begin
end
else