Skip to content
Advertisement

Create stored procedure from set of SQL – Oracle

I have a set of SQL like and I would like to convert it to function or a stored procedure in an automated way:

Is there any easy way of creating a stored procedure or function using this?

Advertisement

Answer

You can just enclose this code between procedure definition

example

you can run this procedure by calling it :

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