开发者

mysql's current_timestamp for java derby

In MySQL I can easily set the default value of a timestamp field to be the current time

fieldname timestamp not null default current_timesta开发者_如何学运维mp

Does anyone know how to do the same thing in java derby?


This should work fieldname TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜