-- Collection of code snippets by Arne Vajhøj 
-- posted to eksperten.dk, usenet and other places (2002-now) 
CREATE TABLE textus (id INTEGER PRIMARY KEY, txtf TEXT);
INSERT INTO textus VALUES(1, 'xxx');
INSERT INTO textus VALUES(2, '');
INSERT INTO textus VALUES(3, NULL);
SELECT id,txtf,CONCAT('', txtf),COALESCE(txtf,'') FROM textus;
DROP TABLE textus;
