当前位置:网站首页>postgres timestamp转人眼时间字符串或者毫秒值
postgres timestamp转人眼时间字符串或者毫秒值
2022-07-07 21:52:00 【jfqqqqq】
转字符串
方式1
SELECT to_char(create_time, 'YYYY-MM-DD hh24:mi:ss') from io_batch_time where status = 6 and gb_code = '156110000' order by create_time;
转毫秒
方式1
SELECT batch_name,floor(extract(epoch from create_time)*1000),create_time from io_batch_time where status = 6 and gb_code = '156110000' order by create_time;
边栏推荐
- B_ QuRT_ User_ Guide(38)
- 2022第六季完美童模陕西总决赛圆满落幕
- Design and implementation of spark offline development framework
- V-for traversal object
- Windows set redis to start automatically
- Happy gathering time
- SAP memory parameter tuning process
- Deep understanding of MySQL lock and transaction isolation level
- Possible SQL for Oracle table lookup information
- Understand TCP's three handshakes and four waves with love
猜你喜欢

Spark 离线开发框架设计与实现

SAP HR奖罚信息导出

C cat and dog

Take you hand in hand to build Eureka server with idea

建筑建材行业SRM供应商云协同管理平台解决方案,实现业务应用可扩展可配置

MongoDB快速入门

What if once again forgets the login password of raspberry pie? And you don't have a monitor yet! Today, I would like to introduce a method

Design and implementation of spark offline development framework

As a new force, chenglian premium products was initially injected, and the shares of relevant listed companies rose 150% in response

ASP. Net core middleware request processing pipeline
随机推荐
2022第六季完美童模陕西总决赛圆满落幕
USB (XVIII) 2022-04-17
Fibonacci number of dynamic programming
家用电器行业渠道商协同系统解决方案:助力家电企业快速实现渠道互联网化
【7.4】25. Turn over the linked list in groups of K
ASP. Net open web page
Access database query all tables SQL
【7.5】15. 三数之和
B_ QuRT_ User_ Guide(36)
MySQL Architecture
The 19th Zhejiang Provincial College Programming Contest VP record + supplementary questions
MySQL Index Optimization Practice II
Understand TCP's three handshakes and four waves with love
ESP at installation esp8266 and esp32 versions
What if once again forgets the login password of raspberry pie? And you don't have a monitor yet! Today, I would like to introduce a method
B_QuRT_User_Guide(36)
[summary] some panels and videos seen
B_QuRT_User_Guide(36)
Mobile heterogeneous computing technology - GPU OpenCL programming (basic)
平衡二叉樹【AVL樹】——插入、删除