How-To Guides / Redshift How to get the name of the database in Redshift Run the below query to return the name of the database you are currently connected to. select current_database(); Share this:Click to share on WhatsApp (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Click to share on Reddit (Opens in new window) Related See also How to drop a table in Redshift database