Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

In response to

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group