select sys_context('userenv','service_name') from dual
select sys_context('userenv','instance_name') from dual
to get all available service_name s: (needs privileged access)
select value from v$parameter where name = 'service_names';
for more info on the sys_context, read here
Friday, May 11, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment