pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: bandeng <postgredb@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: postgre variable
Date: Thu, 19 May 2005 07:55:45 +0100
Message-ID: <428C3871.8020201@archonet.com> (raw)
In-Reply-To: <3817e22905051819111a04c2fe@mail.gmail.com>
References: <3817e22905051819111a04c2fe@mail.gmail.com>

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



view thread (4+ messages)  latest in thread

Message-ID: <428C3871.8020201@archonet.com>
Permalink:  ../428C3871.8020201@archonet.com/
Also on:    postgresql.org/message-id/428C3871.8020201@archonet.com

 · 

reply

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: dev@archonet.com, postgredb@gmail.com
  Subject: Re: postgre variable
  In-Reply-To: <428C3871.8020201@archonet.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