开发者

Invoking and executing stored procedure

开发者 https://www.devze.com 2022-12-17 18:41 出处:网络
In MySQL I have a table with name, address, 开发者_Go百科telephone, age and charge column. Assume I have written a stored procedure called

In MySQL I have a table with name, address, 开发者_Go百科telephone, age and charge column.

Assume I have written a stored procedure called calculate_monthly_charges. This stored procedure takes no parameters.

How can I write a corresponding code for invoking and executing the stored procedure?


Take a look at the MySQL documentation Connector/J: Calling Stored Procedures.

0

精彩评论

暂无评论...
验证码 换一张
取 消