Skip to content
Advertisement

creating a stored procedure based on view with parameter in MYSQL

Im getting a syntax error 1064 in mysqlworkbench for the stored procedure im trying to create. the stored procedure is based on a view i created.

this is my view based on dataset(https://www.kaggle.com/gregorut/videogamesales) :

and this is the stored procedure based on View with one parameter:

I did the stored procedure based on the example shown in https://www.w3schools.com/sql/sql_stored_procedures.asp

Advertisement

Answer

Your code is for sql server , which doesn’t work in mysql

It must be

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement