我想改变一个行的类型:
ALTER TABLE SM_MODELINVOICE_HEAD ALTER COLUMN Re TEXT
但是出错,如下:
Server: Msg 5074, Level 16, State 1, Line 1
The object 'DF_SM_MODELINVOICE_HEAD_Re' is dependent on column 'Re'.
Server: Msg 4922, Level 16, State 1, Line 1
ALTER TABLE ALTER COLUMN Re failed because one or more objects access this column.然后我想删除关联:
delete sysobjects where Name='DF_SM_MODELINVOICE_HEAD_Re'
又出错,如下:
Server: Msg 259, Level 16, State 2, Line 1
Ad hoc updates to system catalogs are not enabled. The system administrator must reconfigure SQL Server to allow this.兄弟们!救命啊!!!急用啊!!!!