Text Size: Normal / Large
This page in other versions: 9.2 / 9.1 / 9.0 / 8.4  |  Unsupported versions: 8.3 / 8.2 / 8.1 / 8.0 / 7.4 / 7.3 / 7.2 / 7.1 / devel

56.4. Example

The following sequence of commands will create the table test_table with OID 420, having two columns cola and colb of type int4 and text, respectively, and insert two rows into the table:

create test_table 420 (cola = int4, colb = text)
open test_table
insert OID=421 ( 1 "value1" )
insert OID=422 ( 2 _null_ )
close test_table
Privacy Policy | About PostgreSQL
Copyright © 1996-2013 The PostgreSQL Global Development Group