导航

2018年9月22日

摘要: if (this.testDataSet1.TestTable.Rows.Count <= 0) { MessageBox.Show("没有找到相关的数据!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information); return; ... 阅读全文

posted @ 2018-09-22 14:52 竹子柱 阅读(164) 评论(0) 推荐(0) 编辑

2018年9月18日

摘要: SELECT a.name AS TableName, b.name AS ColName, c.name AS ValType, b.length AS ValLength FROM sysobjects a INNER JOIN syscolumns b ON a.id = b.id INNER JOIN systypes c ... 阅读全文

posted @ 2018-09-18 17:29 竹子柱 阅读(1382) 评论(0) 推荐(0) 编辑

2018年9月3日

摘要: 1 --取出数据库1中的表名,字段名 以及 数据类型 2 USE TestDB1; -- 3 GO 4 SELECT 5 a.name AS TableName, b.name AS ColName, c.name AS DataType 6 INTO 7 #tmptable 8 FROM 9 sysobjects a --存储库中所... 阅读全文

posted @ 2018-09-03 15:46 竹子柱 阅读(2747) 评论(1) 推荐(0) 编辑

2018年8月28日

摘要: 1 --普通方法赋值 2 declare @a int 3 set @a = 115 4 print @a 5 6 --Update 方法赋值 7 declare @name varchar(50) 8 update userTable set @name = fname where fid = '001' 9 print @name 10 11 --Select 语句赋值... 阅读全文

posted @ 2018-08-28 09:16 竹子柱 阅读(121) 评论(0) 推荐(0) 编辑

2018年8月27日

摘要: CREATE TRIGGER trg_delete ON tmp_table1 FOR DELETE AS DECLARE @PersonCode VARCHAR(20) , --个人ID号 @NAME VARCHAR(50) , --姓名 @DepCode VARCHAR(20) , --部门ID ... 阅读全文

posted @ 2018-08-27 19:02 竹子柱 阅读(93) 评论(0) 推荐(0) 编辑

摘要: 转自:https://www.cnblogs.com/ammy714926/p/4195392.html null不是对象,''是对象 从'',你就可以知道这是一个字符串类型的数据,是一个长度为零的字符串。 从NULL,你只能知道这里没有赋过值,是空的,他不属于任何数据类型。我们在数据库实际使用中, 阅读全文

posted @ 2018-08-27 17:33 竹子柱 阅读(120) 评论(0) 推荐(0) 编辑

2018年8月21日

摘要: 表中部分字段: leng wide qty unit mass 查询结果,如下图所示。 阅读全文

posted @ 2018-08-21 11:31 竹子柱 阅读(169) 评论(0) 推荐(0) 编辑

2018年8月16日

摘要: 由于 BrowerList 输出结果都是最后一条记录,后来网上查到了 仅仅是位置不同而已,结果却相大不相同 转自 https://blog.csdn.net/caluu/article/details/73321107 阅读全文

posted @ 2018-08-16 09:09 竹子柱 阅读(848) 评论(0) 推荐(0) 编辑

2018年8月15日

摘要: 网络资源下载网址 屏幕录像、图像处理,汉化和破解版本很新。国内破解汉化:大眼仔旭 http://www.dayanzai.me/ 开发工具,系统,数据库 http://msdn.itellyou.cn/ 图片素材,设计素材 http://www.zcool.com.cn 图片素材,设计素材 http 阅读全文

posted @ 2018-08-15 19:49 竹子柱 阅读(152) 评论(0) 推荐(0) 编辑

2018年8月8日

摘要: INSERT INTO dbo.SH_Back_Record SELECT * FROM dbo.KF_Back_Record WHERE ID BETWEEN '201800045' AND '201800050' 阅读全文

posted @ 2018-08-08 17:27 竹子柱 阅读(213) 评论(0) 推荐(0) 编辑