| От | 李彦 Ian Li |
|---|---|
| Тема | Re: Data Type for "flags" |
| Дата | |
| Msg-id | 464ACEF2.2000203@gmail.com обсуждение исходный текст |
| Ответ на | Data Type for "flags" (李彦 Ian Li <liyan82@gmail.com>) |
| Список | pgsql-php |
Oops... I've just omitted the smallint type at the beginning of the document. Thanks anyway! 李彦 Ian Li wrote: > Hello all: > I am new to PHP and PostgereSQL with some former experiences of ASP > and MSSQL. My question is when I want to represent different types of > object, or different status of object in my application, e.g. class of > users, I used to use tinyint in MSSQL. But I found there is no such > thing in PGSQL, so what should I use instead? integer, bytea ,or bit(n)? > I think integer will be the most convenient to use, isn't it? > > Regards, > Ian >
В списке pgsql-php по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера