MySQL Forums
Forum List  »  Stored Procedures

Re: stored procedure
Posted by: Rick James
Date: June 24, 2012 02:06PM

> After I create a stored procedure in notepad, oin which folder do I save it ?
You don't.
When you do CREATE STORED PROCEDURE ..., that puts the proc in a special place inside mysql, namely the "proc" table inside the "msyql" database (mysql.proc).

If you are having trouble with the CREATE statement, remember to use DELIMITER.

Better yet, do not use STORED PROCEDUREs, FUNCTIONs, TRIGGERs, EVENTs, etc, until you are fluent in the basic commands (CREATE TABLE, INSERT, SELECT, etc).

Options: ReplyQuote


Subject
Views
Written By
Posted
2429
June 15, 2012 05:09PM
1011
June 15, 2012 09:34PM
1012
June 23, 2012 01:00PM
1027
June 23, 2012 08:10PM
Re: stored procedure
1161
June 24, 2012 02:06PM
1198
June 29, 2012 06:14AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.