If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Create Stored Procedures From DB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-05-11, 14:52
pinkfloyd43 pinkfloyd43 is offline
Registered User
 
Join Date: Dec 2010
Posts: 39
Create Stored Procedures From DB

Since coming from the MSSQL world I would typically always start a project by creating stored procedures for selected tables (CRUD Stuff) and then fine tune them. There would be a GUI to select the tables and bang a stored procedure would be created for you.

I have literally 50+ to do in the new project using MYSQL and have not found a tool to do so?

Although I am loving MySQL as it's fast, easy to maintain and not such a PIA (Pain In Ass) as something MSSQL could be the tons of little tools like this is making it harder to get married to MYSQL, still dating now!

Thanks
Jim
Reply With Quote
  #2 (permalink)  
Old 03-06-11, 05:49
it-iss.com it-iss.com is offline
Registered User
 
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 623
Hi Jim,

I developed a PHP script that does this. Unfortunately it has to be run from the command line. This does not create the tables but reverse engineers the procedures for you based on the primary key of the tables that you have already created in the database.

phpCrud for MySQL « IT Integrated Business Solutions
__________________
Ronan Cashell
Senior Oracle/MySQL DBA
http://www.it-iss.com
Reply With Quote
Reply

Tags
create storedprocedures

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On