Dan G. Switzer, II wrote: > > The error may be because you've used an ambigious column name of "id". Try: > > where A.id = <cfqueryparam cfsqltype="cf_sql_integer" value="#id#" > />
That's interesting because the query worked exactly as it was until I started dropping other columns. "Id" only exists in the dbo.results table so this usually works. I did solve the problem by specifying columns in my select list rather than using A.* ... still have the "ambiguous" id field in the where clause. Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237776 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

