Lucee Tag Reference
Lets you retrieve information about a data source, including details about the database, tables, queries, procedures, foreign keys, indexes, and version information about the database, driver, and JDBC. This tag supports only JDBC drivers, and does not support ODBC-based drivers, including the Microsoft Access driver.
This tag can't have a body.
<cfdbinfo [datasource=object] [dbname=string] name=string [password=string] [pattern=string] [procedure=string] [table=string] type=string [username=string]>
This tag is also supported within cfscript
<cfscript> dbinfo [datasource=object] [dbname=string] name=string [password=string] [pattern=string] [procedure=string] [table=string] type=string [username=string]; </cfscript>
The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
|datasource||any||No||Datasource to use to connect to the database.|
|dbname||string||No||Name of the database|
|name||string||Yes||Name to use to refer to the result.|
|password||string||No||Password to connect to the database.|
|pattern||string||No||Specifies a filter to retrieve information about specific tables, columns, or stored procedures|
|procedure||string||No||Name of the procedure from which you retrieve information.|
|table||string||No||Name of the table from which you retrieve information.|
|type||string||Yes||Type of information to get:
|username||string||No||User name to connect to the database.|