Community Member Profile

Russell Fox
Member since Mar 17, 2010

Recent Blog Comments By Russell Fox

  • Testing For NULL Values In A ColdFusion Query Result Set

    Posted on Mar 17, 2010 at 4:13 PM

    To get around the empty strings in an UPDATE statement I pretended the variable was a string by enclosing it in single quotes, CAST it to an integer, let it convert empty strings to zeroes, and used NULLIF to change the zeros to NULLs: SET [Field1] = NULLIF(CAST('#Form.Field1#' as INT), 0)<... read more »

Member Account Kinky Solutions Shop
  • Help Wanted - Find Your Next ColdFusion Job
InVision App - Prototyping Made Beautiful With Prototyping Tools