From: bandeng <postgredb@gmail.com>
To: pgsql-sql@postgresql.org
Subject: postgre variable
Date: Thu, 19 May 2005 10:11:13 +0800
Message-ID: <3817e22905051819111a04c2fe@mail.gmail.com> (raw)
hello all,
i want to make dynamic sql query like this
select * from tb_cust where name='erick' and age='20'
to
select * from tb_cust $1
i have tried but error comeup
any suggestion?
thanks
Ricky
--
Gutten Aben Sugeng Sonten, Jangane Kurang Santen
bandeng....................
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: postgredb@gmail.com
Subject: Re: postgre variable
In-Reply-To: <3817e22905051819111a04c2fe@mail.gmail.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