Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MS SQL Server でテーブル名を変更する方法。テーブルを作成しました。MS SQL Server でテーブル名を変更するために必要です。
ありがとう
使用sp_rename:
sp_rename
EXEC sp_rename 'dbo.old_table_name', 'new_table_name';
これは、テーブルが schema にあると仮定していますdbo。
dbo