Home Forums SQL Server 7,2000 T-SQL Using a stored procedure to dynamically create a table RE: Using a stored procedure to dynamically create a table

  • Capri,

    Thanks but I believe your suggestion results in an existence check for [<A href="mailtoBO.@TABLENAME">DBO].[@TABLENAME]. In other words, the contents of the parameter @TABLENAME is not being used here. It will always be checking for the same table.

    I think I need to use the EXEC function but I somehow have to be able to check the results of it.

    - Mike