Thanks for the response
I am using MS access database. I tried using following 2 methods
1)
<cfset AppPath="C:\CFusionMX\odbc">
<cfquery name="sql1" datasource="somedatasource">
Select d1.* From #AppPath#\DB1.mdb.TableName
d1,#AppPath#\DB2.mdb.TableName d2 Where d1.id=d2.id
</cfquery>
2)
<cfquery name="sql" datasource="datasource1">
Select * from Table1
</cfquery>
<cfquery name="sql1" datasource="datasource2">
Select * from Table2
</cfquery>
<cfquery name="c" dbtype="query">
Select sql.*
>From sql , sql1
Where sql.id= sql1.id
</cfquery>
But performance wise first query is better
thanks again for the help
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:206188
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