> it might be worth looking at whats returned in the
> metadata (getMetaData) and the query result structure

I did some testing, and CF doesn't appear to treat update queries the
same as select queries.  Neither cfdump nor getMetaData work with an
update query, in fact CF doesn't even recognize the query name as a
valid variable.  Here's what I tried:

<cfquery name="updateBID" datasource="budgets">
   update budgetids
   set CC = '400'
   where budgetid like 'B007%'
</cfquery>

<cfdump var="#updateBID#">

<cfset qmeta = getMetaData(updateBID)>

<cfdump var="#qmeta#">


The above returns this error:
"Variable UPDATEBID is undefined."








-------------------------


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238184
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

Reply via email to