<CFQUERY NAME="passport_attendance" dbtype="query">
>SELECT passport_attendance_id
>FROM passport_attendance
>WHERE
><cfif passport_registration.student_id[pr] is "">
>people_id = <cfqueryparam value="#passport_registration.people_id[pr]#"
>cfsqltype="CF_SQL_INTEGER">
><cfelse>
>student_id = <cfqueryparam value="#passport_registration.student_id[pr]#"
>cfsqltype="CF_SQL_INTEGER">
></cfif>
> </CFQUERY>
>
>Last one did not work because syntax should be "IS NULL" not "= NULL"

That one worked fine and is very straight-forward.  Makes total sense.

thank you very much and have a good weekend.

daniel


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318117
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to