Skip site navigation (1) Skip section navigation (2)

Re: stupid insert error

From: "Bruno G(dot) Albuquerque" <balbuquerque(at)dba(dot)com(dot)br>
To: David Bear <David(dot)Bear(at)asu(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: stupid insert error
Date: 2005-06-24 00:46:23
Message-ID: 8750210435-BeMail@guglielmo (view raw or flat)
Thread:
Lists: pgsql-admin
Try single quotes (') instead of double-quotes (").

-Bruno

On Thu, 23 Jun 2005 17:12:03 -0700, David Bear said:

> I guess I'm too stupid to see the error, but I don't understand why
> the following fails.
> 
> 
> insert into person3 (asuid, fname, lname, addedby, addedon,
> slopbucket) values ("123455", "name", "name", "entered", "12/12/
> 2004", NULL);
> ERROR:  column "123455" does not exist
> 
> is the double quote byting me?
> -- 
> David Bear
> phone: 	480-965-8257
> fax: 	480-965-9189
> College of Public Programs/ASU
> Wilson Hall 232
> Tempe, AZ 85287-0803
>  "Beware the IP portfolio, everyone will be suspect of trespassing"
> 
> ---------------------------(end of broadcast)------------------------
> ---
> TIP 4: Don't 'kill -9' the postmaster


**********************************************************************
Informação transmitida destina-se apenas à pessoa a quem foi endereçada e pode conter informação confidencial, legalmente protegida e para conhecimento exclusivo do destinatário. Se o leitor desta advertência não for o seu destinatário, fica ciente de que sua leitura, divulgação ou cópia é estritamente proibida. Caso a mensagem tenha sido recebida por engano, favor comunicar ao remetente e apagar o texto de qualquer computador.


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information, by person or entity other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
**********************************************************************

In response to

pgsql-admin by date

Next:From: Tom LaneDate: 2005-06-24 00:48:58
Subject: Re: stupid insert error
Previous:From: Michael FuhrDate: 2005-06-24 00:41:33
Subject: Re: stupid insert error

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group