synapsevampire
Programmer
I've done this numerous times with SQL Server, and now want to create a script to generate a View for every table because I don't want developers using tables directly due to the volume of changes occuring in the database design.
The script should generate the Views using column names, as in:
Create or Replace View <table.name>
as
select col1, col2 col3 from <table.name
Everything should be read from the object repository, so the SQL will by dynamic and I suspect involve a cursor.
Thanks for your time.
-k
The script should generate the Views using column names, as in:
Create or Replace View <table.name>
as
select col1, col2 col3 from <table.name
Everything should be read from the object repository, so the SQL will by dynamic and I suspect involve a cursor.
Thanks for your time.
-k