2021年6月11日

摘要: CHAR vs VARCHAR, NCHAR vs NVARCHAR CHAR, NCHAR : 固定长度(最多8000个英文,4000个汉字) 如定义CHAR(5),无论使用字符多少都会占用5字节 VARCHAR, NVARCHAR : 可变长度(最多8000个英文,4000个汉字)如定义VARC 阅读全文
posted @ 2021-06-11 13:00 leaves0529 阅读(139) 评论(0) 推荐(0) 编辑
 
摘要: create INDEX projects_creater_ix on projects(creater) Drop INDEX projects_creater_ix 阅读全文
posted @ 2021-06-11 12:43 leaves0529 阅读(16) 评论(0) 推荐(0) 编辑
 
摘要: NOT NULL UNIQUE:CONSTRAINT uc_PersonID UNIQUE (Id_P,LastName) PRIMARY KEY:CONSTRAINT pk_PersonID PRIMARY KEY (Id_P) FOREIGN KEY:FOREIGN KEY (Id_P) REF 阅读全文
posted @ 2021-06-11 11:14 leaves0529 阅读(38) 评论(0) 推荐(0) 编辑
 
摘要: 1nf : atomic 2nf : partial dependencies 3nf : transitive dependency 阅读全文
posted @ 2021-06-11 10:43 leaves0529 阅读(21) 评论(0) 推荐(0) 编辑

2019年11月26日

摘要: 概念 线程属于进程的一部分,一个进程包括多个线程。进程是代码存放的地址空间,这里面存放的代码通过线程来执行。 单CPU的操作系统通过时间片来分配线程,看似多线程实为单线程。 实现方法 1、Timer类 是Sealed类,不能被继承。 2、ThreadPool类 适用于多个小线程。 3、Thread类 阅读全文
posted @ 2019-11-26 14:20 leaves0529 阅读(117) 评论(0) 推荐(0) 编辑
 
摘要: 例: (詳しい内容が後で追加) 阅读全文
posted @ 2019-11-26 14:13 leaves0529 阅读(64) 评论(0) 推荐(0) 编辑
 
摘要: 1.場合 select...caseが複雑の時 2.運用方法 虽然apply性能低,但是也有其用武之地,当需要按照顺序进行连接时,apply是最好的选择。 阅读全文
posted @ 2019-11-26 09:51 leaves0529 阅读(113) 评论(0) 推荐(0) 编辑

2019年3月11日

摘要: 1.x++ is a method , the return value is x. (post increment) ++x is also a method , the return value is x+1. (pre increment) 2.muti-dim Array int[][] m 阅读全文
posted @ 2019-03-11 15:42 leaves0529 阅读(96) 评论(0) 推荐(0) 编辑

2019年3月10日

摘要: 1.If ( str1==str2 ) means if str1 and str2 are refers to the same OBJECT. But when compare string , they are not the same actual object. So we usually 阅读全文
posted @ 2019-03-10 18:11 leaves0529 阅读(77) 评论(0) 推荐(0) 编辑

2019年3月8日

摘要: 1.Local variable(local) ex. int i = 0; factorial(i); the "i" outside the method factorial(i) is called local variable ; and the "i" in method factoria 阅读全文
posted @ 2019-03-08 15:30 leaves0529 阅读(80) 评论(0) 推荐(0) 编辑