Both TIMESTAMPADD( ) and TIMESTAMPDIFF( ) support the interval values listed in the following table.
Interval Values | |
---|---|
SQL_TSI_FRAC_SECOND | SQL_TSI_DAY |
SQL_TSI_SECOND | SQL_TSI_MONTH |
SQL_TSI_MINUTE | SQL_TSI_YEAR |
SQL_TSI_HOUR |
Both TIMESTAMPADD( ) and TIMESTAMPDIFF( ) support the interval values listed in the following table.
Interval Values | |
---|---|
SQL_TSI_FRAC_SECOND | SQL_TSI_DAY |
SQL_TSI_SECOND | SQL_TSI_MONTH |
SQL_TSI_MINUTE | SQL_TSI_YEAR |
SQL_TSI_HOUR |