Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: how to get database name using sql statements
How about:
select global_name from global_name;
if you don't mind the whole string. You can substr out the ORA_SID if that's all you want.
Just my 2 Cents. Received on Sat Nov 27 1999 - 09:25:57 CST