Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Multiples DSNs' application.cfc

$
0
0

Hi All,

 

Is it possible to set the multiple datasources on a Application.cfc using this.datasouce attribute?

 

CF 9, from application.cfc, you  can set

<cfsetthis datasouce ="myDSN1" > and no need to specify the DSN in the query.  My question is if I have multiples Datasouces, how can i set them up in application.cfc?

 

<

cfqueryname="qDoctype">

select * from type

</cfquery>

 

Thanks


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>