Retrieving Database Name in PL/SQL
522396Jul 10 2006 — edited Jul 10 2006I want to declare a variable whose value needs to be set to the database name. I don't want to pass it in as a parameter as it's an anonymous block in a unix script. Is there anyway other than assigning the variable "select * from global_name" within the executable section!?