v$instance.instance_name : V_instance « System Tables Views « Oracle PL / SQL

Home
Oracle PL / SQL
1.Aggregate Functions
2.Analytical Functions
3.Char Functions
4.Constraints
5.Conversion Functions
6.Cursor
7.Data Type
8.Date Timezone
9.Hierarchical Query
10.Index
11.Insert Delete Update
12.Large Objects
13.Numeric Math Functions
14.Object Oriented Database
15.PL SQL
16.Regular Expressions
17.Report Column Page
18.Result Set
19.Select Query
20.Sequence
21.SQL Plus
22.Stored Procedure Function
23.Subquery
24.System Packages
25.System Tables Views
26.Table
27.Table Joins
28.Trigger
29.User Previliege
30.View
31.XML
Oracle PL / SQL » System Tables Views » V_instance 




v$instance.instance_name
   

SQL>
SQL>
SQL>  select c.value || '/' || d.instance_name ||
  2                     '_ora_' || a.spid || '.trc' trace
  3    from v$process a, v$session b, v$parameter c, v$instance d
  4   where a.addr = b.paddr
  5     and b.audsid = userenv('sessionid')
  6     and c.name = 'user_dump_dest'
  7  /

TRACE
--------------------------------------------------------------------------------
C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP/xe_ora_264.trc

SQL>
SQL>
SQL>

   
    
    
  














Related examples in the same category
1.select Active_State from V$INSTANCE
2.select Database_Status from V$INSTANCE
3.V$INSTANCE view provides one row of statistics for each Oracle instance running against the database
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.