Database of practicality will be an important factor for development of D language in the future
FrankLike via Digitalmars-d
digitalmars-d at puremagic.com
Mon Feb 6 04:30:11 PST 2017
On Thursday, 2 February 2017 at 12:50:02 UTC, Adam D. Ruppe wrote:
> On Thursday, 2 February 2017 at 05:33:57 UTC, FrankLike wrote:
>> For example, I want to do the execution of stored procedure
>> for MSSql、MySQL database. I found in Mysql-d, Mysql-Native,
>> arsd, DDBC, etc. there is no result.
>
> db.query("CALL my_procedure(args...)");
>
> Should work with any libraries. Stored procedure calls are just
> another sql string.
The first,thank your arsd,it's good for mssql.
But mysqlnative.d is not good.
Please look at this:
Failed:
mysql.protocol.packets.MySQLReceivedException at mysql\protocol\commands.d(721): MySQL error: PROCEDURE mydb.myProcedure can't return a result set in the given context
Thanks.
Frank
More information about the Digitalmars-d
mailing list