摘要: 1、将1.786516e+22通过Excel 转成正常数值: a 2、查询条件 where中 value>a; 阅读全文
posted @ 2023-02-03 11:01 阿小星 阅读(82) 评论(0) 推荐(0)
摘要: select ROW_NUMBER() over (order by name) as id,name into #t from sysobjects where xtype='U'; declare @i int,@c int set @i=0 select @c=count(1) from #t 阅读全文
posted @ 2020-07-13 11:15 阿小星 阅读(295) 评论(0) 推荐(0)
摘要: 微信公众号服务器配置 这里微信要求 原样返回 这是一个坑 因为Get到之后大部分返回的是 string 类型 , 但是这样返回的是带有双引号的 , 所以微信会提示你token验证失败 解决方案如下: 将string类型转换为long类型就可以通过验证了 阅读全文
posted @ 2019-12-27 10:07 阿小星 阅读(4688) 评论(0) 推荐(0)
摘要: [DllImport("wininet.dll", CharSet = CharSet.Auto, SetLastError = true)] public static extern bool InternetSetCookie(string lpszUrlName, string lbszCoo 阅读全文
posted @ 2019-12-20 16:00 阿小星 阅读(1365) 评论(0) 推荐(0)
摘要: 原始数据与期望结果有表tb, 如下:id value 1 aa,bb2 aaa,bbb,ccc欲按id,分拆value列, 分拆后结果如下:id value 1 aa1 bb2 aaa2 bbb2 ccc方法一 create table tb(id int,value varchar(30)) in 阅读全文
posted @ 2019-11-22 15:21 阿小星 阅读(4733) 评论(0) 推荐(0)
摘要: 在vs编辑器中有时需要批量删除无用的空白行,为此,可以使用vs编辑器的查找替换功能: 1. Ctrl+H,打开替换功能框。 2.选择“使用正则表达式”,“当前文档”。 3.在查找框中输入: (?<=\r\n)\r\n 4.全部替换 本文链接:https://blog.csdn.net/zyghs/a 阅读全文
posted @ 2019-09-16 14:17 阿小星 阅读(1018) 评论(0) 推荐(1)
摘要: 执行C#动态代码 1 using System; 2 using System.Data; 3 using System.Configuration; 4 using System.Text; 5 using System.CodeDom.Compiler; 6 using Microsoft.CS 阅读全文
posted @ 2019-01-08 16:01 阿小星 阅读(1301) 评论(0) 推荐(0)
摘要: Math.Abs(x) x绝对值 Math.Acos(x) 余弦值为x的角度 Math.Asin(x) 正弦值为x的角度 Math.Atan(x) 正切值为x的角度 Math.Atan2(x, y) 正切值为 x y 的商的角度 Math.BigMul(x, y) x,y 的完整乘积 Math.Ce 阅读全文
posted @ 2019-01-08 15:58 阿小星 阅读(2404) 评论(0) 推荐(0)
摘要: CREATE TABLE [StudentScores] ( [UserName] NVARCHAR(20), --学生姓名 [Subject] NVARCHAR(30), --科目 [Score] FLOAT, --成绩 ) INSERT INTO [StudentScores] SELECT '张三', '语文', 80 INSERT INTO [StudentScores] SELECT... 阅读全文
posted @ 2018-12-28 14:01 阿小星 阅读(476) 评论(0) 推荐(0)
摘要: VS2017个人免费版即社区官方下载地址为:https://download.microsoft.com/download/D/1/4/D142F7E7-4D7E-4F3B-A399-5BACA91EB569/vs_Community.exe 阅读全文
posted @ 2018-12-24 13:10 阿小星 阅读(2874) 评论(1) 推荐(0)