on 08-28-2015 11:54 AM
Hi All,
Please help with SQL query to list Tables (selected 'n' tables) with their reorg type (like Offline/Online) in SINGLE query.
Approach:
1.Take top 50 tables
2. If table has data type LONG or LONG RAW, table should be considered for OFFLINE reorganization and remaining tables for ONLINE reorg.
Help is much appreciated !
As of now, getting it done using separate queries and excel sorting.
Thanks
Ram
View COL could give you a start.
It has a list of all tables with all columns and respective column types.
In sqlplus, as SAP schema owner, try something like this:
select table_name < your top 50 query here >
MINUS
select tname from col
where colype like 'LONG%';
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.