米字键

博客园 首页 新随笔 联系 订阅 管理

2025年5月29日 #

摘要: DECLARE @DateTimeStr NVARCHAR(20) SET @DateTimeStr = CONVERT(NVARCHAR(20), GETDATE(), 112) + '_' + REPLACE(CONVERT(NVARCHAR(20), GETDATE(), 108), ':', 阅读全文
posted @ 2025-05-29 18:36 米字键 阅读(5) 评论(0) 推荐(0)

2025年4月2日 #

摘要: 查询用户取水记录 select u.UserName, u.OpenId, c.CompanyName, c.CompanyCode, tr.Id, tr.RealVolume, tr.StationId, tr.CreateTime, tr.ReceiptTime from 数据库.dbo.[用户 阅读全文
posted @ 2025-04-02 17:42 米字键 阅读(19) 评论(0) 推荐(0)

2023年12月19日 #

摘要: 1、SQL语句选择每月的数据添加到另一张表 insert into _Data_Collect_20231108 (RECORD_ID,RTU_ID,DataType,Time,Value,INSERT_TIME,I_Flag) select RECORD_ID,RTU_ID,DataType,Ti 阅读全文
posted @ 2023-12-19 14:56 米字键 阅读(74) 评论(0) 推荐(0)

2022年4月4日 #

摘要: -- 部门表 create table dept( deptno int primary key auto_increment, -- 部门编号 自动增长 dname varchar(14) , -- 部门名字 loc varchar(13) -- 地址 ) ; -- 修改表的字符集 alter t 阅读全文
posted @ 2022-04-04 17:11 米字键 阅读(86) 评论(0) 推荐(0)

摘要: create table student( sid int(11) primary key not null,-- 唯一标识,不能为空 sname char(25) not null,-- 不能为空 age int(11) not null,-- 不能为空 sex char(2) not null, 阅读全文
posted @ 2022-04-04 17:09 米字键 阅读(253) 评论(0) 推荐(0)

2020年1月15日 #

摘要: print(" ") print(" 猜数字游戏") print(" ") import random random=random.randint(1,10) name=input("请输入你的名字") print("欢迎"+name+"来到猜数字游戏") while 1: tem=int(inpu 阅读全文
posted @ 2020-01-15 14:37 米字键 阅读(201) 评论(0) 推荐(0)

2019年6月25日 #

摘要: 用户管理 Linux系统是一个多用用户的系统 用户分为三类: 超级用户(root)用户的id是0 伪用户 用户的id是1 499,虽然存在,但不能被登录 普通用户 用户id伪500 60000。 用户信息存放的位置: /ect/passwd 查看文件信息 cat /etc/passwd 创建用户的语 阅读全文
posted @ 2019-06-25 19:47 米字键 阅读(330) 评论(0) 推荐(0)

摘要: vi和vim编辑器:有插入模式,一般模式,地行模式 一班模式通过(i、a、o、I、A、O)键 >进入插入模式 插入模式(按Esc键退出) >j进入一班模式 一般模式(通过:键) >底部模式 底行模式(按ESc) >进入一般模式 底行模式中,wq是写入并保存 w==write q==quit wq! 阅读全文
posted @ 2019-06-25 14:54 米字键 阅读(2309) 评论(0) 推荐(1)

2019年6月24日 #

摘要: shutdown -h now poweroff 阅读全文
posted @ 2019-06-24 19:37 米字键 阅读(298) 评论(0) 推荐(0)

2019年6月11日 #

摘要: 什么是泛型为什么要使用泛型 泛型就是参数化类型 泛型的作用 减少重复代码 阅读全文
posted @ 2019-06-11 19:27 米字键 阅读(625) 评论(0) 推荐(0)