Question
cfdbinfo question
I'm trying to find out the name of a DB that a datasource is
using (no access to the administrator). My understanding of the
cfdbinfo tag is that it can return the DB name used in the
datasource. However, when I try to display it, it returns ALL the
names of the different DBs that exist. How is this possible?
Shouldn't it be a single value?
<cfdbinfo name="GetDBName" datasource="#dsource#" type="dbnames">
<cfoutput query="GetDBName">
<strong>the DB is #database_name#</strong><br>
</cfoutput>
<cfdbinfo name="GetDBName" datasource="#dsource#" type="dbnames">
<cfoutput query="GetDBName">
<strong>the DB is #database_name#</strong><br>
</cfoutput>
