Let's go
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 54 下一页
摘要: 返回值组合: json返回 json数组 案例1: 1 public void GetClass(string name, string id) 2 { 3 try 4 { 5 string connectString = System.Configuration.ConfigurationSett 阅读全文
posted @ 2019-04-11 10:44 chenze 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 1.top 主要是在sql server 2000中使用,效率较差 2、row_number函数 这种方法是sql server 2005以后,支持了row_number函数后,才开始使用的。 3、SQL Server 2012开始支持的 offset fetch next 方法 阅读全文
posted @ 2019-04-10 10:47 chenze 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 1. 阅读全文
posted @ 2019-03-15 13:22 chenze 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 一丶 1.利用begin try--end try 、begin catch--end catch来处理是否回滚 1 begin transaction 2 begin try 3 SQL语句1 4 SQL语句2 5 commit transaction 6 end try 7 begin catc 阅读全文
posted @ 2019-03-07 10:21 chenze 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 一丶行专列案例【借鉴】 1.建立表格 IF OBJECT_ID('tb') IS NOT NULL DROP TABLE tb go CREATE TABLE tb(姓名 VARCHAR(10),课程 VARCHAR(10),分数 INT) insert into tb VALUES ('张三',' 阅读全文
posted @ 2019-03-01 09:53 chenze 阅读(735) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 54 下一页
有事您Q我