ALTER TABLE does not raises WARNING/ERROR

Поиск
Список
Период
Сортировка
Искать

ALTER TABLE does not raises WARNING/ERROR

От:
Rajesh Kumar Mallah <mallah@trade-india.com>
Дата:


If a feild is already NOT NULL
setting it not null with ALTER command
does not issues any warning.

regds
mallah.

-- 
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.


Re: ALTER TABLE does not raises WARNING/ERROR

От:
Stephan Szabo <sszabo@megazone23.bigpanda.com>
Дата:

On Sat, 22 Mar 2003, Rajesh Kumar Mallah wrote:

> If a feild is already NOT NULL
> setting it not null with ALTER command
> does not issues any warning.

I can't really see much point in issuing a warning for
this case.


Re: ALTER TABLE does not raises WARNING/ERROR

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Rajesh Kumar Mallah  writes:
> If a feild is already NOT NULL
> setting it not null with ALTER command
> does not issues any warning.

Why should it?  Updating a field to the same value it already has
doesn't ordinarily issue a warning in SQL ...
		regards, tom lane


Re: ALTER TABLE does not raises WARNING/ERROR

От:
<mallah@trade-india.com>
Дата:


oops sorry!
i too feel the same.

> Rajesh Kumar Mallah  writes:
>> If a feild is already NOT NULL
>> setting it not null with ALTER command
>> does not issues any warning.
>
> Why should it?  Updating a field to the same value it already has
> doesn't ordinarily issue a warning in SQL ...
>
> 			regards, tom lane
>
>
> ---------------------------(end of broadcast)--------------------------- TIP 5: Have you
> checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html



-----------------------------------------
Get your free web based email at trade-india.com.  "India's Leading B2B eMarketplace.!"
http://www.trade-india.com/


FAQ