I have a table called employee, which has its identifier, name, phone number. I use MySQL as my database. For this I use Java Swing. I am looking for a staff table with a name now using Java (I used the like
clause on my Java page).
Now I need to implement this function in stored procedures. Is it possible? And how can we take this result set in Java code, if possible?
Now I wrote my stored procedure as follows
BEGIN SELECT * FROM employee where empName like '%su%' END
Sample code will be appreciated. Thanks
source share