pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Rahul k <rahul817@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: table column with special characters
Date: Fri, 2 Jul 2004 15:18:44 -0700 (PDT)
Message-ID: <20040702151706.I78595@megazone.bigpanda.com> (raw)
In-Reply-To: <20040702213138.58043.qmail@web41606.mail.yahoo.com>
References: <20040702213138.58043.qmail@web41606.mail.yahoo.com>

On Fri, 2 Jul 2004, Rahul k wrote:

> I need to query a table with column name having
> special characters ":", "@", "/", for example:
> ab:cde12n/5k@90m

You'd need to double quote the name on creation and on any usage of the
name (for example in a select list or expression) in SQL statements.




view thread (2+ messages)

Message-ID: <20040702151706.I78595@megazone.bigpanda.com>
Permalink:  ../20040702151706.I78595@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20040702151706.I78595@megazone.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: sszabo@megazone.bigpanda.com, rahul817@yahoo.com
  Subject: Re: table column with special characters
  In-Reply-To: <20040702151706.I78595@megazone.bigpanda.com>
  References: <20040702213138.58043.qmail@web41606.mail.yahoo.com> <20040702151706.I78595@megazone.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox