From: | "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com> |
---|---|
To: | Satyajit <satyajitdas(at)infotech(dot)stph(dot)net> |
Cc: | <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: Sql Types Supported |
Date: | 2003-07-21 16:20:01 |
Message-ID: | Pine.LNX.4.33.0307211017570.15882-100000@css120.ihs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
On Mon, 14 Jul 2003, Satyajit wrote:
> HI!
> We are using PostGre sql driver. Can any body please tell what are all
> the SQL Types(BIT, TINYINT, SMALLINT, INTEGER, BIGINT, FLOAT, REAL,
> DOUBLE, NUMERIC, DECIMAL, CHAR, VARCHAR, LONGVARCHAR, DATE, TIME,
> TIMESTAMP, BINARY, VARBINARY, LONGVARBINARY, NULL, OTHER, JAVA_OBJECT,
> DISTINCT, STRUCT, ARRAY, BLOB, CLOB, REF, DATALINK, BOOLEAN) are
> currently supported.
SQL 92 defines the following types:
CHARACTER, CHARACTER VARYING, BIT, BIT VARYING, NUMERIC, DECIMAL, INTEGER,
SMALLINT, FLOAT, REAL, DOUBLE PRECISION, DATE, TIME, TIMESTAMP, and
INTERVAL
As far as I know, postgresql supports all those types. If you've gotten
used to using things like TINYINT, I'd recommend avoiding them unless you
REALLY need them, as they are fairly non-standard.
From | Date | Subject | |
---|---|---|---|
Next Message | Dmitry Tkach | 2003-07-21 16:29:12 | Re: Prepared Statements |
Previous Message | Oliver Jowett | 2003-07-21 16:14:06 | Re: IN clauses via setObject(Collection) [Was: Re: Prepared Statements] |