如何“选择current

编程入门 行业动态 更新时间:2024-10-21 23:06:20
本文介绍了如何“选择current_timestamp”?在hsqldb中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

Oracle:

从双

MySQL:

选择current_timestamp

SQL Server:

选择current_timestamp

PostgreSQL:

select current_timestamp

问题是,如何在 HSQLDB ?我使用的版本是1.8.0.10

解决方案

您可以编写

从表名

中选择current_timestamp其中表名是数据库中的真实表。

查询结果仅为当前时间戳。

Oracle:

select systimestamp from dual

MySQL:

select current_timestamp

SQL Server:

select current_timestamp

PostgreSQL:

select current_timestamp

The question is, how can I get the current timestamp in HSQLDB? I use version 1.8.0.10

解决方案

You can write

select current_timestamp from tablename

where tablename is a real table in your database.

The result of the query is only the current timestamp.

更多推荐

如何“选择current

本文发布于:2023-10-24 19:51:01,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1524843.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:current

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!