Re: Uppercase field names not found

From: David Stanaway <david(at)stanaway(dot)net>
To: PGSQL Administration <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Uppercase field names not found
Date: 2002-06-18 21:47:57
Message-ID: 1024436877.9395.42.camel@ciderbox
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, 2002-06-18 at 16:58, Digital Wokan wrote:
> So I suppose since he's referring to a field, to pull it in all
> uppercase, he'd use...
> SELECT "ABC" from mytable;
> Am I correct?

Yes. Same with functions too I guess. Sequences were tricky,
I think.. you needed: currval('"mytable_ABC_seq"')

I avoid non-lower case names personally. It is not very portable to rely
on that in your application and will be confusing if anyone else messes
with your code.

--
David Stanaway

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Digital Wokan 2002-06-18 21:58:50 Re: Uppercase field names not found
Previous Message Brian McCane 2002-06-18 20:38:36 Re: Removing records that violate foreign key