House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Newbie (CF-Newbie)

What's Wrong with My Query?

Author:
Leonard Boche
03/12/2010 01:15 PM

Hi Adam, I support Renee and Maureen,in their response to your post. I would also add that you should get use to use the <cfqueryparam> tag in your query structures. Plenty of info online as to why (http://tutorial138.easycfm.com) for one. tbl_field = nullif(<cfqueryparam value="#form.???#" cfsqltype="cf_sql_varchar">,'') The above will insert null if the submitting variable is empty or will submit the variable that was actually entered. Can be used in either an update or insert query. Leonard


Search cf-newbie

February 12, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29