You can't with one shot. You'll have to query each then combine them with a QoQ (assuming you are running CF5.0 or up)
<!--- DATASOURCE ONE ---> <cfquery name="a" datasource="datasource1"> Select * from tbl_in_db1 </cfquery> <!--- DATASOURCE TWO ---> <cfquery name="b" datasource="datasource2"> Select * from tbl_in_db2 </cfquery> <!--- QUERY OF QUERY OF BOTH QUERIES/DATASOURCES ---> <cfquery name="c" dbtype="query"> Select a.*, b.* >From a, b Where a.something = b.something </cfquery> -----Original Message----- From: simmyana a [mailto:[EMAIL PROTECTED] Sent: Monday, May 09, 2005 2:05 AM To: CF-Talk Subject: More than one datasource in <cfquery> Hi, How to use more than one datasource in <cfquery> tag? Thanks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:206042 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

