REPOST[GENERAL] Quoting for a Select Into - Please Help - Mailing list pgsql-sql

From A E
Subject REPOST[GENERAL] Quoting for a Select Into - Please Help
Date
Msg-id 20040114224753.1013.qmail@web12107.mail.yahoo.com
Whole thread Raw
Responses Re: REPOST[GENERAL] Quoting for a Select Into - Please Help
List pgsql-sql
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

pgsql-sql by date:

Previous
From: "Luis C. Ferreira (aka lcf)"
Date:
Subject: Re: Transpose rows to columns
Next
From: Jeffrey Tenny
Date:
Subject: Atomic query and update of sequence generators