No.  The default is a valid value for this data type which is to be used
when the value is not specified.  Null is different, since it is not a
valid value for use in things like calculations or comparisons.  A
default value would need to be a numeric value for a numeric field, or a
valid date for a date field.  The USE_DEFAULT_FOR_NULL flag would tell
the SQL engine to substitute the default value whenever it encountered a
null field.

Clear?

Joe

> From: rob@xxxxxxxxx
> 
> But isn't Null the default?
> 
> <snip>
> I think the ability to define at a global level "USE_DEFAULT_FOR_NULL"
> would be a great concept.
> <endsnip>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.