• gluh@gluh.mysql.r18.ru's avatar
    WL#530&531: TIMESTAMPADD, TIMESTAMPDIFF functions · ec874924
    gluh@gluh.mysql.r18.ru authored
    Syntax for TIMESTAMPADD:
    
    TIMESTAMPADD(interval, integer_expression, datetime_expression)
    
    interval:= FRAC_SECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | 
    QUARTER | YEAR
    
    Supported SQL_TSI_  prefix  (like SQL_TSI_SECOND)
    
    Syntax for TIMESTAMPDIFF:
    
    TIMESTAMPDIFF(interval, datetime_expression1, datetime_expression2)
    
    interval:= FRAC_SECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | 
    QUARTER | YEAR
    
    Supported SQL_TSI_  prefix  (like SQL_TSI_SECOND)
    ec874924
sql_yacc.yy 153 KB