How to Query Database Name in Oracle SQL Developer?

前端 未结 7 1541
自闭症患者
自闭症患者 2020-12-29 20:28

How do I query the database name in Oracle SQL Developer? I have tried the following and they all fail:

SELECT DB_NAME();

SELECT DATABASE(

7条回答
  •  情话喂你
    2020-12-29 20:44

    DESCRIBE DATABASE NAME; you need to specify the name of the database and the results will include the data type of each attribute.

提交回复
热议问题