Change Schema Name Of Table In SQL

后端 未结 10 2290
清歌不尽
清歌不尽 2020-12-04 06:15

I want to change schema name of table Employees in Database. In the current table Employees database schema name is dbo I want to chan

10条回答
  •  忘掉有多难
    2020-12-04 06:44

    Check out MSDN...

    CREATE SCHEMA: http://msdn.microsoft.com/en-us/library/ms189462.aspx

    Then

    ALTER SCHEMA: http://msdn.microsoft.com/en-us/library/ms173423.aspx

    Or you can check it on on SO...

    How do I move a table into a schema in T-SQL

提交回复
热议问题