Re: How to call a stored procedure in PostgreSQL - Mailing list pgsql-odbc

From Greg Campbell
Subject Re: How to call a stored procedure in PostgreSQL
Date
Msg-id 41F009EA.6050401@us.michelin.com
Whole thread Raw
In response to How to call a stored procedure in PostgreSQL  ("Joost Kraaijeveld" <J.Kraaijeveld@Askesis.nl>)
List pgsql-odbc
Try "SELECT procedure-name(arg1, arg2)" as if it were a SELECT or INSERT
or UPDATE statement.
For example
if I have function named calc_square(int)
I could use "SELECT calc_square(2);"


Joost Kraaijeveld wrote:

>Hi all,
>
>How do I call a stored procedure in PostgreSQL? I tried "call procedure-name (arg 1, arg2)" but that does not seem to
work...
>
>Groeten,
>
>Joost Kraaijeveld
>Askesis B.V.
>Molukkenstraat 14
>6524NB Nijmegen
>tel: 024-3888063 / 06-51855277
>fax: 024-3608416
>e-mail: J.Kraaijeveld@Askesis.nl
>web: www.askesis.nl
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>               http://archives.postgresql.org
>
>

Attachment

pgsql-odbc by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: How to call a stored procedure in PostgreSQL
Next
From: "Greg Campbell"
Date:
Subject: Re: How to call a stored procedure in PostgreSQL