Alter Schema – Move object to another schema
-
Posted on October 19, 2010 by Derek Dieter
-
1
As easy as this syntax is, I had to keep looking it up for about a year. I suppose that’s why you are here. Well, here it is:
[cc lang=”sql”]
ALTER SCHEMA newschema TRANSFER oldschema.Table
[/cc]
This will transfer the table defined under “oldschema” and transfer it to “newschema”.
Post a comment
- Comments (RSS)
- Trackback
- Permalink