Re: Stored procedures from MS Query

From: Shridhar Daithankar <shridhar_daithankar(at)myrealbox(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Stored procedures from MS Query
Date: 2003-10-28 10:44:45
Message-ID: 200310281614.45263.shridhar_daithankar@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday 28 October 2003 16:06, Tomas Larsson wrote:
> Hi!
>
> We're trying to call a set-returning stored procedure
> from Excel (MS Query). To do this we type:
>
> select * from getStudents()
>
> (where getStudents() is the stored procedure).
> The problem is that MS Query interprets this as if
> getStudents was a table, and complains that there is
> no table called getStudents(). How do we get around
> this?

Create a dummy table and a rule that calls this function instead of actually
selecting the from the table.

HTH

Shridhar

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tomas Larsson 2003-10-28 11:23:15 Re: Stored procedures from MS Query
Previous Message Tomas Larsson 2003-10-28 10:36:53 Stored procedures from MS Query