Hi Guys

I Had 2 databases on the same server one by the name orcl and the other by the name tggg.The password for system is same for the both databases.Whenever i am trying to connect to tggg database from sql using system/password it is getting connected to Orcl.How to get connect to tggg database by default.

Thanks
Ravi