1
0

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 3 years have passed since last update.

SQLServer ManagementStudioでデータベースを編集する際にやっておいたほうがいいこと

Last updated at Posted at 2021-01-17

1.テーブルの変更ができない

テーブルの列の順序を変えようとすると警告が表示され、何もできないという事象に遭遇。
image.png

原因・解決策

  1. SQLServer Management Studioにて[ツール]-[オプション]を選択。
  2. 左ツリーメニューの[デザイナー]を選択。
  3. [テーブルの再作成を必要とする変更を保存できないようにする]のチェックを外し、[OK]をクリック。
    image.png

2.編集可能な行の上限を増やす

  1. SQLServer Management Studioにて[ツール]-[オプション]を選択。
  2. 左ツリーメニューの[SQLServer オブジェクト エクスプローラーを選択。
  3. [上位行の編集コマンドの値]を200から1000に変更。
    image.png
  4. テーブル右クリックメニューが[上位1000行の編集]に変わった。
    image.png

多分、データを取ってくる行数と編集表示の上限数は合わせたほうがやりやすいと思われる。

参考元

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?