Skip site navigation (1) Skip section navigation (2)

Re: Question about stored procedures

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Question about stored procedures
Date: 2006-06-12 12:37:31
Message-ID: 20060612123731.GI30300@webserv.wug-glas.de (view raw or flat)
Thread:
Lists: pgsql-novice
am  12.06.2006, um  6:23:48 -0600 mailte Michael Fuhr folgendes:
> On Mon, Jun 12, 2006 at 11:15:28AM +0200, A. Kretschmer wrote:
> > am  12.06.2006, um 10:58:04 +0200 mailte Greg folgendes:
> > > i.e I would like the query to be "select name, email from users where userid
> > > = @userid"
> > 
> > If you want to execute dynamic querys, read
> > 
> > http://www.postgresql.org/docs/8.1/interactive/plpgsql-statements.html#PLPGSQL-STATEMENTS-EXECUTING-DYN
> 
> The above query doesn't need to be dynamic if @userid is the only
> part that varies.  Dynamic queries are appropriate when you want

Uhm, yes.


Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47215,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 

In response to

pgsql-novice by date

Next:From: Verena RuffDate: 2006-06-12 13:04:46
Subject: Transactions and unique constraint
Previous:From: Michael FuhrDate: 2006-06-12 12:23:48
Subject: Re: Question about stored procedures

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group