On 10/8/07, Dale Fraser <[EMAIL PROTECTED]> wrote:
>
> " Consistency is important, the minutiae of capitalization and whitespace
> is
> not."
>
> I don't agree with this, as standards go the whitespace (tab obsession) is
> very important.
>
> Take this example (might not come out right on email.
>
> Select *
> From Table
> Where X = 1
> And Y = 1
>
> And this
>
> Select *
> From Table
> Where X = 1 and Y = 1
>
> These are different standards, if you get used to reading the first, you
> easily miss the second part of the where in the second.
>
> Regards
> Dale Fraser
>
> http://learncf.com
If you are using cfqueryparam it would be kinda stupid putting statements on
one line.
<cfquery>
SELECT X, Y
FROM Table
WHERE X = <cfqueryparam cfsqltype="cf_sql_integer" maxlength="3"
value="1"> AND Y = <cfqueryparam cfsqltype="cf_sql_integer"
maxlength="3" value="1">
</cfquery>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290533
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4