摘要: #原表 #直接拼接 #去重,但未去空 #去重且去空 阅读全文
posted @ 2019-09-06 14:29 丶愤怒的蘑菇 阅读(1871) 评论(0) 推荐(0) 编辑
摘要: --根据索引idx值获取格式串中第idx个值 如数据'11,12,13,14,15,16' 方法:格式串+分隔符;@str='11,12,13,14,15,16'+',' select dbo.GetStrByindex('11,12,13,14,15,16,', ',', 3); -- 13 cr 阅读全文
posted @ 2019-09-06 13:46 丶愤怒的蘑菇 阅读(444) 评论(0) 推荐(0) 编辑
摘要: if (exists (select * from sys.objects where name = 'up_test')) drop proc up_testgoCreate PROC [dbo].[up_test]as declare @SQL nvarchar(max), @SQL1 nvar 阅读全文
posted @ 2019-09-06 11:56 丶愤怒的蘑菇 阅读(602) 评论(0) 推荐(0) 编辑
摘要: --MSSql 保留两位小数的用法1: round(@sum,2),2: Convert(decimal(18,2),@sum) select round(9,2) --9 是想要的效果select round(9.1248,2) --9.1200 不是想要的效果 select Convert(de 阅读全文
posted @ 2019-09-06 10:23 丶愤怒的蘑菇 阅读(2803) 评论(0) 推荐(0) 编辑
摘要: ★、本实例使用百度智能云-人工智能-人脸识别API实现。 ★、楼下安装了刷脸进门。闲暇时无聊写了个Demo 主界面显示如下图: 本实例,包括了所有人脸识别API的调用。 1、 创建楼号,对应API中创建用户组,详见: https://ai.baidu.com/docs#/Face-Set-V3/58 阅读全文
posted @ 2019-08-28 22:37 丶愤怒的蘑菇 阅读(850) 评论(0) 推荐(1) 编辑