(crud) stored procedures generator script
Hi,
I am wondering if somebody can help me.
I need an oracle sql script that create a package with stored procedures for the basic CRUD (Create, Read, Update, Delete) operations for each table in my database.
For example:
Table EMP
When the sql script has finished then there is a package created (specification and body) with the name:
EMP_PCK (this is an example)
inside the package the implementation of the following procedures:
- EMP_PCK.emp_sel
- EMP_PCK.emp_upd
- EMP_PCK.emp_insrt
- EMP_PCK.emp_del
I did find a script but that'si for SQL-SERVER 2000 :-(
link: [http://www.sqlbook.com/scripts/AutoGenerateCRUDStoredProcs.txt]
Thanks for your help.
Regards,
John