From: Andrew J. Kopciuch <akopciuch@bddf.ca>
To: yanping huang <yanping@altimate.ca>
To: pgsql-php@postgresql.org
Subject: Re: help
Date: Thu, 3 Jul 2003 12:51:21 -0600
Message-ID: <200307031251.21706.akopciuch@bddf.ca> (raw)
In-Reply-To: <20030702205111.8629ABF741@email.altimate.ca>
References: <20030702205111.8629ABF741@email.altimate.ca>
> How can I put a '^' befor a variable of VARCHAR type in a function?
>
Is this what you are looking for ... the concatentation operator?
select '^' || 'sometext'::varchar;
If you are asking about doing that in the function call :
select myfunction( '^' || var);
Andy
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-php@postgresql.org
Cc: akopciuch@bddf.ca, yanping@altimate.ca
Subject: Re: help
In-Reply-To: <200307031251.21706.akopciuch@bddf.ca>
References: <20030702205111.8629ABF741@email.altimate.ca> <200307031251.21706.akopciuch@bddf.ca>
* 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