SELECT DISTINCT
A.MENUNAME,
C.PNLGRPNAME ",",
A.MENULABEL ",",
B.BARLABEL ",",
RTRIM(A.MENUGROUP) || ' -->' || RTRIM(A.MENULABEL) || ' -->'
|| RTRIM(B.BARLABEL) || ' -->' || RTRIM(B.ITEMLABEL) "PIA_MENU"
FROM PSMENUDEFN A,
PSMENUITEM B,
PSPNLGROUP C
WHERE A.MENUNAME = B.MENUNAME
AND B.PNLGRPNAME = C.PNLGRPNAME
AND B.MARKET = C.MARKET
and C.PNLGRPNAME in (
'TM_ARCH_SETUP') -- Component Name
GROUP BY A.MENUNAME,
A.MENUGROUP,
A.MENULABEL,
B.BARLABEL,
B.ITEMLABEL,
A.MENUNAME,
C.PNLGRPNAME
Friday, August 22, 2008
Thursday, August 7, 2008
Table Statistics syntax
EXECUTE DBMS_STATS.GATHER_TABLE_STATS (ownname=> 'SYSADM', tabname=> 'Table Name', estimate_percent=>25,cascade=>TRUE);
Tuesday, August 5, 2008
How to determine table locks in oracle
select * From v$locked_object
select * From v$session where SID = '<>'
select * from dba_objects where object_id = '<>'
-- Locked objects
Select object_name, owner, object_type from dba_objects
Where object_id in (select object_id from v$locked_object);
-- KILL SESSION COMMAND
ALTER SYSTEM KILL SESSION '38,53336' IMMEDIATE;
select * From v$session where SID = '<>'
select * from dba_objects where object_id = '<>'
-- Locked objects
Select object_name, owner, object_type from dba_objects
Where object_id in (select object_id from v$locked_object);
-- KILL SESSION COMMAND
ALTER SYSTEM KILL SESSION '38,53336' IMMEDIATE;
Subscribe to:
Posts (Atom)