有没有办法在关系代数中引用当前日期,就像 MySQL 中的 CURDATE 一样?
我想使用关系代数编写一个约束,即当前日期必须小于特定关系中的到期日期。我知道这在 SQL 中很容易,但不确定如何在关系代数中做到这一点。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用
TODAY
,它可以在图表/代数中自然地读取。Use
TODAY
, which would read naturally in a diagram/algebra.