X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 10D3E9DC808; Mon, 16 Jan 2006 05:51:38 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 07605-05; Mon, 16 Jan 2006 05:51:38 -0400 (AST) X-Greylist: delayed 01:14:32.760918 by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from gatekeeper.yes2etl.com (unknown [202.88.133.198]) by postgresql.org (Postfix) with ESMTP id 6F3619DC83A; Mon, 16 Jan 2006 05:51:33 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by gatekeeper.yes2etl.com (8.12.10/8.12.10) with ESMTP id k0HDWBb3016076; Tue, 17 Jan 2006 19:02:11 +0530 Received: from gatekeeper.yes2etl.com ([127.0.0.1]) by localhost (gatekeeper [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15801-06; Tue, 17 Jan 2006 19:02:11 +0530 (IST) Received: from mtracks.yes2etl.com (mtracks.yes2etl.com [10.1.2.53]) by gatekeeper.yes2etl.com (8.12.10/8.12.10) with ESMTP id k0HDW8ML016072; Tue, 17 Jan 2006 19:02:08 +0530 Received: from localhost (localhost [127.0.0.1]) by mtracks.yes2etl.com (8.12.10/8.12.10) with ESMTP id k0G9sxP2011077; Mon, 16 Jan 2006 15:24:59 +0530 Received: from mtracks.yes2etl.com ([127.0.0.1]) by localhost (mtracks [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06678-05; Mon, 16 Jan 2006 15:24:59 +0530 (IST) Received: from encoder (pc-21.yes2etl.com [10.1.2.21]) by mtracks.yes2etl.com (8.12.10/8.12.10) with SMTP id k0G9svEh011065; Mon, 16 Jan 2006 15:24:58 +0530 Message-ID: <000b01c61a81$fd2a77c0$1502010a@aarnbee.com> From: "Minal A. Aryamane" To: "Ludek Finstrle" Cc: , References: <00ea01c61a77$92617a10$1502010a@aarnbee.com> <20060116085444.GA16920@soptik.pzkagis.cz> Subject: Re: [ODBC] Stored Procedures Date: Mon, 16 Jan 2006 15:18:22 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by amavisd-new at @@NET_SUBDOMAIN@@.yes2etl.com X-Virus-Scanned: by amavisd-new at @@NET_SUBDOMAIN@@.@@NET_DOMAIN@@ X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.68 required=5 tests=[AWL=0.680] X-Spam-Score: 0.68 X-Spam-Level: X-Archive-Number: 200601/67 X-Sequence-Number: 14518 I dont knoiw if I have got the right mailing list, I thought some one will be able to help me in this regard.. ----- Original Message ----- From: "Ludek Finstrle" To: "Minal A. Aryamane" Cc: ; Sent: Monday, January 16, 2006 2:24 PM Subject: Re: [ODBC] Stored Procedures > Mon, Jan 16, 2006 at 02:03:48PM +0530, Minal A. Aryamane napsal(a): > > I am trying to pass values through a jsp page wherein I am accessing > > this stored procedures by the following select ststemet > > ... > > > when I run it I get the following error: > > ERROR: syntax error at or near "$1" at character 6 > > CONTEXT: PL/pgSQL function "sp_build_course" line 45 at SQL statement. > > > > Can someone please look into the procedure and tell me where I have > > gone wrong. > > Are you sure you choose the right pgsql lists? > Does it work from psql command line client? If not it isn't odbc or jdbc > related. > > Regards, > > Luf