Re: Zero length delimited identifier - Mailing list pgsql-admin

From Stephan Szabo
Subject Re: Zero length delimited identifier
Date
Msg-id 20030505103640.P87200-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Zero length delimited identifier  (Tom Haddon <tom@betterhealthfoundation.org>)
List pgsql-admin
On 5 May 2003, Tom Haddon wrote:

> Hi,
>
> I'm wondering if someone can help me out with an error message that I'm
> not sure how to decipher/avoid:
>
> The sql is:
>
> INSERT INTO agency_contact_info (organization, department, address,
> address2, address3, city, state, zip, contact_prefix, contact_first,
> contact_last, salutation, contact_title, telephone, fax, hotline,
> email, internet, record_state, guideregion)  VALUES ("Breast Cancer
> Advocate","","421 Woodbine
> Lane","","","Danville","CA","94526","Ms.","Jane","Parish","Ms.
> Parish","","","(925) 820-2880","","","","i",8);

You want single quotes not double quotes around strings, double quotes
make delimited identifiers, and "" isn't a meaningful identifier.


pgsql-admin by date:

Previous
From: Tom Haddon
Date:
Subject: Zero length delimited identifier
Next
From: "Scott W. Hill"
Date:
Subject: Importing Data into an Old Version of Postgres