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: Share on WhatsApp (Opens in new window) WhatsApp Share on Facebook (Opens in new window) Facebook Share on LinkedIn (Opens in new window) LinkedIn Share on Pinterest (Opens in new window) Pinterest Share on Reddit (Opens in new window) Reddit Related See also [Amazon](500310) Invalid operation: permission denied for relation