OracleなどではDEFAULTを列のプロパティとして扱いますが、 SQL ServerではDEFAULTを制約として扱っています。 SQL/92 や SQL/99 準拠の構文では残念ながら設定できません。 煩雑ですが、次の方法で変更できます。 alter table testtbl alter column testcol float メッセージ 5074、レベル 16、状態 1、サーバー HOGE01、 行 1オブジェクト 'DF__testtbl__testcol__xxxxxxxx' は 列 'testcol' に依存しています。 メッセージ 4922、レベル 16、状態 9、サーバー HOGE01、 行 1ALTER TABLE ALTER COLUMN testcol は失敗しました。 1 つ以上のオブジェクトがこの列を参照しています。 このエラーから対象の制約名を拾い、この
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く