boolean or int2

Поиск
Список
Период
Сортировка
От
Тема boolean or int2
Дата
Msg-id 20050802173117.18804.qmail@web33302.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: Make year 01/01/0001 but leave timestamp alone  ("Walker, Jed S" <Jed_Walker@cable.comcast.com>)
Ответы Strange Error on Table Creation Attempt  (<operationsengineer1@yahoo.com>)
Re: boolean or int2  ("Keith Worthington" <keithw@narrowpathinc.com>)
Список pgsql-novice
i have a situation where widgets either pass or fail a
test and i record the result.

i'm thinking of using boolean to track this - true for
pass, false for fail.

i've used int2 in other situations b/c i couldn't be
as sure that only two outcomes were possible.  i could
use int2 here, also (ie, 0 for fail, 1 for pass).

does it make a practical difference which one i use?

as always, thanks for the help. it is much appreciated.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Walker, Jed S"
Дата:
Сообщение: Re: Make year 01/01/0001 but leave timestamp alone
Следующее
От:
Дата:
Сообщение: Strange Error on Table Creation Attempt