Hi Jim,
        You might not need remote access directly to the db -

        You can query tablenames in a MS SQL database with this:
                <cfquery name="q1" datasource="#DSN#">
                        SELECT * from INFORMATION_SCHEMA.tables
                         WHERE table_type = 'BASE TABLE'
                         ORDER BY table_name
                </cfquery>

        And this will give you the column names/datatype in a table:
        <cfquery name="q2" datasource="#DSN#">
                SELECT * from INFORMATION_SCHEMA.columns
                 WHERE table_name = '#TBL#'
                 ORDER BY column_name
        </cfquery>



-----Original Message-----
From: Jim Louis [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 5:40 PM
To: CF-Talk
Subject: Re: MS SQL and querying it


I found out from the ISP that there is not table LC_Feature on this database
that was sent.

So I will have to wait for the other hosting company to send me a valid
backup.

Thank you all for your help

Jim Louis




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234185
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to