A

Admin • 831.35K Points
Coach

Q. Which MySQL function is used to get the current database name?

  • (A) DATABASE()
  • (B) CURRENT_DB()
  • (C) SCHEMA()
  • (D) DB_NAME()
  • Correct Answer - Option(A)
  • Views: 8
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin
DATABASE() returns the name of the currently selected database.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.