Merchant(
id (PK,char(15),not null),
name (varchar(22),null),
city(varchar(10),null),
location(varchar(10),null),
state_code(int,null),
country_code(int,null)
)
哪裏city
總是NULL
和name
也NULL
。
有人更新這些字段爲字符串"NULL"
。
我如何找到差異?
你想檢查記錄的值或在架構中的差異?? –
更好的方法是用NULL替換NULL,並修正代碼中的錯誤以正確寫入NULL。 – Cesar