Ali Parvaresh Blogging from Iran
Run this query against your database, set new_schema as your desired schema, e.g. dbo
exec sp_MSforeachtable "ALTER SCHEMA new_schema TRANSFER ? PRINT '? modified' "
Print | posted on Saturday, November 29, 2008 3:39 PM