That's true, but there may be times when NULL is appropriate - and not ev
ery
column has an index.

-----Original Message-----
From: Zac Spitzer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 11:37 AM
To: CF-Talk
Subject: Re: NULL or 0


Mark A. Kruger - CFG wrote:

>Come to think of it - if you are using MSSQL you can use the "ISNULL( )"
>function to acheive that result - it replaces a null with a default valu
e
> as
>in:
>
>SELECT IsNull(MyintColumn,0) AS MyintColumn
>
of course design wise 0 can be better than NULL as null values are not
indexed by RDBM's

z


______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to