pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: A E <cooljoint@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: REPOST[GENERAL] Quoting for a Select Into - Please Help
Date: Wed, 14 Jan 2004 14:47:53 -0800 (PST)
Message-ID: <20040114224753.1013.qmail@web12107.mail.yahoo.com> (raw)

Hi,
 
Could someone help me with quoting this right?
 
select into aliasvalue ''|| trim(arrayval[i]) ||''  from ''|| trim(realname) ||'' where ''|| trim(searchfield) ||'' like ''''%''|| trim(searchvalue) ||''%''''; 
 
The parser does not seem to want to put the value of the variables into the statement.
 
Alex

view thread (2+ messages)  latest in thread

Message-ID: <20040114224753.1013.qmail@web12107.mail.yahoo.com>
Permalink:  ../20040114224753.1013.qmail@web12107.mail.yahoo.com/
Also on:    postgresql.org/message-id/20040114224753.1013.qmail@web12107.mail.yahoo.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: cooljoint@yahoo.com
  Subject: Re: REPOST[GENERAL] Quoting for a Select Into - Please Help
  In-Reply-To: <20040114224753.1013.qmail@web12107.mail.yahoo.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