J'ai deja des requette pour faire mon script mais je redemande pour pas refaire la poudre ca existe pas deja ??
recuperation info colones des tables
select owner , table_name , COLUMN_NAME, DATA_TYPE from sys.all_tab_columns
order by owner,table_name,COLUMN_ID
/
info table
select OWNER,
TABLE_NAME, TABLESPACE_NAME, CLUSTER_NAME, IOT_NAME,
PCT_FREE, PCT_USED, INI_TRANS, MAX_TRANS,
INITIAL_EXTENT, NEXT_EXTENT, MIN_EXTENTS, MAX_EXTENTS,PCT_INCREASE, FREELISTS, FREELIST_GROUPS, LOGGING,
BACKED_UP, NUM_ROWS, BLOCKS, EMPTY_BLOCKS,
AVG_SPACE, CHAIN_CNT, AVG_ROW_LEN, AVG_SPACE_FREELIST_BLOCKS,
NUM_FREELIST_BLOCKS, DEGREE, INSTANCES
from sys.ALL_ALL_TABLES
where owner='REF'
/
info colones indexs
select * from sys.all_ind_columns
/
---------------
www.pronovolley.fr Faites vos prono sur la ligue de Volley et défiez vos amis. Des cadeaux en fin d'année www.levoll.fr