| От | Ben K. |
|---|---|
| Тема | Re: Returning String as Integer |
| Дата | |
| Msg-id | Pine.GSO.4.64.0605061457510.7602@coe.tamu.edu обсуждение |
| Ответ на | Re: Returning String as Integer (Bruno Wolff III <bruno@wolff.to>) |
| Ответы |
Re: Returning String as Integer
Re: Returning String as Integer |
| Список | pgsql-sql |
Jorge Godoy <jgodoy@gmail.com> wrote:
> numbers. Is there any way to select a value from this column and return
> it as an integer?
My twopence. I just happened to have the same problem with iReports for a
10 digit number - it may be case specific but in my case
# select ... int4(id) ...;
worked.
I tried int8(id) but java didn't take it as Integer. (It took int8 as
something like Long.)
Regards,
Ben
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера