SQL> desc dba_viewsName Type Nullable Default Comments ---------------- ------------ -------- ------- -------OWNER VARCHAR2(30) Owner of the view VIEW_NAME VARCHAR2(30) Name of the view TEXT_LENGTH NUMBER Y Length of the view text TEXT LONG Y View text TYPE_TEXT_LENGTH NUMBER Y Length of the type clause of the object view TYPE_TEXT VARCHAR2(4000) Y Type clause of the object view OID_TEXT_LENGTH NUMBER Y Length of the WITH OBJECT OID clause of the object view OID_TEXT VARCHAR2(4000) Y WITH OBJECT OID clause of the object view VIEW_TYPE_OWNER VARCHAR2(30) Y Owner of the type of the view if the view is an object view VIEW_TYPE VARCHAR2(30) Y Type of the view if the view is an object view SUPERVIEW_NAME VARCHAR2(30) Y Name of the superview, if view is a subview SQL> SQL> set heading off echo off long 1000000000 pages 10000SQL> select text from dba_views where view_name ='DBA_USERS';select u.name, u.user#, u.passWord,m.status,decode(u.astatus, 4, u.ltime,5, u.ltime,6, u.ltime,8, u.ltime,9, u.ltime,10, u.ltime, to_date(NULL)),decode(u.astatus,1, u.exptime,2, u.exptime,5, u.exptime,6, u.exptime,9, u.exptime,10, u.exptime,decode(u.ptime, '', to_date(NULL),decode(pr.limit#, 2147483647, to_date(NULL),decode(pr.limit#, 0,decode(dp.limit#, 2147483647, to_date(NULL), u.ptime +dp.limit#/86400),u.ptime + pr.limit#/86400)))),dts.name, tts.name, u.ctime, p.name, u.defschclass, u.ext_usernamefrom sys.user$ u, sys.ts$ dts, sys.ts$ tts, sys.profname$ p,sys.user_astatus_map m, sys.profile$ pr, sys.profile$ dpwhere u.datats# = dts.ts#and u.resource$ = p.profile#and u.tempts# = tts.ts#and u.astatus = m.status#and u.type# = 1and u.resource$ = pr.profile#and dp.profile# = 0and dp.type#=1and dp.resource#=1and pr.type# = 1and pr.resource# = 1SQL> |