3> 4> CREATE PROCEDURE spTableExists 5> @TableName VarChar(128) 6> AS 7> IF EXISTS(SELECT * FROM sysobjects WHERE name = @TableName) 8> PRINT @TableName + ' exists' 9> GO 1> 2> 3> drop proc spTableExists; 4> GO 1> 2>