说实的,使用MS SQL
Server这样久,游标一直没有使用过。以前实现相似的功能,都是使用WHILE循环加临时表来实现。刚才有参考网上示例练习写了一下。了解到游标概念与语法。下面代码示例中,先是宣告你在游标中需使用变量,也就是临时存储处理字段的数据。2.
宣告一个游标,并SELECT需要处理的数...
分类:
数据库 时间:
2014-06-16 08:12:21
阅读次数:
232
int kmp(char * t,int lenT,char * pat,int lenPat){
int posP=0,posT=0; int[] f=partialMatch(pat,lenPat)//获取pat字符串的部分匹配数组 while(posP
str[0:k]==...
分类:
其他好文 时间:
2014-06-16 00:57:05
阅读次数:
268
When trying to install mercury quality center
starter edition 9.0 on Windows XP media center, I am getting the following error
Wrong attributes "An er...
分类:
数据库 时间:
2014-06-12 18:07:45
阅读次数:
344
#include#includeusing namespace std;char
c[100],ans[100];int main(){ int len; cin>>len; while(len--) {
cin>>c; int m; cin>>m; int len=strlen(c); int b...
分类:
其他好文 时间:
2014-06-12 07:40:23
阅读次数:
215
PHP5.4 的while / for / break / continue、PHP5.4
的系统函数和自定义函数 论坛交流:http://bbs.php100.com/read-htm-tid-150407.html PHP5.4 的while /
for / break / continue.....
分类:
Web程序 时间:
2014-06-12 07:21:25
阅读次数:
310
[java]view
plaincopy错误代码如下:严重:IOExceptionwhileloadingpersistedsessions:java.io.EOFExceptionjava.io.EOFExceptionatjava.io.ObjectInputStream$PeekInputSt...
分类:
编程语言 时间:
2014-06-12 06:57:01
阅读次数:
459