Hello,
I am trying to fire Update Query using cfquery like below
<cfquery name = "UpdateRecord"
dataSource = #DATASOURCE#
username = #DBUSER#
password = #DBPASSWORD#
result="updateResult" >
update table1
set field1=( select field1 from table2 where field3='Some Value')
where field4='someothervalue'
</cfquery>
<cfdump var="#UpdateResult#">
But, when I execute this page, the page is not loading, in status bar I can see its loading for long time.
But If I use any simple Update Query like
update table1 set field1='abc' where field4='someothervalue'
then it is working fine
Can any one has idea how can I execute the queries like above using cfquery?
Thanks