<!--打赏 End-->
摘要: public class MainClass { public static void Main() { int[] arr = new int[] { 1, 5, 3, 6, 10, 55, 9, 2, 87, 12, 34, 75, 33, 47 }; ShellSort1(arr); fore 阅读全文
posted @ 2017-12-15 10:23 mikefts 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 交换排序 :冒泡排序,快速排序 选择排序:直接选择排序,堆排序 插入排序:直接插入排序,希尔排序 合并排序:合并排序 public class Program { static void Main(string[] args) { int[] array=new int[10]; Random rd 阅读全文
posted @ 2017-12-14 09:39 mikefts 阅读(176) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { try { double numa = Convert.ToDouble(Console.ReadLine()); string oper = Console.ReadLine(); double numb = Convert.To 阅读全文
posted @ 2017-12-06 11:40 mikefts 阅读(197) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/dayang12525/p/7866766.html https://www.cnblogs.com/davytitan/p/4081573.html https://www.cnblogs.com/tuyile006/archive/2008/06/ 阅读全文
posted @ 2017-12-03 17:03 mikefts 阅读(141) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/kissdodog/archive/2013/05/07/3064895.html using System.Web; public sealed class Cache : IEnumerable{} namespace ConsoleApplicat 阅读全文
posted @ 2017-12-02 12:15 mikefts 阅读(223) 评论(0) 推荐(0) 编辑
摘要: create table test(x varchar(50)); insert into test select '134654哈哈他大爷123' union all select '????哈哈他大爷123' union all select ',,,,哈哈他大爷123' union all s 阅读全文
posted @ 2017-12-01 13:30 mikefts 阅读(82) 评论(0) 推荐(0) 编辑
摘要: declare @i int,@t int set @t=0; set @i=2; while @i<=10 begin set @t=@t+@i; set @i=@i+2; end print @t begin waitfor time'8:00' execute sp_addrole 'mana 阅读全文
posted @ 2017-11-27 23:59 mikefts 阅读(103) 评论(0) 推荐(0) 编辑
摘要: create view testview as 聚集索引 表中数据行的物理存储顺序与索引顺序完全相同 非聚集索引 不改变表中数据行的物理存储顺序,数据与索引分开存储,索引中仅包含 索引值和指向数据行的指针 create unique clustered index ix_briday on dbo. 阅读全文
posted @ 2017-11-26 22:55 mikefts 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 选中数据库,可编程性,类型,用户自定义数据类型,增加 删除 use test go exec sp_addtype phonecall, 'char(11)','not null' go use test go exec sp_droptype 'phonecall' go alter table 阅读全文
posted @ 2017-11-26 00:28 mikefts 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 创建数据库 create database testdb1 on( name=testdb1, filename='d:\testdb1.mdf', size=10, maxsize=50, filegrowth=1 ) log on( name=testdb_log, filename='d:\t 阅读全文
posted @ 2017-11-25 15:37 mikefts 阅读(194) 评论(0) 推荐(0) 编辑