0

尝试在 SQL Squirrel 中从我的数据库中删除一行时,出现以下错误。

在此处输入图像描述

现在,当 text-type 列的值为 ''(如空)时,会发生这种情况,当它为 null 时,删除时不会出错。

为什么是这样?如果我将列转换为 varchar(max) 类型而不是文本类型会有帮助吗?这有什么可能的危险吗?

4

1 回答 1

0
An empty string is a string with zero length or no character. Null is absence of data


used delete statement with [text-type column ='' OR text-type column is NULL]
于 2017-09-05T07:28:29.517 回答