Is there a way to refer to the current date in relational algebra, like CURDATE in MySQL?

481 Views Asked by At

I want to write a constraint using relational algebra that the current date has to be less than the expiry date in a specific relation. I'm aware this is easy in SQL, but not sure how to do it in relational algebra.

1

There are 1 best solutions below

0
Bohemian On

Use TODAY, which would read naturally in a diagram/algebra.