views:

795

answers:

1

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
+1. nice one ...
Remus Rusanu
@Remus Rusanu: lol! There's no justice! ;)
Mitch Wheat