This is the best answer. And that's the underlying reason why "generic" database tool is possible. Jochem has become a database guru now.
Li, Chunshen (Don)
>
>That is why you should use the INFORMATION_SCHEMA. Just try
>
><cfquery datasource="" name="qColumns">
>SELECT *
>FROM information_schema.columns
>WHERE table_name = 'myTable'
></cfquery>
><cfdump var="qColumns">
>
>You should also check out the rest of the INFORMATION_SCHEMA, it
>allows you to see (almost) everything of the schema (in a
>compliant database), from the datatypes and defaults of columns
>to the permissions and triggers defined on a table.
>
>Jochem
>
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- How do I tell what fields are in my tables... cf talk
- RE: How do I tell what fields are in my tables... Philip Arnold
- Re: How do I tell what fields are in my tables... Critz
- RE: How do I tell what fields are in my tables... Shawn Regan
- RE: How do I tell what fields are in my tables.... Angel Stewart
- Re: How do I tell what fields are in my tab... Charlie Griefer
- RE: How do I tell what fields are in my... Angel Stewart
- Re: How do I tell what fields are ... Jochem van Dieten
- Re: How do I tell what fields are ... Charlie Griefer
- Re: How do I tell what fields are ... Claude Schneegans
- Re: How do I tell what fields are in my tab... Claude Schneegans
- RE: How do I tell what fields are in my tables... Aunger, Mitch
- Re: How do I tell what fields are in my tables... cf talk