[dba-SQLServer] SQL Server 2005 - Build a table in a databaseusing a stored procedure

Doris Manning mikedorism at verizon.net
Sat Jun 2 08:43:56 CDT 2007


<snip>I'm no expert but would it work if you did something like this instead
and skipped the USE?

CREATE TABLE [@DatabaseName].[dbo].[tblDataMapCSVOut]
...
<snip>

This should work just fine.

Doris Manning
Database Administrator
Hargrove Inc.





More information about the dba-SQLServer mailing list