Subject | Re: DEFAULT Values |
---|---|
Author | dianeb77@hotmail.com |
Post date | 2001-03-02T03:29:51Z |
--- In IBDI@y..., "Claudio Valderrama C." <cvalde@u...> wrote:
Ummm, what is the context?
The SQL standard says that, by default, all columns allow nulls,
unless there is a NOT NULL column constraint or equivalent. There is
no specific syntax in SQL92 that you can use to indicate that nulls
are welcome in a particular column ...
I know that some vendors support (or require) syntax whereby you can
explicitly specify that a column can be NULL ... probably as a
consequence of the fact that, way back in history, their default
didn't match SQL standard, and they wanted to support standard but
also support existing customers ...
But perhaps I guessed the wrong question?
Cheers,
db (brownd@...)
> > SQL 92 Intermediate Level. You might also note: Remember to bringCorrect.
> > Oxygen.
>
> Ah, so it's not mandatory at the entry level of conformance.
> And what happens with NULL v/s not NULL? I've seen peoplecomplaining for this.
Ummm, what is the context?
The SQL standard says that, by default, all columns allow nulls,
unless there is a NOT NULL column constraint or equivalent. There is
no specific syntax in SQL92 that you can use to indicate that nulls
are welcome in a particular column ...
I know that some vendors support (or require) syntax whereby you can
explicitly specify that a column can be NULL ... probably as a
consequence of the fact that, way back in history, their default
didn't match SQL standard, and they wanted to support standard but
also support existing customers ...
But perhaps I guessed the wrong question?
Cheers,
db (brownd@...)