Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: how to get database name using sql statements

Re: how to get database name using sql statements

From: Fritz <fritz_nospam_at_mail4u.nl>
Date: Thu, 25 Nov 1999 14:43:18 +0100
Message-ID: <81jbo9$cdc$1@news1.xs4all.nl>


Try 'Select * from v$database'

Regards...

Praburam Conjeevaram wrote in message ...
>
>I am new to oracle db.
>I am using sql plus to try sql commands.
>can someone tell me how to get the dbname to which i am connected.
>note:I am able to select records from tables
>Thanks
>
>-Prabu
>
>
>
>
>
>
>
>
Received on Thu Nov 25 1999 - 07:43:18 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US