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@mysql\protocol\commands.d(721): MySQL error: PROCEDURE mydb.myProcedure can't return a result set in the given context

Thanks.

Frank

Reply via email to