• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






阿犇,

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2022年12月27日

SQL Server JSON 转行 后转列
摘要: 1.使用ParseJsonFunc JSON转行 USE [DataIntegration]GO CREATE FUNCTION [dbo].[ParseJsonFunc]( @json nvarchar(max) ) RETURNS @hierarchy table ( object_id int 阅读全文
posted @ 2022-12-27 16:52 Abel, 阅读(327) 评论(0) 推荐(0)
 
SQL Server分割函数
摘要: USE [数据库名]GO create function [dbo].[f_split]( @c varchar(2000),--需要分割的字符串(例如:1,2,3,4,5 我|和|你) @split varchar(2)--分隔符(例如 , | $))returns @t table(col va 阅读全文
posted @ 2022-12-27 16:44 Abel, 阅读(150) 评论(0) 推荐(0)
 
SQL Server项目实用技巧-适用灵活掌握查询公司字段、表、存储等关系
摘要: 1.查询数据库中表涉及到的存储过程 SELECT A.name FROM SYSOBJECTS A ,SYSCOMMENTS B WHERE A.id=B.id and type='p'AND B.text LIKE '%表名%' 2.查询表索引 SELECT 索引名称=a.name ,表名=c.n 阅读全文
posted @ 2022-12-27 16:18 Abel, 阅读(92) 评论(0) 推荐(0)
 

2020年10月28日

.net 死锁
摘要: 一.什么是死锁? 死锁是由于两个或以上的线程互相持有对方需要的资源,导致这些线程处于等待状态,无法执行。 二.产生死锁的四个必要条件 1.互斥性:线程对资源的占有是排他性的,一个资源只能被一个线程占有,直到释放。 2.请求和保持条件:一个线程对请求被占有资源发生阻塞时,对已经获得的资源不释放。 3. 阅读全文
posted @ 2020-10-28 14:31 Abel, 阅读(337) 评论(0) 推荐(0)
 

2020年10月15日

C#微信小程序搜索框
摘要: 话不多说,直接上代码,希望帮助到各位!谢谢 <view> <view> <view class="weui-search-bar"> <view class="weui-search-bar__form"> <!-- 最初始时的搜索框 --> <view class="weui-search-bar 阅读全文
posted @ 2020-10-15 15:41 Abel, 阅读(198) 评论(0) 推荐(0)
 
C#微信小程序滑动删除
摘要: .wxml 1 <!--滑动删除--> 2 <view class="container"> 3 <view class="touch-item {{item.isTouchMove ? 'touch-move-active' : ''}}" data-index="{{index}}" 4 bin 阅读全文
posted @ 2020-10-15 15:36 Abel, 阅读(89) 评论(0) 推荐(0)
 

2020年9月2日

Linq语句的使用
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using System.Data.Linq 阅读全文
posted @ 2020-09-02 11:40 Abel, 阅读(137) 评论(0) 推荐(0)
 
MVC导出
摘要: /// <summary> /// 导出 /// </summary> /// <returns></returns> public FileResult XiaZai() { //查询到数据 var result = bll.showinfo(); if (result != null || re 阅读全文
posted @ 2020-09-02 09:49 Abel, 阅读(75) 评论(0) 推荐(0)
 

2020年8月20日

MVC实现显示二维码和条形码
摘要: 1.引用Zxing.Net 2.控制器代码 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using ZXing; using ZX 阅读全文
posted @ 2020-08-20 09:12 Abel, 阅读(177) 评论(0) 推荐(0)