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

  • Can you post exactly what you run. The syntax Lutz showed should work.

    It's

    IF ()

    begin

    end

    else

    begin

    end