0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【TIPS】SQL Serverでスクリプトを出力するときに、sp_addextendedpropertyを出したくない

Posted at

Note: 本記事は、2018年12月時点の内容です。

【Q】SQL Serverでスキーマをスクリプト出力したときに、余計なもの(拡張プロパティ:sp_addextendedproperty)が出力される。除外して出力できないの?

【A】SSMS(SQL Server Management Stuido)の設定を変更しましょう。

作業の手順

  1. SSMSを起動
  2. 以下の設定を変更

【手順1】SSMSを起動

【手順2】以下の設定を変更

  • SSMSで Tools > Options > SQL Server Object Explorer > scripting を選択
  • Script extended properties を False に変更

参考資料

How can I remove sp_addextendedproperty from a SQL Server view script?

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?