Re: [pgsql-novice] Daily digest v1.2917 (11 messages)

From: Vibhor Kumar <vibhor(dot)kumar(at)enterprisedb(dot)com>
To: e-letter <inpost(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: [pgsql-novice] Daily digest v1.2917 (11 messages)
Date: 2011-04-23 08:57:44
Message-ID: E787ECA6-9B99-4D8A-82B2-3F12C813CE39@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


On Apr 23, 2011, at 1:10 PM, e-letter wrote:

>
> CREATE TABLE tablename (number int,timestamp,text varchar(150));
> ERROR: syntax error at or near ","
> LINE 1: CREATE TABLE tablename (number int,timestamp,text varchar(1...

You forgot to mention the columnname for timestamp:
> CREATE TABLE tablename (number int, <columnname> timestamp,text varchar(150));
Thanks & Regards,
Vibhor Kumar
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
vibhor(dot)kumar(at)enterprisedb(dot)com
Blog:http://vibhork.blogspot.com

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message e-letter 2011-04-24 20:52:32 insert retrieved data into a new table
Previous Message e-letter 2011-04-23 07:40:08 Re: [pgsql-novice] Daily digest v1.2917 (11 messages)