Re: suggestions for tracking down syntax errors?

From: Francois Suter <francois(at)monpetitcoin(dot)com>
To: Terrence Brannon <metaperl(at)urth(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: suggestions for tracking down syntax errors?
Date: 2003-10-09 12:29:48
Message-ID: 45825990-FA54-11D7-BEB5-000393427520@monpetitcoin.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> CREATE TABLE country (
> country_id VARCHAR(3) PRIMARY KEY,
>
> country VARCHAR(80),
> );

You have a trailing comma after VARCHAR(80) just before the closing
bracket.

As for suggestions, you could try to collapse your whole file into a
single line and check it out in a text editor by going to column number
91.

HTH

---------------
Francois

Home page: http://www.monpetitcoin.com/

"Would Descartes have programmed in Pascal?" - Umberto Eco

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Terrence Brannon 2003-10-09 12:50:48 relation vs table...
Previous Message Terrence Brannon 2003-10-09 12:15:04 suggestions for tracking down syntax errors?