Failed_Noob
Failed_Noob

Reputation: 1357

How to set BLOB Data in SQLite to Nothing or NULL

How to SET BLOB data field in a SQL Table to NULL or Nothing ?

Upvotes: 1

Views: 8113

Answers (1)

bernd_k
bernd_k

Reputation: 11966

As in every other database too. If the column allows nulls.

INSERT INTO test1 (blob_col) values (null);

or

UPDATE test1 set blob_col = null;

Upvotes: 2

Related Questions