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
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
![]() |
![]() |