This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Stored procedure in mysql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Stored procedure in mysql" Watch "Stored procedure in mysql" New topic
Author

Stored procedure in mysql

Kunal Lakhani
Ranch Hand

Joined: Jun 05, 2010
Posts: 622
I am a beginner in mysql stored procedure

What is wrong with this mysql stored procedure?



Mysql console gives me following error

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'SELEC
T POLICYNUMBER FROM MEMBERPLACEMENT WHERE INTRODUCERPOLICYNUMBER = b AND PL'

kunal
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Stored procedure in mysql
 
Similar Threads
how to create MySql stored procedure?
How to call Stored Procedure using jdbcTemplate and store result in object DTO/String/List/Result se
MySQL - Returning Tables in Functions/SPs/Views
mysql cursor in stored procedure
Calling a MySQL stored procedure from a web service....