Re: Using double quotes in create table statement!

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Israel Calderon <icalderus(at)hotmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Using double quotes in create table statement!
Date: 2003-05-06 17:38:04
Message-ID: 20030506173804.GC21510@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Tue, May 06, 2003 at 12:38:59 -0400,
Israel Calderon <icalderus(at)hotmail(dot)com> wrote:
>
> Hello I am currently analyzing a db schema and ran across something which I
> am not familiar with. The table name within the create statement is
> enclosed within double quotes as well as a column within the table. Heres
> the format:
>
> CREATE TABLE "xyz"(
> act_act character varying (40),
> "action" character varying (30),
> st_id uniqueidentifier DEFAULT newid() NOT NULL
> );
>
>
> The "xyz" and "action" portions of this create statement I do not
> understand. Can anyone elaborate on this? Much appreciated!

Quotes allow you to preserve case in the name, use some special charcters
that you couldn't use without quoting or use reserved words for the names.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message radha.manohar 2003-05-06 21:33:47 Re: Junk Filters
Previous Message Juliet May 2003-05-06 16:49:30 accessing bitmap stored in an ole object