derby中使用类似Oracle中虚拟表dual的方法

在oracle中,我们可以使用虚拟表 dual 来很方便的实现诸如查看系统时间的方法,例如:

select sysdate from dual

在derby中,则可以用 values 来实现类似效果,例如:

values current_timestamp;

猜你喜欢

转载自rokin.iteye.com/blog/1469067