需要帮助在oracle中为这些代码编写类似的代码

时间:2017-04-09 11:04:22

标签: sql oracle

SELECT * FROM USER_TABLES;

SELECT Count(*) as osszIndex 
FROM USER_OBJECTS
WHERE lower(object_type) = 'index';

SELECT text 
FROM DBA_VIEWS 
WHERE upper(view_name) = 'NEZETPL' 
AND upper(owner) = 'GI17_SAJATNEPTUN';

或类似于此

SELECT *
FROM DICTIONARY
WHERE TABLE_NAME LIKE ’%INDEX%’;  

DESCRIBE USER_INDEXES  ;

SELECT INDEX_NAME, TABLE_NAME
FROM USER_INDEXES  ;

0 个答案:

没有答案