Change Schema Name Of Table In SQL

后端 未结 10 2276
清歌不尽
清歌不尽 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:55

    Your Code is:

    FROM
     dbo.Employees
    TO
     exe.Employees
    

    I tried with this query.

    ALTER SCHEMA exe TRANSFER dbo.Employees
    

    Just write create schema exe and execute it

提交回复
热议问题