1997-04-05 13:26:55 +02:00
|
|
|
-- *************testing built-in type text ****************
|
|
|
|
|
|
|
|
SELECT 'this is a text string'::text = 'this is a text string'::text AS true;
|
|
|
|
|
|
|
|
SELECT 'this is a text string'::text = 'this is a text strin'::text AS false;
|
|
|
|
|
1997-12-01 03:46:13 +01:00
|
|
|
CREATE TABLE TEXT_TBL (f1 text);
|
|
|
|
|
|
|
|
INSERT INTO TEXT_TBL VALUES ('doh!');
|
|
|
|
INSERT INTO TEXT_TBL VALUES ('hi de ho neighbor');
|
|
|
|
|
|
|
|
SELECT '' AS two, * FROM TEXT_TBL;
|
1997-04-05 13:26:55 +02:00
|
|
|
|