SQLWays Product Page - Migration to MySQL Free Evaluation

MySQL Data Types - TIME

Versions: MySQL 5.x, 4.x and 3.23

MySQL - TIME
Syntax TIME
Data Time data (hours, minutes and seconds)
Range -838:59:59 to 838:59:59
Storage Size 3 bytes
Standards ANSI SQL

MySQL TIME - Equivalents in Other Databases

Database Data Type and Conversion
Oracle TIMESTAMP(p), 00:00:00:000000000 and 23:59:59:999999999 (nanoseconds accuracy). Contains day part (year, month and day)
SQL Server TIME(p), 00:00:00:0000000 to 23:59:59:9999999 (100 nanoseconds accuracy)
PostgreSQL TIME(p), 00:00:00:000000 to 23:59:59:999999 (microseconds accuracy)
Sybase ASE TIME, 00:00:00:000 to 23:59:59:999 (milliseconds accuracy)
Informix DATETIME HOUR TO SECOND, HOUR TO FRACTION(5), 00:00:00:00000 to 23:59:59:99999 (10 microseconds accuracy)
HP Neoview TIME(p), 00:00:00:000000 and 23:59:59:999999 (microseconds accuracy)

Related Data Types in MySQL

Data Types
Datetime DATE DATETIME YEAR
Auto-uptated datetime TIMESTAMP

All Data Types

Oracle SQL Server IBM DB2 MySQL PostgreSQL Sybase ASE Sybase ASA Informix DS Teradata HP Neoview Interbase/Firebird


SQLWays Product Page - Migration to MySQL Free Evaluation

Discussion

Enter your comment:
UVSLK
 
sqlways/mysql/data-types/time.txt · Last modified: April 25, 2012, 04:44:55 AM (external edit)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki