上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 28 下一页
摘要: 如果是10gR1以上的版本,可以考虑使用MERGE INTO a USING b ON (a.id=b.userid) WHEN MATCHED THEN UPDATE SET pwd = b.password; 阅读全文
posted @ 2011-08-18 16:49 小さいです哥 阅读(227) 评论(0) 推荐(1)
摘要: string sql = "(select * from CorporationMainTable2 order by rowid) ta"; sql= "(select rownum rn , ta.* from " + s + " where rownum<" + (end + 1) + ")"; sql= "select * from " + s + " where rn >= " + begin;select *from (select rownum rn 阅读全文
posted @ 2011-08-01 20:15 小さいです哥 阅读(312) 评论(0) 推荐(0)
摘要: using System;using System.Web;using System.Xml;using System.Collections;using System.Net;using System.Text;using System.IO;/**//// <summary>/// 利用WebRequest/WebResponse进行WebService调用的类,By 同济黄正/// </summary>public class WebServices{ //<webServices> // <protocols> // <add na 阅读全文
posted @ 2011-07-08 12:34 小さいです哥 阅读(916) 评论(0) 推荐(0)
摘要: 注释一下,正则表达式[\u4e00-\u9fa5]表示匹配中文,则正则表达式[^\u4e00-\u9fa5]匹配非中文。用Replace方法将匹配的非中文替换为空字符串,也就是去除了文本中的非中文字符。string _s= Regex.Replace(_s, @"[\u4e00-\u9fa5]", ""); //去除汉字string _s= Regex.Replace(_s, @"[^\u4e00-\u9fa5]", ""); //只留汉字string ph = Regex.Replace(ph, @"\ 阅读全文
posted @ 2011-07-01 16:28 小さいです哥 阅读(826) 评论(0) 推荐(0)
摘要: set language englishselect convert(datetime,'10/dec/2009 12:22:31.120') from openrowset( 'SQLOLEDB ', '10.10.80.83'; 'sa'; 'Password#1',creditzj.dbo.X1)set language '简体中文' 阅读全文
posted @ 2011-06-19 15:21 小さいです哥 阅读(766) 评论(0) 推荐(1)
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using Microsoft.Synchronization;using System.IO;using Microsoft.Synchronization.Files;namespace SynchronizeFiles{ public partial class FormSyn 阅读全文
posted @ 2011-05-31 19:36 小さいです哥 阅读(440) 评论(1) 推荐(0)
摘要: ArrayList--> Array: (string[])ToArray(typeof(string)) Array--> ArrayList: 首先new一个ArrayList对象,然后,ArrayList.AddRange(Array) 阅读全文
posted @ 2011-05-31 12:40 小さいです哥 阅读(282) 评论(0) 推荐(0)
摘要: GRANT CTXAPP TO XYADMIN;Begin -- 定义一个词法分析器 --ctx_ddl.drop_preference('cnlex'); --ctx_ddl.create_preference('cnlex','CHINESE_LEXER'); --针对中文 ctx_ddl.create_preference('cnlex','chinese_vgram_lexer'); --针对中文 -- 定义一个相关词表 --ctx_ddl.drop_preference('mywordlist&# 阅读全文
posted @ 2011-05-30 14:01 小さいです哥 阅读(274) 评论(0) 推荐(0)
摘要: exp system/Password@credit owner=CREDIT_MANAGE file=/arch/credit_manager110527.dmp;exprm/rm1234@230orclowner=rmrows=yindexes=ncompress=nbuffer=65536fe... 阅读全文
posted @ 2011-05-27 17:38 小さいです哥 阅读(316) 评论(5) 推荐(1)
摘要: updatetest1asetname=(selectnamefromtest2bwherea.no=b.no and rownum = 1)where exists(select /*+ push_subq*/ 1fromtest2bwherea.no=b.no and rownum = 1); select * from dba_tab_col_statistics where table_name='BUSINESSBASICINFO'select count(0) from BusinessBasicInfo,CorporationMainTable; begin db 阅读全文
posted @ 2011-05-26 08:12 小さいです哥 阅读(213) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 28 下一页