Stored Procedures?

[expired user #1332]'s profile image [expired user #1332] posted 17 years ago in General Permalink
Can HeidiSQL be used to work with stored procedures?
[expired user #2033]'s profile image [expired user #2033] posted 17 years ago Permalink
I know this is prolly an anoying question that is why I did not start a new threadsmile

Are there any plans for introducing stored proceedures? I love this MySQL GUI and as we use proceedures in a lot of our development I would love to see this in HeidiSQL.

Anyway .. just some user encouragement :)
[expired user #2044]'s profile image [expired user #2044] posted 17 years ago Permalink
I will third that request.............. :shock:
[expired user #2286]'s profile image [expired user #2286] posted 17 years ago Permalink
I use mysql.proc table for add/delete or update stored procedures or functions. :wink:
[expired user #2504]'s profile image [expired user #2504] posted 17 years ago Permalink
So if I can
[expired user #1125]'s profile image [expired user #1125] posted 17 years ago Permalink
Running stored procedures should work in the newest version (at some point the Zeos library was preventing it, now worked around).

In order to be able to actually create stored procedures, the HeidiSQL code needs an update to handle a client-side statement separator different from ';'. An easy hack is to replace ';' with something else, like '^' in helpers.pas / parsesql() [line 331-454, see link below], or even make it customizable via an input field or dropdown above the query area.
http://svn.sourceforge.net/viewvc/heidisql/helpers.pas?annotate=588

But really, the code should be updated to also handle two-character separators, since '//' is what most people use, AFAIR. That's slightly more complicated since the parsesql() algorithm needs an update, and noone's had the time to do that yet.
[expired user #2470]'s profile image [expired user #2470] posted 17 years ago Permalink
Has that been fixed? MySQL Browser (Yeach surprised) works fine when calling the procedures.
ansgar's profile image ansgar posted 17 years ago Permalink
Yup. See r674
ansgar's profile image ansgar posted 15 years ago Permalink
See the recently implemented routine editor in action: http://www.heidisql.com/forum/viewtopic.php?p=3094#3094

Please login to leave a reply, or register at first.