I want to move a table into a specific Schema using T-SQL? I am using SQL Server 2008.
+5
A:
Please see: SQL 2008: How do I change db schema to dbo
ALTER SCHEMA TargetSchema TRANSFER SourceSchema.TableName;
Mitch Wheat
2009-07-19 03:24:42
+1. nice one ...
Remus Rusanu
2009-07-19 03:39:39
@Remus Rusanu: lol! There's no justice! ;)
Mitch Wheat
2009-07-19 03:40:20