开发者

Create Mysql Stored Procedure using in vb .NET

开发者 https://www.devze.com 2022-12-18 14:56 出处:网络
How do I create a stored procedure for mysql using VB .NET programmatically? EDIT: Apologize to be so brief. I have tried using ExecuteNonQuery provided by MySQL .NET Connector. It prompts me error

How do I create a stored procedure for mysql using VB .NET programmatically?

EDIT:

Apologize to be so brief. I have tried using ExecuteNonQuery provided by MySQL .NET Connector. It prompts me error. Maybe it's because I put "Delimiter $$"?

I know I can create using script (batch file) if I want to send it to my client (as commented below). But my objective is to keep MySQL password safe. So script开发者_如何学C is not the way.


  1. Connect to the database.
  2. Run the create procedure SQL command using ExecuteNonQuery
0

精彩评论

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