
April 3rd, 2012, 08:48 AM
|
|
Registered User
|
|
Join Date: Jul 2010
Posts: 6
Time spent in forums: 1 h 15 m 2 sec
Reputation Power: 0
|
|
|
How to extract microsecs from timestamp.
In DB2 I was able to extract microsecs with the query
"SELECT MICROSECOND(CRT_TMS) FROM TABLEA"
So, for time stamp '2006/01/19 12:08:18.123456', the microsec will be 123456
Similarly,
I am trying to figure out the equivalent query for Postgres.
Thanks,
Om
|