Reputation: 7
is there anyone at there who knows how to use a variable interval instead of a number interval in postgresql?
For example :
Upvotes: 0
Views: 285
Reputation:
You can use make_interval()
make_interval(days => 1, months => nbmois);
Upvotes: 1