From: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
---|---|
To: | "Alex K(dot)" <kornale(at)zdnetmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: what is wrong with this SQL? |
Date: | 2001-09-27 18:10:21 |
Message-ID: | Pine.BSF.4.21.0109271108570.21569-100000@megazone23.bigpanda.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 20 Sep 2001, Alex K. wrote:
> create table USERS (
> ID decimal(19) CONSTRAINT primary_usr_oid PRIMARY KEY,
> WRITE_COUNT decimal(19) NOT NULL,
> CLASS decimal(10) NOT NULL,
> STATUS decimal(3) NOT NULL,
> USR_LOGIN_USER_ID varchar2(16) ,
> USR_PASSWORD varchar2(16) ,
> USR_PERSON_FIRST_NAME varchar(32) ,
> USR_PERSON_MIDDLE_NAME varchar(32) ,
> USR_PERSON_LAST_NAME varchar(32) ,
> USR_PERSON_SALUTATION varchar(32) ,
> USR_PERSON_SUFFIX varchar(32)
> );
>
> when i am in psql and i do: \i createUsersTable.sql i get this error:
> psql:createUsersTable.sql:13: ERROR: parser: parse error at or near "("
>
> What is this?
What is varchar2? It's probably complaining that it has a type that
isn't there followed by a () size spec and gets confused at that point.
From | Date | Subject | |
---|---|---|---|
Next Message | Mihai Gheorghiu | 2001-09-27 18:19:37 | Successful EXECUTE |
Previous Message | Steve Wolfe | 2001-09-27 18:08:35 | Re: How to make a REALLY FAST db server? |