Yeah I actually tried
<cfset var = NULL>
first with no quotes
cause I figured it would read it as the string NULL but it choked on that
too.
I was trying to make things as elegant as possible.
My next attempt was to just write an if with two separate SQL statements
like
<cfif var is "">
run this statement
<cfelse>
run this statement
</cfif>
but i had no clue you could embed ifs in query
tags. Which is better from a speed standpoint? Choose a statement or embed the
if?
A.
|
- Re: [KCFusion] Bryan LaPlante
- RE: [KCFusion] Greenhagen, Robin
- RE: [KCFusion] Ryan Hartwich
- [KCFusion] Adaryl Wakefield
- RE: [KCFusion] Ryan Hartwich
- Re: [KCFusion] Adaryl Wakefield
- RE: [KCFusion] Ethan
- [KCFusion] Adaryl Wakefield
- RE: [KCFusion] Matt Jones
- RE: [KCFusion] Kory Bakken
- Adaryl Wakefield