摘要: SELECT (case when a.colorder=1 then d.name else null end) 表名, a.colorder 字段序号,a.name 字段名,(case when COLUMNPROPERTY( a.id,a.name,'IsIdentity')=1 then ' 阅读全文
posted @ 2019-03-28 11:33 lovewl 阅读(2563) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://blog.csdn.net/qq_30629571/article/details/81065009 将10进制数字转成62进制数字 先定义62进制的代表字符: 1 static final char[] DIGITS = 2 { '0', '1', '2', '3', ' 阅读全文
posted @ 2019-03-13 14:05 lovewl 阅读(2767) 评论(0) 推荐(0) 编辑
摘要: [DllImport("rpcrt4.dll", SetLastError = true)] static extern int UuidCreateSequential(out Guid guid); public static Guid GenGuid() { const int RPC_S_O 阅读全文
posted @ 2019-01-29 17:25 lovewl 阅读(3831) 评论(0) 推荐(0) 编辑
摘要: SQL SERVER 创建自增GUID列 [Id] [uniqueidentifier] NOT NULL DEFAULT NEWSEQUENTIALID() SQL SERVER 创建自增GUID列 [Id] [uniqueidentifier] NOT NULL DEFAULT NEWSEQUE 阅读全文
posted @ 2019-01-28 15:36 lovewl 阅读(281) 评论(0) 推荐(0) 编辑
摘要: IDENT_CURRENT 返回为任何会话和任何作用域中的特定表最后生成的标识值。IDENT_CURRENT 不受作用域和会话的限制,而受限于指定的表。 @@IDENTITY 返回为当前会话的所有作用域中的任何表最后生成的标识值。 SCOPE_IDENTITY 返回为当前会话和当前作用域中的任何表最 阅读全文
posted @ 2019-01-28 15:07 lovewl 阅读(749) 评论(0) 推荐(0) 编辑
摘要: 配置输入法只需从安装输入法开始执行安装命令 1. sudo pacman-mirrors -g 2. sudo pacman-optimize && sync 3. sudo pacman -Syyu 4. 编辑 sudo nano /etc/pacman.conf 文件 [archlinuxcn] 阅读全文
posted @ 2019-01-28 14:32 lovewl 阅读(9997) 评论(0) 推荐(0) 编辑
摘要: 1 <?xml version="1.0" encoding="UTF-8"?> 2 <configuration> 3 <system.webServer> 4 <defaultDocument> 5 <files> 6 <remove value="default.aspx" /> 7 <rem 阅读全文
posted @ 2019-01-11 10:40 lovewl 阅读(1733) 评论(0) 推荐(0) 编辑
摘要: System.DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)); // Javascript时间戳 long timeStamp = (long)(DateTime.Now - startTime).TotalM... 阅读全文
posted @ 2018-11-30 13:27 lovewl 阅读(175) 评论(0) 推荐(0) 编辑
摘要: escape编码字符串 URL中有url为参数时用encodeURIComponent,其他用encodeURI 阅读全文
posted @ 2018-10-18 15:22 lovewl 阅读(140) 评论(0) 推荐(0) 编辑
摘要: C++函数特性需要添加 extern "C" __declspec(dllexport) C#函数特性需要添加 [DllImport("dll文件名", CallingConvertion = CallingConvertion.Cdecl)] 阅读全文
posted @ 2018-10-09 14:08 lovewl 阅读(131) 评论(0) 推荐(0) 编辑