Re: what is wrong with this SQL? - Mailing list pgsql-general

From Vladimir Konrad
Subject Re: what is wrong with this SQL?
Date
Msg-id 9ods77$smm$1@news.tht.net
Whole thread Raw
In response to what is wrong with this SQL?  (kornale@zdnetmail.com (Alex K.))
List pgsql-general
USR_LOGIN_USER_ID varchar2(16) ,
USR_PASSWORD varchar2(16) ,

There is not varchar2 type!

regards...

Alex K. <kornale@zdnetmail.com> wrote in message
news:99fb7937.0109201418.7ff032a2@posting.google.com...
> 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?



pgsql-general by date:

Previous
From: "Mihai Gheorghiu"
Date:
Subject: Successful EXECUTE
Next
From: Keary Suska
Date:
Subject: Re: Quoting '?' placeholder in Perl's DBD::Pg?