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