
database
lion_6
这个作者很懒,什么都没留下…
展开
-
Dapper Plus - Bulk Merge
Dapper Plus - Bulk MergeDescriptionMERGE entities using Bulk Operation.Merge single Merge many Merge with relation (One to One) Merge with relation (One to Many)Example - Merge Single...原创 2019-11-08 16:40:21 · 664 阅读 · 0 评论 -
Dapper Plus - Bulk Delete
Dapper Plus - Bulk DeleteDescriptionDELETE entities using Bulk Operation.Delete single Delete many Delete with relation (One to One) Delete with relation (One to Many)Example - Delete ...原创 2019-11-08 16:38:46 · 320 阅读 · 0 评论 -
Dapper Plus - Bulk Update
Dapper Plus - Bulk UpdateDescriptionUPDATE entities using Bulk Operation.Update single Update many Update with relation (One to One) Update with relation (One to Many)Example - Update ...原创 2019-11-08 16:36:48 · 553 阅读 · 0 评论 -
Dapper Plus - Bulk Insert
Dapper Plus - Bulk InsertDescriptionINSERT entities using Bulk Operation.Insert single Insert many Insert with relation (One to One) Insert with relation (One to Many)Example - Insert ...原创 2019-11-08 16:35:49 · 1044 阅读 · 0 评论 -
SQL Server 大数据管理——表分区
背景:在前面两篇博文《SQL Server 大数据管理——数据归档(主文件备份)》、《SQL Server 大数据管理——数据归档(段落备份)》中,表分区在其中起到了主要作用,本文将介绍分区的实现及表分区的相关属性和操作。一. 创建分区文件组/文件 --创建分区文件组 alter database test add filegroup test2015 al...转载 2019-08-02 17:05:02 · 398 阅读 · 0 评论 -
数据库分析
SELECT creation_time N'语句编译时间' ,last_execution_time N'上次执行时间' ,execution_count N'执行次数' ,case datediff(ss,creation_time,last_execution_time) when 0 then 0 e转载 2018-01-21 21:32:53 · 653 阅读 · 0 评论 -
SQL Server 批量插入数据的两种方法
public static void BulkToDB(DataTable dt) { SqlConnection sqlConn = new SqlConnection( ConfigurationManager.ConnectionStrings["ConnStr"].ConnectionString); SqlBulkCopy bulk转载 2017-08-18 17:50:29 · 364 阅读 · 0 评论 -
解决DataSet不支持System.nullable
using System;using System.Data;using System.Collections;using System.Collections.Generic;using System.Configuration;using System.Reflection;using System.Linq;using System.Xml.Linq;na转载 2017-08-18 17:46:56 · 2449 阅读 · 0 评论