Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   Data Manipulation > Using Date and Time Data Types >

Date-Time or Interval Data

The DataBlade API provides support for the following kinds of fixed-point data, which correspond to existing SQL data types.

Type of Fixed-Point Value SQL Data Type
Date and time, date, or time DATETIME
Year and month interval or day and time interval INTERVAL

Date-time data is an instant in time that is expressed as a calendar date and time of day, just a calendar date, or just a time of day. A date-time value can also have a precision and a scale. The precision is the number of digits required to store the value. The scale is the end qualifier of the date-time value, such as YEAR TO HOUR.

Interval data is a span of time that is expressed as the number of units in either of the following interval classes:

The DataBlade API provides support for date-time or interval data in both text and binary representations.

Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]