Subject | Re: [firebird-support] Some questions |
---|---|
Author | Martijn Tonies |
Post date | 2004-09-27T15:23:40Z |
Hi,
myoutparam = gen_id(mygenerator, 1);
insert into mytable ... values (:myoutputparam, all other input parameters);
versions?
You can do multiple selects - if you're asking for multiple (different)
resultsets to be returned from a procedure, then no, this cannot be done.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> Hi, Im new in Firebird programming. I come from SQLServer2000.moment.
> I like Firebir so much is more flexible, but I have some questions at this
>procedure to a return parameter.
> 1. How can I set the new value of an generator in an insert store
myoutparam = gen_id(mygenerator, 1);
insert into mytable ... values (:myoutputparam, all other input parameters);
> 2. What about multiple querry select statements y an store procedure.Looks like this feature not exists in firebird, wiil it be in future
versions?
You can do multiple selects - if you're asking for multiple (different)
resultsets to be returned from a procedure, then no, this cannot be done.
> Whit this feature a populate a .Net Dataset whith master a details tableswhit one store procedure in sql server.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com