Databases :: Oracle :: oracle all_tables table_name 'sort by' |
|||
| By: FiatLink |
Date: 21/09/2005 09:19:30 |
Points: 20 | Status: Answered Quality : Excellent |
| I want the tables sorted by table name. How can I do that ? | |||
| By: VGR | Date: 21/09/2005 09:22:36 | Type : Answer |
|
| Hello 8-) Personnally, I 'm using : $thequery="select TABLE_NAME,NUM_ROWS,AVG_ROW_LEN,AVG_ROW_LEN*NUM_ROWS espace_octets from ALL_TABLES where TABLESPACE_NAME='USERS' order by TABLE_NAME asc"; break; //and owner='FIAT' for a given owner/project But it is said that you can also use the DICTIONARY object if your Oracle version supports it : SELECT table_name, comments FROM dictionary WHERE table_name LIKE '%TABLE%' ORDER BY table_name Regards |
|||
|
Do register to be able to answer |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








