Quoting for a Select Into - Please Help

From: A E <cooljoint(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Quoting for a Select Into - Please Help
Date: 2004-01-14 17:09:19
Message-ID: 20040114170919.34287.qmail@web12102.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2004-01-14 17:12:23 Re: How are NULLS stored on disk for PG 7.4?
Previous Message Richard Huxton 2004-01-14 17:03:51 Re: Collate is not supported for 7.4