- 博客(5)
- 收藏
- 关注

原创 win7 宋体
打开注册表编辑器(点击桌面左下角 开始-所有程序-附件-运行。或者win+r快捷键 输入 regedit)[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
2018-11-16 15:19:03
1625
原创 pgsql 模糊查询多个值
3、使用 SIMILAR TO 操作符,它可以匹配字符串中的正则表达式,使用 _ 作为单个字符的通配符,使用 % 作为多个字符的通配符。例如,要查询 name 字段包含 ‘a’ 或 ‘b’ 的记录,可以写成:SELECT * FROM table WHERE name SIMILAR TO '%(a|b)%';例如,要查询 name 字段包含 ‘a’ 或 ‘b’ 的记录,可以写成:SELECT * FROM table WHERE name LIKE '%a%' OR name LIKE '%b%';
2023-09-01 09:32:48
1614
1
原创 pgsql 时间段内天列表
SELECT to_char(t, 'yyyy-MM-dd')||' 00:00:00' bdate ,to_char(t, 'yyyy-MM-dd')||' 23:59:59' edate from generate_series('2023-07-19'::TIMESTAMP ,'2023-08-20'::TIMESTAMP, '1 day') as torder by bdate
2023-08-12 10:42:07
323
1
原创 Sql Server 当前日期第一天
--当前日期select getdate() CurrentDate;--当月第一天select dateadd(day,-day(getdate())+1,getdate()) current_Month_FirstDay;--当月最后一天select dateadd(month,datediff(month,0,dateadd(month,1,getdate())),-1) current_Month_EndDay; --当年第一天select dateadd(YEAR,datedi...
2022-05-17 11:05:06
1742
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人