08 2015 档案

摘要:存储过程和自定义函数的区别 Difference between Procedure and User Defined Function 首先来看一下存储过程和自定义函数的概念 一、 什么是存储过程? 存储过程可以使得对数据库的管理、以及显示关于数据库及其用户信息的工作容易得多。存储过程是... 阅读全文
posted @ 2015-08-27 22:15 地狱猫 阅读(293) 评论(0) 推荐(0)
摘要:select * from t_Student where S_sex like '[女]' and S_class = 95031select * from t_Student order by S_class descselect * from t_Score order by C_no asc... 阅读全文
posted @ 2015-08-23 17:10 地狱猫 阅读(176) 评论(0) 推荐(0)
摘要:select S_name,S_sex,S_class from t_Studentselect * from t_Teacherselect * from t_Studentselect * from t_Score where S_chengji between 60 and 80select ... 阅读全文
posted @ 2015-08-23 16:20 地狱猫 阅读(199) 评论(0) 推荐(0)
摘要:sql语言的发展历史SQL是结构化查询语言(Structure Query Language)的缩写,它是使用关系模型的数据库应用语言,由IBM在70年代开发出来,作为IBM关系数据库原型System R的原型关系语言,实现了关系数据库中的信息检索。80年代初,美国国家标准局(ANSI)开始着手制定... 阅读全文
posted @ 2015-08-19 21:19 地狱猫 阅读(2062) 评论(0) 推荐(0)
摘要:全球唯一标识GUIDGUID(Global unique identifier)全局唯一标识符,它是由网卡上的标识数字(每个网卡都有唯一的标识号)以及 CPU 时钟的唯一数字生成的的一个 16 字节的二进制值。GUID 的格式为“xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx... 阅读全文
posted @ 2015-08-19 21:15 地狱猫 阅读(1208) 评论(0) 推荐(0)
摘要:时间戳由时间基准和时间戳值组成。时间基准:对时间单位(s)划分的标准。例如,1/25表示每秒分为25个单位,每个单位时间间隔包含1个单位。3001/90000表示每秒分为90000单位,每个单位时间间隔包含3001个单位。时间戳值:基于时间基准的时间表示,也即多少个单位时间间隔。1)时间戳的作用是用... 阅读全文
posted @ 2015-08-19 21:13 地狱猫 阅读(2626) 评论(0) 推荐(1)
摘要:SQL数据库的数据类型详细解释 (1)二进制数据类型 二进制数据包括 Binary、Varbinary 和 Image Binary 数据类型既可以是固定长度的(Binary),也可以是变长度的。 Binary[(n)] 是 n 位固定的二进制数据。其中,n 的取值范围是从 1 到... 阅读全文
posted @ 2015-08-17 00:15 地狱猫 阅读(4731) 评论(0) 推荐(0)
摘要:静态类和非静态类的主要区别主要区别在于静态类不能实例化,静态类编译器能够执行检查确保不是偶然的添加实例成员,C#编译器会自动把它标记为sealed,静态类中不能创建非静态的方法。即静态方法中只能创建静态方法,但在非静态类中可以调用静态方法静态类的主要特性:1:仅包含静态成员。2:无法实例化。3:是密... 阅读全文
posted @ 2015-08-13 21:44 地狱猫 阅读(344) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 函数__有无返回值{ class Program { struct Student ... 阅读全文
posted @ 2015-08-12 22:31 地狱猫 阅读(137) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace 遍历三维数组{ class Program { ... 阅读全文
posted @ 2015-08-10 21:10 地狱猫 阅读(364) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace _26个字母_0_9随机产生验证码{ class Program { static voi... 阅读全文
posted @ 2015-08-09 14:38 地狱猫 阅读(144) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 计算几天过生日{ class Program { static void Main(str... 阅读全文
posted @ 2015-08-09 13:32 地狱猫 阅读(206) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 字符串中截取b的数量{ class Program { static void Main(... 阅读全文
posted @ 2015-08-06 20:48 地狱猫 阅读(178) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 穷举_7_200被7整除的数_{ class Program { static void ... 阅读全文
posted @ 2015-08-05 21:39 地狱猫 阅读(192) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 九乘九乘法表格{ class Program { static void Main(str... 阅读全文
posted @ 2015-08-05 21:38 地狱猫 阅读(448) 评论(0) 推荐(0)
摘要:/// /// 是否为日期型字符串 /// /// 日期字符串(2008-05-08) /// public static bool IsDate(string StrSource) { ... 阅读全文
posted @ 2015-08-02 14:13 地狱猫 阅读(660) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 三个数中找最大{ class Program { static void Main(str... 阅读全文
posted @ 2015-08-02 14:06 地狱猫 阅读(125) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 闰年平年{ class Program { static void Main(string... 阅读全文
posted @ 2015-08-02 14:05 地狱猫 阅读(153) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 判断奇偶{ class Program { static void Main(string... 阅读全文
posted @ 2015-08-02 14:04 地狱猫 阅读(166) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 电话运营商电话{ class Program { static void Main(str... 阅读全文
posted @ 2015-08-02 14:03 地狱猫 阅读(164) 评论(0) 推荐(0)