Hello everyone, there is such a task: create stored procedures on SELECT, INSERT / UPDATE and DELETE. There is a table (my_table) for these procedures with two columns ID and NAME. I can not understand how to request
select * from my_table; turn into a stored procedure. Only came to mind:
CREATE PROCEDURE sel () begin select * from my_table; end // Please tell me what is wrong, and where to read about it? I will need these procedures in the server application (in java) that will call them. Do I need to foresee something in them, or are they simply called by name?