Reputation: 89
I have DataBase Name: PMKIT, prefix Table : PMKIT.TableName.I want rename PMKIT.TableName to DBO.TableName. Can you help me!
Upvotes: 1
Views: 5125
Reputation: 6564
You need to transfer your table from PMKIT
schema to dbo
schema:
ALTER SCHEMA dbo TRANSFER PMKIT.TableName;
Read more here: https://learn.microsoft.com/en-us/sql/t-sql/statements/alter-schema-transact-sql?view=sql-server-2017
Or you can follow these steps to perform the same action via Management Studio user interface
Schema
property and change itUpvotes: 2