Skip to contents

Construct a month interval.

Arguments

integer

INTEGER | BIGINT

Value

INTERVAL

Overloads

  • to_months(integer = INTEGER)

  • to_months(integer = BIGINT)

SQL examples

to_months(5)