Home Forums SQL Server 2008 SQL Server Newbies exception handling: how would you do it? RE: exception handling: how would you do it?
pietlinden
SSC Guru
Points: 63428
More actions
October 2, 2013 at 11:59 pm
#1655394
only thing i can think of is to do the iffy one inside a TRY/CATCH block and trap for the table not being available (if you can). Then use an IF statement to execute the proper SQL statement.