Albee_J
asked on
Difference: CFQUERY PARAM and VAL()
I am trying to find out what is the difference between the two lines of code below: How does the VAL() differer from cfqueryparam type = integer.
WHERE OrderID = #val(OrderID)#
AND
WHERE OrderID = <cfqueryparam value = "#OrderID#" cfsqltype = "cf_sql_integer">
WHERE OrderID = #val(OrderID)#
AND
WHERE OrderID = <cfqueryparam value = "#OrderID#" cfsqltype = "cf_sql_integer">
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks Sid!
ASKER