| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Table of dynamic SQL queries
"stu" <smcgouga_at_nospam.co.uk> wrote in message
news:b2fubq$99r$1$8300dec7_at_news.demon.co.uk...
> Has anybody ever used/thought about a table of sql statements?
> create table SQL(Title varchar * 20, SQLText Memo)
>
> Where you can store dynamic sql to be executed at runtime. This structure
> could prove very flexible. You could also implement custom searches/reports
> for users in jig time!
Er isn't that what VIEWs are?
db2 select substr(TEXT,1,60) from syscat.views fetch first 5 rows only
1
CREATE VIEW SYSIBM.CHECK_CONSTRAINTS (CONSTRAINT_CATALOG, CO CREATE VIEW SYSIBM.COLUMNS ( TABLE_CATALOG, TABLE_SCHE CREATE VIEW SYSIBM.COLUMNS_S ( TABLE_CATALOG , TABLE_ CREATE VIEW SYSIBM.REFERENTIAL_CONSTRAINTS ( CONSTRAINT_ CREATE VIEW SYSIBM.REF_CONSTRAINTS ( CONSTRAINT_CATALOG
5 record(s) selected.
Regards
Paul Vernon
Business Intelligence, IBM Global Services
Received on Thu Feb 13 2003 - 05:53:30 CST
![]() |
![]() |