摘要: 作者:Syn良子 出处:http://www.cnblogs.com/cssdongl 转载请注明出处 快速mark一下这个命令细节,免得以后使用又忘记了 大家都知道可以用echo来输出内容到文件,比如 echo “hello,word”>> temp.txt 那么我现在想把hadoop或者 ...
分类:
系统相关 时间:
2017-04-07 18:07:42
阅读次数:
627
原理:和冒泡排序相似: 没次循环找出最大(最小的一个) 但是不同的是, 只是把进行位置调换 示例图: 核心代码: int[] arr = { 23, 44, 66, 11, 3, 76, 98, 9, 7 }; int temp = 0; int pos = 0; for (int i = 0; i ...
分类:
编程语言 时间:
2017-04-07 15:06:13
阅读次数:
164
在有些关联表的数据比较多的情况,可以先筛选出一部分临时表。然后用临时表关联。优化速度从15s提升到3s 形式如 select * into #tempTable1 from Table1 where CurrentVersion_SID=@temp_versionID select * into # ...
分类:
其他好文 时间:
2017-04-06 17:03:13
阅读次数:
179
排序 冒泡排序: 1 function BubbleSort($arr){ 2 for($i=0;$i<count($arr);$i++){ 3 for($j=$i+1;$j<count($arr);$j++){ 4 if($arr[$i]<$arr[$j]){ 5 $temp=$arr[$i]; ...
分类:
编程语言 时间:
2017-04-05 16:17:46
阅读次数:
217
IF OBJECT_ID('tempdb..#TB_TEMP_SPACE') IS NOT NULL DROP TABLE #TB_TEMP_SPACE GO CREATE TABLE #TB_TEMP_SPACE( NAME VARCHAR(500) ,ROWS INT ,RESERVED VAR... ...
分类:
数据库 时间:
2017-04-05 16:06:25
阅读次数:
176
--创建一个用户yong2,yong2的表空间为users,临时表空间为temp,users的表空间大小为10M,密码立刻过期,用户锁定。 CREATE USER yong2IDENTIFIED BY qwerDEFAULT TABLESPACE usersTEMPORARY TABLESPACE ...
分类:
数据库 时间:
2017-04-04 19:31:59
阅读次数:
226
#include<stdio.h>
voidprintk(intarray[],intlen)
{
intm;
for(m=0;m<len;m++)
{
printf("%d",array[m]);
printf("\n");
}
//printf("\n");
}
voidswap(intarray[],inti,intj)
{
inttemp=array[i];
array[i]=array[j];
array[j]=temp;
}
voidsort(intarray[],intlen)..
分类:
编程语言 时间:
2017-04-04 18:03:51
阅读次数:
125
#include<stdio.h>
voidprintk(intarray[],intlen)
{
intm;
for(m=0;m<len;m++)
{
printf("%d",array[m]);
printf("\n");
}
//printf("\n");
}
voidswap(intarray[],inti,intj)
{
inttemp=array[i];
array[i]=array[j];
array[j]=temp;
}
voidsort(intarray[],i..
分类:
编程语言 时间:
2017-04-04 18:02:41
阅读次数:
127
1 function fore(){ 2 var temp = ""; 3 var tabLen = document.getElementById("tableID"); 4 var jsonT = "{pieTes:["; 5 for(var i = 0; i < tabLen.rows.len... ...
分类:
Web程序 时间:
2017-04-04 13:40:05
阅读次数:
339
电脑缓存目录: 1.取消文件隐藏 2.找到C:\Users\lwx351192\AppData\Local\Temp目录下的三个子文件夹local,locallow,roaming里面的文件都可删除, temp文件夹下,存放了一些解压文件,安装软件时就从这里调取数据特别是一些制图软件,体积非常大,占 ...
分类:
其他好文 时间:
2017-04-04 11:39:36
阅读次数:
167