Check view Definition/Contents:
select name, cast(statement as varchar(8000)) from SYSIBM.SYSVIEWS where name={VIEW_NAME} for read only;
DB2 Dummy table: sysibm.sysdummy1
DB2 optimize query to control result set:
- with ur for read only
- fetch first n rows only
- optimize for 1 row
select name, cast(statement as varchar(8000)) from SYSIBM.SYSVIEWS where name={VIEW_NAME} for read only;
DB2 Dummy table: sysibm.sysdummy1
DB2 optimize query to control result set:
- with ur for read only
- fetch first n rows only
- optimize for 1 row
No comments:
Post a Comment