Changing Data Types

Поиск
Список
Период
Сортировка
От Mike Frost
Тема Changing Data Types
Дата
Msg-id DUB127-W87C10541914BD1F768212582540@phx.gbl
обсуждение исходный текст
Ответ на Re: Trouble including pg_type.h  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Changing Data Types  (Thom Brown <thom@linux.com>)
Список pgsql-novice
Hi All,

This REALLY is a novice question

I'm writing a simple query where i need to return [Field A]/[Field B] so i can express [Field A] as a percentage

Both of these fields are BigInts, so i always get 0

What do i need to do to the data types in my query to enable decimal places?

Thanks!

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

Предыдущее
От: Michael Wood
Дата:
Сообщение: Re: Trouble including pg_type.h
Следующее
От: Thom Brown
Дата:
Сообщение: Re: Changing Data Types