Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fAJLGvm86466 for ; Mon, 19 Nov 2001 16:16:57 -0500 (EST) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.7) with HTTP id 509406; Mon, 19 Nov 2001 13:16:56 -0800 From: "Josh Berkus" Subject: Re: why does this query does not work?????? To: satya pariki Cc: pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.7 Date: Mon, 19 Nov 2001 13:16:56 -0800 Message-ID: In-Reply-To: <20011115161805.56523.qmail@web21102.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200111/273 X-Sequence-Number: 5655 Satya, > are there any substitution variables in postgresql ? > > select * from EMP where EMPNO = &empnum; No. If you need to use variables, write a PL/pgSQL function or do the substitution in your middleware/client language. -Josh ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco