views:

13

answers:

1

Hi all, I have created several objects (Tables,Stored Procs, functions etc.) under a new schema (x)

Now I want to import them to DBO schema.

How can I do that.. Thanks

+2  A: 

You want to transfer them from your other schema so they now belong to the dbo schema? If so this is the syntax you need.

ALTER SCHEMA dbo TRANSFER OtherSchema.ObjectName;
Martin Smith