<CFQUERY name="getTables" datasource="#dsdata#"> Select name >From systables Where xType = u </CFQUERY>
<CFSET tableList= valueList(getTables.name)> Tim Heald ACP/CCFD Application Development www.schoollink.net -----Original Message----- From: Vishal Narayan [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 12:42 AM To: CF-Talk Subject: Get list of tables from a SQL Server DB Is there any way I can get the list of tables in a SQL 2000 DB programmatically ? I guess what I need is a limited form of sp_help, as long as it just gives me all the user-created tables, system tables not required. Vishal. ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists