Re: Quotation marks in queries - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Quotation marks in queries
Date
Msg-id 20050720151824.GA26457@svana.org
Whole thread Raw
In response to Re: Quotation marks in queries  (teknokrat <teknokrat@yahoo.com>)
Responses Re: Quotation marks in queries
List pgsql-general
On Wed, Jul 20, 2005 at 12:43:48PM +0100, teknokrat wrote:
> The problem we have is that we want to migrate to postgresql from our
> current sql server db, but the problem with caps requiring quotes around
> them makes this a far from easy migration.

The rule is pretty much, either always quote or never quote. Once you
start mixing and matching you're likely to get screwed.

So, if you don't use quotes in the CREATE TABLE statement, you'll never
have to quote anywhere else either...

Have this helps,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment

pgsql-general by date:

Previous
From: Dan Armbrust
Date:
Subject: Slow Inserts on 1 table?
Next
From: Tony Caduto
Date:
Subject: Re: Quotation marks in queries