time - DB2 column type that could represent 25 hours or more -


i know db2 column type represent 25 hours or more time have limited range of 0 24 hours.

typically time duration stored integer data type representing number of time units appropriate precision requirements. 1 common example unix time, number of seconds since 1 january, 1970.

internally db2 implements duration (for example, when subtract 1 time value another) decimal, option if plan perform arithmetic operations between db2 time , duration value. quote manual:

a time duration represents number of hours, minutes, , seconds, expressed decimal(6,0) number. interpreted, number must have format hhmmss., hh represents number of hours, mm number of minutes, , ss number of seconds.


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -