do I have to scope query output in Coldfusion?
问题 If I'm a running a database query/stored procedure in Coldfusion, what is the proper way to reference fields returned from the query? <cfstoredproc procedure="proc_select_extern" datasource="stokkers"> <cfprocparam type="in" value="#Session.Extern#" cfsqltype="cf_sql_varchar" maxlength="13"> <cfprocresult name="extern"> </cfstoredproc> <cfoutput query="extern"> <cfset variables.some = extern.foo> OR <cfset variables.some = foo> </cfouput> Say extern includes foo, bar and foobar. Is it allowed