This is incorrect use of DESCRIBE. If you want a table struct you should use a select query which cross references the sysobjects table.
This should give you what you need. select syscolumns.name,systypes.name,syscolumns.length from sysobjects inner join syscolumns on syscolumns.id = sysobjects.id inner join systypes on systypes.type = syscolumns.type where sysobjects.type = 'U' and sysobjects.name ='yourtablename' -----Original Message----- From: Nick Baker [mailto:[EMAIL PROTECTED] Sent: 31 January 2005 06:49 To: CF-Talk Subject: MS SQL 2000 Table Structure Print out MS SQL 2000 I want to show a table structure, and tried the following <CFQUERY NAME="ShowTable" DATASOURCE="PartsList"> DESCRIBE Pumpparts </CFQUERY> This only throws an error "Could not find stored procedure 'DESCRIBE'." What am I missing? Or, am I using the wrong thing here? DESCRIBE table_name This command provides information about the columns of the table. It shows the column names, the type / size and scale (if applicable) and other useful information. Thanks, Nick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192304 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