How do I change db schema to dbo

前端 未结 11 2510
无人共我
无人共我 2020-12-02 05:38

I imported a bunch of tables from an old sql server (2000) to my 2008 database. All the imported tables are prefixed with my username, for example: jonathan.MovieData

11条回答
  •  难免孤独
    2020-12-02 05:59

    I had a similar issue but my schema had a backslash in it. In this case, include the brackets around the schema.

    ALTER SCHEMA dbo TRANSFER [DOMAIN\jonathan].MovieData;
    

提交回复
热议问题