Re: Zero length delimited identifier

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Tom Haddon <tom(at)betterhealthfoundation(dot)org>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Zero length delimited identifier
Date: 2003-05-05 17:37:41
Message-ID: 20030505103640.P87200-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott W. Hill 2003-05-05 19:52:52 Importing Data into an Old Version of Postgres
Previous Message Tom Haddon 2003-05-05 17:05:41 Zero length delimited identifier