Select the Database name in iSQL plus

和自甴很熟 提交于 2019-12-11 06:56:12

问题


I have a database but I don't know it's name, and I'm wondering how I can know it using iSQL Plus. So if anyone could please advise.


回答1:


Once connected to your RDBMS, you can issue the following command to query the database name:

select ora_database_name from dual;

On my system:

SQL> select ora_database_name from dual;

ORA_DATABASE_NAME
--------------------------------------------------------------------------------
XE


来源:https://stackoverflow.com/questions/27625414/select-the-database-name-in-isql-plus

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!