Question
mysql database select
Hi Guys! I am working on Mysql Project and I list all the
dsn's using coldfusion admin APi Command. I get the list of all dsn
fine.
i selected the datasource of mysql which i created as test. TEST is the DSN Nam and TestTable is the DATABASE NAME.
Now i use this DSN and i want to list all the tables of the DATABASE .
i use something like like:
select full tables FROM [DatabaseName]
Well i have only DSN variable with me how can i get the [DatabaseName] to fit in the above query and get all the table Names related to that database.
i selected the datasource of mysql which i created as test. TEST is the DSN Nam and TestTable is the DATABASE NAME.
Now i use this DSN and i want to list all the tables of the DATABASE .
i use something like like:
select full tables FROM [DatabaseName]
Well i have only DSN variable with me how can i get the [DatabaseName] to fit in the above query and get all the table Names related to that database.
