請教:用SQL指令將金額類型字段改為數值型為什麼不行!!!
alter table abc alter column Amount numeric(18,6)
出錯:
Server: Msg 5074, Level 16, State 1, Line 1
The object 'DF_ABC_Amount' is dependent on column 'Amount'.
Server: Msg 4922, Level 16, State 1, Line 1
ALTER TABLE ALTER COLUMN Amount failed because one or more objects access this column.
我想用SQL指令大批量將金額類型改為數值型,怎麼辦?
請高手指點,多謝!