Re: Datetime stored in bigint
От | dev ss |
---|---|
Тема | Re: Datetime stored in bigint |
Дата | |
Msg-id | CAKYg8QTbANJ0n1fxT6-WhN+gu1kywBFRyHbsCOxBNftZ6VF5YQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Datetime stored in bigint (dev ss <ssdev938@gmail.com>) |
Ответы |
Re: Datetime stored in bigint
|
Список | pgsql-novice |
Greg Sabino Mullane,
Thanks for your help in converting the bigint to date format using function but is there a way to run a SQL query to show all the fields in the database.
Example as below in database it stores as below
documentid patientname datetime
Z549909343 Test, Test 634459985818906250
Y225220522 Test1,Test 634469467411401690
I need to run a query to show values as below instead of single values
documentid patientname date
Z549909343 Test, Test 2011-07-11 16:29:00
Y225220522 Test1,Test 2011-07-22 15:52:00
Please let me know if you need more information.
On Mon, Jul 18, 2011 at 4:30 PM, dev ss <ssdev938@gmail.com> wrote:
Its an EMR and from the front end i see 7/11/2011 4:29:41 PM and in the database i see 634459985818906250.
В списке pgsql-novice по дате отправления: