I took over the support of a web page that was developed with coldfusion, and I like to know if there is an easy way to determine the database structure through a cf? I've done a google on this and come up with a suggestion of using
"SELECT *
FROM Information_Schema.Tables
ORDER BY Table_Name
SELECT COLUMN_NAME, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH
FROM Information_Schema.Columns
WHERE Table_Name = ‘#Table_Name#’
ORDER BY Ordinal_Position"
But I'm a bit confused on what are reserved names and what are not. Can someone help with this or is there an easier way to get this information?
Thanks!
"SELECT *
FROM Information_Schema.Tables
ORDER BY Table_Name
SELECT COLUMN_NAME, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH
FROM Information_Schema.Columns
WHERE Table_Name = ‘#Table_Name#’
ORDER BY Ordinal_Position"
But I'm a bit confused on what are reserved names and what are not. Can someone help with this or is there an easier way to get this information?
Thanks!