Reputation: 3548
While trying to remove a row from my database in SQL Squirrel I get the following error.
Now, this happens when the text-type column has value '' (as in empty) When it has null, there's no error when deleting.
Why is this? Would it help if I convert the column to be of type varchar(max) instead of text and are there any possible dangers in that?
Upvotes: 0
Views: 435
Reputation:
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]
Upvotes: 0