From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Tom Haddon <tom@betterhealthfoundation.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: Zero length delimited identifier
Date: Mon, 5 May 2003 10:37:41 -0700 (PDT)
Message-ID: <20030505103640.P87200-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <1052154341.7131.27.camel@penny.betterhealthfoundation.net>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: sszabo@megazone23.bigpanda.com, tom@betterhealthfoundation.org
Subject: Re: Zero length delimited identifier
In-Reply-To: <20030505103640.P87200-100000@megazone23.bigpanda.com>
References: <1052154341.7131.27.camel@penny.betterhealthfoundation.net> <20030505103640.P87200-100000@megazone23.bigpanda.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox