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

Problems with create table continued...

From: "Seth Banks" <seth(at)subimage(dot)com>
To: <pgsql-sql(at)postgreSQL(dot)org>
Subject: Problems with create table continued...
Date: 2000-02-28 03:35:13
Message-ID: NOEPJACOBMIOEOLHKIODGEGDCBAA.seth@subimage.com (view raw or flat)
Thread:
Lists: pgsql-sql
Anyone see a problem with this code?!

CREATE TABLE content (
  content_id  serial,
  parent_id   int4 NOT NULL,
  parent_type int4 NOT NULL,
  author_id   int4 NOT NULL,
  title       text NOT NULL,
  url         text NULL,
  start_date  date NOT NULL,
  end_date    date NOT NULL,
  priority    int4 NULL,
  content     text NULL,
  source      text NOT NULL
);
ERROR:  parser: parse error at or near "null"

Responses

pgsql-sql by date

Next:From: Vikrant RathoreDate: 2000-02-28 03:49:39
Subject: SQL query problem
Previous:From: Bruce MomjianDate: 2000-02-28 02:19:25
Subject: Re: [SQL] 7.0beta1?

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