Open main menu

CDOT Wiki β

Changes

PostgreSQL Adapter Project - Resources

170 bytes added, 11:37, 6 December 2010
PostgreSQL Specifications
INSERT INTO mytable (testcol)
VALUES (decode('013d7d16d7ad4fefb61bd95b765c8ceb', 'hex'))
 
SELECT ENCODE(testcol, 'hex') FROM mytable; // prints: 013d7d16d7ad4fefb61bd95b765c8ceb
SELECT testcol FROM mytable; // prints: \x013d7d16d7ad4fefb61bd95b765c8ceb
</source>
1
edit