开发者

Sql server 2005 :How to Import objects of a schema to another

开发者 https://www.devze.com 2023-01-15 21:48 出处:网络
I have created several objects (Tables,Stored Procs, functions etc.) u开发者_运维百科nder a new schema (x)

I have created several objects (Tables,Stored Procs, functions etc.) u开发者_运维百科nder a new schema (x)

Now I want to import them to DBO schema.

How can I do that.. Thanks


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;
0

精彩评论

暂无评论...
验证码 换一张
取 消