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 > How to use Stored Procedure in MYSQL 5.0?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-30-03, 04:49
chintatlim chintatlim is offline
Registered User
 
Join Date: Dec 2003
Location: MALAYSIA, KUALA LUMPUR
Posts: 4
Lightbulb How to use Stored Procedure in MYSQL 5.0?

How to use Stored Procedure in MYSQL 5.0?

Please tell me Stored Procedure syntax in mysql 5.0 Pre-Alpha.

I only know a example:

Create Procedure ABC(IN IntValue INTEGER, OUT FloatValue DOUBLE)
SELECT IntValue * 3.2 INTO FloatValue;

Set @a = 2;
Set @b = 0;
Call ABC(@a, @b);

Select @b;

---------------
So, how to return multi row result??

thanks.
Reply With Quote
  #2 (permalink)  
Old 01-05-04, 21:29
chintatlim chintatlim is offline
Registered User
 
Join Date: Dec 2003
Location: MALAYSIA, KUALA LUMPUR
Posts: 4
Talking Stored Procedure Documentation In www.mysql.com

MYSQL Documentation already added Stored Procedure.

You can download latest doc now.
Reply With Quote
Reply

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