Re: How to select text field as interger

Поиск
Список
Период
Сортировка
От silly sad
Тема Re: How to select text field as interger
Дата
Msg-id 4C2AFC7E.2050806@bankir.ru
обсуждение исходный текст
Ответ на Re: How to select text field as interger  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
>> | SELECT Name FROM Test WHERE Name::INT = 1;
>
> But note that this is going to throw an error if there are any table
> rows where the name field *doesn't* contain a valid integer.

and it recalls the problem of error suppressing once again




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to select text field as interger
Следующее
От: Eduardo Schweigert
Дата:
Сообщение: Invitation to connect on LinkedIn