Is there a SQL command, or CF Function that can get the names of all the
tables in a database? Then once it gets the names of the tables it can get
the fields in the tables?
Or should i just setup a table that i would put this information into?
Thanks in advanced
Chad
~~
> Is there a SQL command, or CF Function that can get the names of all the
tables in a database?
Chad
It depends what DBMS you're using.
If it's Access, look here
http://www.thenetprofits.co.uk/coldfusion/faq/#answer77
Otherwise I believe the following queries are mostly correct:
Ingres:
I can help with the second part. query_name.ColumnList returns a comma
delimited list of the query columns.
Roger
>From: Chad Gray <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Get Table names, and Field Names
>Date
3 matches
Mail list logo