上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 29 下一页
摘要: var totalPage = (totalNumber + pageSize - 1) / pageSize; 阅读全文
posted @ 2020-05-21 19:03 向萧 阅读(887) 评论(0) 推荐(0) 编辑
摘要: 1、不使用第三方工具的情况下比较SqlServer两个表的表结构 https://www.mssqltips.com/sqlservertip/4824/easy-way-to-compare-sql-server-table-schemas/ 2、比较表结构和表数据的各种方法 https://co 阅读全文
posted @ 2020-05-13 15:33 向萧 阅读(813) 评论(0) 推荐(0) 编辑
摘要: 1、打开hyper管理器,新建虚拟机,系统选择下载好的CentOs。 创建过程自行搜索 创建完成后: 2、Centos中安装docker、git等 3、VS新建一个web项目 修改下html显示的内容:本地运行这个项目: 4、添加Dockerfile文件 如果Dockerfile的位置不和sln文件 阅读全文
posted @ 2020-05-05 16:26 向萧 阅读(648) 评论(0) 推荐(0) 编辑
摘要: public enum MidpointRounding Fields TABLE 1 AwayFromZero 1 When a number is halfway between two others, it is rounded toward the nearest number that i 阅读全文
posted @ 2020-04-30 11:15 向萧 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 1、核心逻辑(为了测试方便,路径直接写死了): public static void TemplateWrite<T>(List<T> datas, int startRow = 2, string targetPath = @"D:\导出excel测试.xlsx", string template 阅读全文
posted @ 2020-04-28 14:16 向萧 阅读(1701) 评论(0) 推荐(0) 编辑
摘要: ctrl+z #中断当前的安装显示 ps -ef | grep yum #查找当前yum相关的进程 kill -9 进程号(pid) #杀掉进程 阅读全文
posted @ 2020-04-27 16:17 向萧 阅读(3328) 评论(0) 推荐(0) 编辑
摘要: 总结:1、查询时用 not in 效率极其低下,因此结合left join改为in查询,效率很快 原语句: select * from my_test_table where id not in (select b.id as id from ( SELECT MAX(a.`ModifyAt`)Mo 阅读全文
posted @ 2020-04-22 12:04 向萧 阅读(2567) 评论(0) 推荐(0) 编辑
摘要: 在MySQL中,写SQL语句的时候 ,可能会遇到You can't specify target table '表名' for update in FROM clause这样的错误,它的意思是说,不能先select出同一表中的某些值,再update这个表(在同一语句中),即不能依据某字段值做判断再来 阅读全文
posted @ 2020-04-21 15:30 向萧 阅读(233) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); Console.WriteLine(TestSwitch("0371")); Console.WriteLine(TestSwit 阅读全文
posted @ 2020-04-16 10:06 向萧 阅读(2864) 评论(2) 推荐(0) 编辑
摘要: 异常信息:Result: 1273 - Unknown collation: 'utf8mb4_0900_ai_ci' 异常原因:导出SQL文本(或者同步数据库时)源数据库的版本和导入数据的目标数据库的版本不一致; 我的目标数据库是5.x的mysql,而源数据库mysql是8.x版本;本地的mysq 阅读全文
posted @ 2020-04-15 16:43 向萧 阅读(2099) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 29 下一页