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