Re: Create table syntax

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: satish rao <csr_del(at)rediffmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Create table syntax
Date: 2001-08-30 17:42:59
Message-ID: Pine.BSF.4.21.0108301041470.53788-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 28 Aug 2001, satish rao wrote:

> Entered below is the SQL create table syntax:
>
> CREATE TABLE lists (
> [listid] [int] IDENTITY (1, 1) NOT NULL ,
> [listname] [varchar] (200) NULL ,
> [listcreator] [varchar] (200) NULL ,
> [listdesc] [text] NULL)

create table lists (
listid serial not null,
listname varchar(200),
listcreator varchar(200),
listdesc text);

(You may want to make listid a primary key as well)

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Arne Weiner 2001-08-30 17:46:50 Re: Help On Postgresql
Previous Message Arne Weiner 2001-08-30 17:39:54 Re: Create table syntax