Boolean and Bit

Поиск
Список
Период
Сортировка
От Keith Gray
Тема Boolean and Bit
Дата
Msg-id 3A64FCEA.178112AF@heart.com.au
обсуждение исходный текст
Ответы Re: Boolean and Bit
Список pgsql-sql
Hello All,

This is my first post (so be gentle with me)...

Is there a searchable archive?

I would like suggestions and examples of adding SQL-92
data type BIT compatibility to a PostgreSQL schema.

>From the doc's I gather you can "CREATE TYPE bit"
with storage int or int4... but I don't know
about the input/output for zero and one.

Should SQL (ODBC) be able to ask "WHERE bitfield;"
or should it ask "WHERE bitfield = 1;" ?

Any response gratefully recognized...




Keith


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

Предыдущее
От: Christopher Sawtell
Дата:
Сообщение: Re: Query from multiple tables...
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Re: Boolean and Bit