How to check Database string Name thru SQL PLus
Hi All:
I am using Oracle9i Enterprise Edition Release 9.2.0.6.0.
I have restored my Production database into another machine to create Test Database.
The names of both the database is same in v$database. Although the database SID defined in tnsnames is different.
I want to know that if login thru SQL Plus on any database (Production or Test) and forgot the string name thru which I was connected, then how can I know the name database string? Any view or table have this information
Thanks
Hassan