1 select count(*) from sysobjects a 2 join syscolumns b 3 on a.id=b.id4 where a.name='表名'5 go
分类:
数据库 时间:
2015-05-28 19:53:32
阅读次数:
185
1 use master 2 go 3 select * from sys.dm_os_buffer_descriptors 4 go 5 6 --查看数据库在数据缓存(data cache)中占用的空间大小 7 --由于每个数据页对应动态管理视图(dynamic management view.....
分类:
数据库 时间:
2015-05-28 19:48:13
阅读次数:
281
Oracle表连接SQL/Oracle使用表连接从多个表中查询数据语法格式:select 字段列表from table1,table2where table1.column1=table2.column2;说明:在where子句中指定连接条件当被连接的多个表中存在同名字段时,必须在该字段前加上"表名...
分类:
数据库 时间:
2015-05-28 19:46:52
阅读次数:
177
Array类通用数组类定义如下。final
classArray[A](len:Int)extendsSeq[A]{deflength:Int=lendef
apply(i:Int):A=...defupdate(i:Int,x:A):Unit=...defelements:
Iterator[A]=...defsubArray(from:Int,end:Int):Array[A]=...def
filter(p:A=>Boolean):Array[A]=...defmap[B](..
分类:
编程语言 时间:
2015-05-28 18:20:21
阅读次数:
331
合并文件
C:\Users\Administrator\Desktop
dir
copy *.txt all.txt
#pause
from:...
update vouchers b ,( select a.id from ?vouchers a ?where a.reason=‘XX‘ and a.id not in ( select minid from ( SELECT min(id)minid, userid FROM vouchers WHERE reason = ‘XX‘ GROUP BY userid ) ss ) ...
分类:
数据库 时间:
2015-05-28 16:28:31
阅读次数:
300
Given a list of integers (A1, A2, …, An), and a positive integer M, please find the number of positive integers that are not greater than M and dividable by any integer from the given list.InputThe inp...
分类:
其他好文 时间:
2015-05-28 16:11:16
阅读次数:
117
一、flex与js通信(通过flex调用js方法)var urlR:URLRequest = new URLRequest("javascript:test('from flex')");navigateToURL(urlR, "_self");其中URLRequest中的js方法必须用引号test...
分类:
Web程序 时间:
2015-05-28 15:52:30
阅读次数:
145
select * from call_cdr_xz_200609 a where and a.ori_charge0 and exists(select 1 from special b where a.called_nbr like b.special_nbr||'%' and b.billi.....
分类:
数据库 时间:
2015-05-28 15:39:46
阅读次数:
182
Problem Description
There is a sequence firstly empty. We begin to add number from 1 to N to the sequence, and every time we just add a single number to the sequence at a specific position. Now, we w...
分类:
其他好文 时间:
2015-05-28 14:11:18
阅读次数:
103