FALCONSEYE
Programmer
which one is a better practice?
<cfquery ....>
insert into ...
values (<cfqueryparam value="..." cfsqltype="cf_sql_integer" >
</cfquery>
or
<cfquery ....>
insert into ...
values (#FORM.myId#)
</cfquery>
in other words, is it efficient to use <cfqueryparam> in an insert ? thanks for the help
<cfquery ....>
insert into ...
values (<cfqueryparam value="..." cfsqltype="cf_sql_integer" >
</cfquery>
or
<cfquery ....>
insert into ...
values (#FORM.myId#)
</cfquery>
in other words, is it efficient to use <cfqueryparam> in an insert ? thanks for the help