Subject | Re: Re[2]: [Firebird-Architect] RFC: Please unify stored procedure execution |
---|---|
Author | Martijn Tonies |
Post date | 2004-12-21T13:27:26Z |
Vlad,
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server
Upscene Productions
http://www.upscene.com
> > Because there's no way to KNOW if a procedure is select-able. Is it?This isn't true!
>
> There is way - existence of outputs.
> > As far as I can tell, a procedure without "suspend" never returnsvalues.
> > So using "select" when there are output parameters is not sufficient.JDBC\ADO\OLEDB\etc
>
> This is IB\FB feature. Other servers has its own features.
>
> > Using EXEC that would return a resultset (if available) would be very
> > easy to use... IMO of course.
>
> What if resultset is not availaible ?
>
> Roman propose always return resultset, even if SP has no SUSPEND.
> But this can break existing applications. Therefore there are another
> proposition -
> use new special syntax for such call's. Ok... what else from
> don't fit in FB's SQL dialect ? Will we make new syntax for every newclient
> accessdocumented
> layer ?
>
> If JDBC will follow simple rule about how to call our SP's and
> it i see no problem, sorry.Read the other messages again.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server
Upscene Productions
http://www.upscene.com