摘要: 问题截图: 解决方法: 使用命令 git pull origin master --allow-unrelated-histories 阅读全文
posted @ 2020-11-08 14:31 温故纳新 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 问题截图: 原因: 远程分支配置失效 解决方法: 第1步添加远程分支 使用命令 git remote add origin https://github.com/CodeChen1/Test.git 即添加远程分支命令格式: git remote add origin 远程仓库url 其中的url获 阅读全文
posted @ 2020-11-08 14:14 温故纳新 阅读(10237) 评论(0) 推荐(0) 编辑
摘要: -- 删除重复的supplierName,并且保留SupplierId最大的一个begin trandelete T From(Select Row_Number() Over(Partition By supplierName order By SupplierId desc) As 'rn',* 阅读全文
posted @ 2020-11-04 14:57 温故纳新 阅读(172) 评论(0) 推荐(0) 编辑
摘要: -- 在表orders_ana_2020_temp添加yg_headfee 字段 alter table orders_ana_2020_temp add yg_headfee decimal(10,2) -- 修改已存在表字段类型ALTER TABLE item_inf ALTER COLUMN 阅读全文
posted @ 2020-11-03 17:07 温故纳新 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 使用公用表进行分页 declare @page int=1000000 -- 页码 declare @pageSize int=30 -- 页数 ;with data_cte as ( select ROW_NUMBER () over(order by id desc)'rn',* from or 阅读全文
posted @ 2020-11-03 08:53 温故纳新 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 背景 先看下面一段代码,看看运行结果 class Program { static void Main(string[] args) { AccountTest account = new AccountTest(); var tasks = new List<Task>(); var task1 阅读全文
posted @ 2020-11-01 19:51 温故纳新 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 问题截图: 解决方法: 打开cmd,输入“C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i” 阅读全文
posted @ 2020-10-31 19:12 温故纳新 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 问题截图: 解决方法: 安装如下功能 阅读全文
posted @ 2020-10-31 19:08 温故纳新 阅读(6272) 评论(2) 推荐(0) 编辑
摘要: 问题截图: 解决方法: 在cmd中运行下面两条命令C:\windows\system32\inetsrv\appcmd unlock config -section:system.webServer/handlers C:\windows\system32\inetsrv\appcmd unlock 阅读全文
posted @ 2020-10-31 19:05 温故纳新 阅读(294) 评论(0) 推荐(0) 编辑
摘要: CAS CAS(比较并交换)是一种无锁算法,lock是对共享资源加了互斥锁; CAS涉及三个操作数,内存地址V(即要修改的值的内存地址)、旧的预期值A和要修改的新值B,当且仅当旧的预期值A与内存地址V上的值一样时才把地址V上的值修改为新值B; CAS伪代码表示如下: do{ 备份内存地址V上的值为旧 阅读全文
posted @ 2020-10-31 16:34 温故纳新 阅读(150) 评论(0) 推荐(0) 编辑