Question: how to check if a table exists in sql?
Answer: You can use this table with an IF THEN clause do determine how your query responds whether or not a table exists. ... 
IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = N'employee_ids') BEGIN PRINT 'Yes' END ELSE BEGIN PRINT 'No' End.