Quoting for a Select Into - Please Help - Mailing list pgsql-general

From A E
Subject Quoting for a Select Into - Please Help
Date
Msg-id 20040114170919.34287.qmail@web12102.mail.yahoo.com
Whole thread Raw
List pgsql-general
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-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Collate is not supported for 7.4
Next
From: "scott.marlowe"
Date:
Subject: Re: How are NULLS stored on disk for PG 7.4?