摘要: 首先下载SVN程序包,安装SVN TortoiseSVN-1.10.1.28295-x64-svn-1.10.2.msi。一直单击下一步即可。 当前版本地址:Downloading File /Archive/1.10.1/Language Packs/LanguagePack_1.10.1.282 阅读全文
posted @ 2022-08-08 13:23 进步者One 阅读(708) 评论(0) 推荐(0) 编辑
摘要: select * into 目标表名 from 源表名 insert into 目标表名(fld1, fld2) select fld1, 5 from 源表名 以上两句都是将'源表'的数据插入到'目标表',但两句又有区别的: 第一句(select into from)要求目标表不存在,因为在插入时 阅读全文
posted @ 2022-07-29 17:22 进步者One 阅读(2514) 评论(0) 推荐(0) 编辑
摘要: 解决方案一 创建缺少的用户/帐户并授予“用户名”@“主机名”的权限 即使您不打算使用Confluence该用户连接到MySQL,MySQL也将使用该用户来运行该过程:DEFINER CREATE USER IF NOT EXISTS <username> IDENTIFIED BY '<passwo 阅读全文
posted @ 2022-07-26 17:52 进步者One 阅读(821) 评论(0) 推荐(0) 编辑
摘要: 查看sqlserver被锁的表: select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJEC 阅读全文
posted @ 2022-07-15 09:34 进步者One 阅读(1890) 评论(0) 推荐(0) 编辑
摘要: var _SetBasePath = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location); var Configuration = new ConfigurationBuilder() .SetBasePath(_SetBasePa 阅读全文
posted @ 2022-05-26 11:50 进步者One 阅读(67) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 从字符串前面删除指定字符个数 /// </summary> /// <param name="s">字符串</param> /// <param name="len">个数</param> /// <returns>返回删除后的字符串</returns> publ 阅读全文
posted @ 2022-04-02 16:37 进步者One 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 查看视图结构 1: select text from syscomments where id=object_Id('视图名')2: sp_helptext 视图名 创建视图 1: create view View_EdsProd as select * from Tab_EdsProd where 阅读全文
posted @ 2022-03-01 09:35 进步者One 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 一、获取集合内重复值 public void GetDuplicateValue() { List<string> lisA = new List<string> { "A", "B", "C", "A" }; //方式一 借助字典 Dictionary<string, int> dic = new 阅读全文
posted @ 2021-04-30 15:17 进步者One 阅读(3922) 评论(0) 推荐(0) 编辑
摘要: 在 Startup.cs 的 ConfigureServices() 方法中添加下面的一行代码: services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All)); 一行注入,立马解决。依赖注入的威力,.NET Core的魅力。 更新1:根据  阅读全文
posted @ 2020-09-14 08:23 进步者One 阅读(234) 评论(0) 推荐(0) 编辑
摘要: EF Core 迁移整理 PowerShell Add-Migration InitialCreate 多数据源 Add-Migration InitialCreate -Context MyDbContext -OutputDir Migrations\SqlServerMigrations Ad 阅读全文
posted @ 2020-07-30 11:12 进步者One 阅读(285) 评论(0) 推荐(0) 编辑