X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B85D4476376 for ; Mon, 5 May 2003 13:37:46 -0400 (EDT) Received: from megazone.bigpanda.com (megazone.bigpanda.com [63.150.15.178]) by postgresql.org (Postfix) with ESMTP id C9331475EEE for ; Mon, 5 May 2003 13:37:41 -0400 (EDT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 88B10D610; Mon, 5 May 2003 10:37:41 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 7E6B35C0B; Mon, 5 May 2003 10:37:41 -0700 (PDT) Date: Mon, 5 May 2003 10:37:41 -0700 (PDT) From: Stephan Szabo To: Tom Haddon Cc: Subject: Re: Zero length delimited identifier In-Reply-To: <1052154341.7131.27.camel@penny.betterhealthfoundation.net> Message-ID: <20030505103640.P87200-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-22.9 required=5.0 tests=BAYES_10,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES,WEIRD_QUOTING autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/49 X-Sequence-Number: 8611 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.