Re: postgre variable - Mailing list pgsql-sql

From Richard Huxton
Subject Re: postgre variable
Date
Msg-id 428C3871.8020201@archonet.com
Whole thread Raw
In response to postgre variable  (bandeng <postgredb@gmail.com>)
List pgsql-sql
bandeng wrote:
> 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

You have tried what? How? What error did you get?

--   Richard Huxton  Archonet Ltd


pgsql-sql by date:

Previous
From: bandeng
Date:
Subject: postgre variable
Next
From: Volkan YAZICI
Date:
Subject: Re: postgre variable