Hi Jim,

Thanks, I think that will work. I'll make an adjustment to get all tables 
dynamically which I'd guess would be OK

<cfquery name="GetTableNames" datasource="#theDatabase#">
SELECT  TABLE_NAME
FROM    Information_Schema.Tables
WHERE   TABLE_TYPE = 'dbo'
ORDER BY Table_Name
</cfquery>

<cfset allowedTables = valuelist(GetTableNames.TABLE_NAME)>

Thanks for both your help.

Richard

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:245685
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to