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
<cfdbinfo type="Columns" name="">
cfdbinfo(type="Columns", name="");
Tables
Columns
DBNames
Tables
Foreignkeys
Index
Procedures
Version
Along with the data type and size
<cfdbinfo type="columns" name="cols" table="tester">
<cfoutput query="cols">
#cols.column_name# #cols.type_name#(#cols.column_size#)<br>
</cfoutput>
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.