摘要:
在开启跟踪时,可以打开“RowCounts”列,根据受影响的行数,可以大概判断该语句是执行成功还是失败 阅读全文
摘要:
部分代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using S 阅读全文
摘要:
一、SQL SERVER 连接字符串语法: 1、SQL SERVER验证(两种写法)(安全连接) string connStr = "Data Source=.;Initial Catalog=DatabaseName;User Id=sa;Password=123"; 或 string connS 阅读全文
摘要:
class A { public int num = 3; public void m1(B b) { b.m2(this); } } class B { public void m2(A a) { Console.WriteLine(a.num); } } class Test { public 阅读全文
摘要:
转载自:https://blog.csdn.net/fightHHA/article/details/81626383 https://blog.csdn.net/weixin_49199646/article/details/109492763?spm=1001.2101.3001.6650.8& 阅读全文
摘要:
1、方法重写 class Parent { public void m1() { m2(); } public virtual void m2() { Console.WriteLine("I am Parent."); } } class Child : Parent { public overr 阅读全文
摘要:
VisualStudio2019安装完成之后,由于开发需求需要安装其它模块或组件,点击工具,选择获取工具和功能,进行选择安装。 做个笔记随笔记录一下。 选择需要的模块进行即可。 【转自】https://www.cnblogs.com/jiayan1578/p/13665423.html 阅读全文
摘要:
1、 if 参数 = 值1 begin 执行代码1 end else if 参数 = 值1 begin 执行代码2 end else begin 执行代码3 end 2、goto 标签 3、 declare @busno varchar(10) = '0001' -- = 'ALL' -- = '' 阅读全文
摘要:
数据迁移:把旧数据库中的所有用户表数据插入到新库存中 --新数据库为:hydee --旧数据库为:hdyee_old use hydee; go set nocount on SET QUOTED_IDENTIFIER OFF declare @sql nvarchar(max) declare @ 阅读全文
摘要:
详细内容查看:https://blog.csdn.net/weixin_43347659/article/details/120829241 查询某个表的主键名称: select c.name from sys.indexes i join sys.index_columns ic on i.obj 阅读全文