postgre variable

From: bandeng <postgredb(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: postgre variable
Date: 2005-05-19 02:11:13
Message-ID: 3817e22905051819111a04c2fe@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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....................

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2005-05-19 06:55:45 Re: postgre variable
Previous Message Sean Davis 2005-05-18 20:20:26 Re: Does Postgresql have a similar pseudo-column "ROWNUM" as