当前位置:网站首页>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;
边栏推荐
- Possible SQL for Oracle table lookup information
- Design and implementation of spark offline development framework
- Map operation execution process
- Caip2021 preliminary VP
- Slam interview summary
- SAP 内存参数调优过程
- Svn relocation
- B_QuRT_User_Guide(39)
- Anti climbing means cracking the second
- MySQL Index Optimization Practice I
猜你喜欢
LM12丨Rolling Heikin Ashi二重K线滤波器
城联优品作为新力量初注入,相关上市公司股价应声上涨150%
SAP 内存参数调优过程
【实验分享】通过Console口登录到Cisco设备
Senior programmers must know and master. This article explains in detail the principle of MySQL master-slave synchronization, and recommends collecting
Understand TCP's three handshakes and four waves with love
ASP. Net core middleware request processing pipeline
平衡二叉樹【AVL樹】——插入、删除
Take you hand in hand to build Eureka client with idea
Anxin can internally test offline voice module vb-01 to communicate with esp-c3-12f
随机推荐
Markdown
谷歌浏览器怎么登录及开启同步功能
The 19th Zhejiang Provincial College Programming Contest 2022 f.easyfix chairman tree
Stringutils tool class
Possible SQL for Oracle table lookup information
Live server usage
[summary] some panels and videos seen
SRM supplier cloud collaborative management platform solution for building materials industry to realize business application scalability and configuration
SAP 内存参数调优过程
【汇总】看过的一些Panel与视频
Dependency injection 2 advantage lifecycle
The for loop realizes 1-100 addition and eliminates the 4-digit tail number
Ora-01741 and ora-01704
StringUtils工具类
Oracle string sorting
0-1背包问题
Windows set redis to start automatically
C method question 1
Anxinco esp32-a1s development board is adapted to Baidu dueros routine to realize online voice function
Explain