锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲av无码一区二区三区网站,爱情岛亚洲论坛在线观看,亚洲精品无码永久在线观看男男http://m.tkk7.com/hgq0011/category/2989.html綆鍗曠殑浜嬫儏閲嶅鍋氾紝灝變細浜х敓绱Н鏁堝簲錛?/description>zh-cnTue, 20 Mar 2007 07:10:18 GMTTue, 20 Mar 2007 07:10:18 GMT60CPU浣跨敤鐜囦笉楂橈紝鍐呭瓨鎬庝箞浣跨敤鐜囦篃涓嶉珮錛屼絾緋葷粺鍋囨浜?/title><link>http://m.tkk7.com/hgq0011/archive/2007/03/19/104771.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Mon, 19 Mar 2007 09:20:00 GMT</pubDate><guid>http://m.tkk7.com/hgq0011/archive/2007/03/19/104771.html</guid><wfw:comment>http://m.tkk7.com/hgq0011/comments/104771.html</wfw:comment><comments>http://m.tkk7.com/hgq0011/archive/2007/03/19/104771.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/hgq0011/comments/commentRss/104771.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/hgq0011/services/trackbacks/104771.html</trackback:ping><description><![CDATA[ 鍦ㄤ竴涓紒涓氫腑寰呬袱騫村浜嗭紝閬囧埌鍚勭闂錛屽緢澶氶兘娌℃湁緇忛獙錛屽彧鑳借冭嚜宸卞幓鎽哥儲銆? 鐜板湪鍙堥亣鍒頒竴涓棶棰橈紝鍦↖BM鍒鐗囨湇鍔″櫒涓婇潰錛?G鐨勫唴瀛橈紝sql server澶ф浣跨敤鍒?G宸﹀彸 灝卞崌涓嶄笂鍘諱簡錛屼絾鏄叕鍙鎬嬌鐢ㄧ殑緋葷粺鐨勫ぇ騫跺彂浣跨敤鐨勬椂鍊欙紝灝卞嚭鐜板亣姝葷殑鐜拌薄錛屾暣涓郴緇? 灝變笉鑳戒嬌鐢ㄤ簡錛孋PU浣跨敤鐜囦篃鎵?0錛呭乏鍙熾傝繖闂鍙儊闂峰憖錛屽張鐗╃悊璧勬簮涓嶈兘澶熺敤鍒幫紝緋葷粺 鏈夊嚭鐜伴棶棰樸傛壘浜嗗緢涔呬篃娌℃湁鎵懼埌闂鐨勬墍鍦紝紼嬪簭搴旇闂涓嶅ぇ錛屽簲璇ュ鉤鏃墮兘鐢ㄧ殑濂藉ソ鐨勶紝 鏈澶氬湪澶у茍鍙戞椂錛屽鐞嗙殑涓嶅濂姐傞偅鍒板簳鏄負浠涔堝憿錛熸垜浠鐤戝拰鎿嶄綔緋葷粺鏈夊叧錛熺劧鍚庯紝鎴戜滑 灝卞紑濮嬫壘鐩稿叧鐨勮祫鏂欙紝涓涓悓浜嬪湪SQL SERVER鐨勬枃妗d笂鎵懼埌浜嗛棶棰樻墍鍦紝涓嬮潰鏄粠SQL SERVER 涓憳褰曠殑: SQL Server 2000 浼佷笟鐗堝湪 Windows 2000 Advanced Server 涓婂彲璁塊棶澶х害 8 GB 鍐呭瓨錛? 鍦?Windows 2000 Data Center 涓婂彲璁塊棶澶х害 64 GB 鐨勫唴瀛樸傛爣鍑?32 浣嶅湴鍧鏈澶氬彲鏄犲皠 4 GB 鐨勫唴瀛樸傚洜姝?32 浣?Microsoft Windows NT? 4.0 鍜?Windows 2000 榪涚▼鐨勬爣鍑嗗湴鍧絀洪棿闄愬埗鍒? 4 GB銆傞粯璁ゆ儏鍐典笅錛屼負鎿嶄綔緋葷粺鐣欏嚭 2 GB 鐨勫湴鍧絀洪棿錛屼笖鏈?2 GB 鍙緵搴旂敤紼嬪簭浣跨敤銆? 鍝︼紝鍘熸潵闂鏄笉鍚岀殑鎿嶄綔緋葷粺錛屼笉鍚屾暟鎹簱浼氭湁涓嶅悓鍔熻兘錛岄檺鍒朵竴浜涜祫婧愩傜湅鏉ヨ繕鏄澶氭濊? 澶氬疄闄咃紝榪欐牱鎵嶈兘鑾峰緱鏇村鐨勭粡楠屻? <img src ="http://m.tkk7.com/hgq0011/aggbug/104771.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/hgq0011/" target="_blank">Harryson</a> 2007-03-19 17:20 <a href="http://m.tkk7.com/hgq0011/archive/2007/03/19/104771.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>褰?IDENTITY_INSERT 璁劇疆涓?OFF 鏃訛紝涓嶈兘鍚戣〃 涓殑鏍囪瘑鍒楁彃鍏ユ樉寮忓箋?/title><link>http://m.tkk7.com/hgq0011/archive/2006/10/30/77979.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Mon, 30 Oct 2006 02:07:00 GMT</pubDate><guid>http://m.tkk7.com/hgq0011/archive/2006/10/30/77979.html</guid><wfw:comment>http://m.tkk7.com/hgq0011/comments/77979.html</wfw:comment><comments>http://m.tkk7.com/hgq0011/archive/2006/10/30/77979.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://m.tkk7.com/hgq0011/comments/commentRss/77979.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/hgq0011/services/trackbacks/77979.html</trackback:ping><description><![CDATA["褰?IDENTITY_INSERT 璁劇疆涓?OFF 鏃訛紝涓嶈兘鍚戣〃聽 涓殑鏍囪瘑鍒楁彃鍏ユ樉寮忓箋?琛ㄧず褰撹〃鐨勫叧閿瓙璁劇疆涓鴻嚜鍔ㄧ敓鎴?閭d箞浣犱笉鑳藉瀹冧慨鏀?<img src ="http://m.tkk7.com/hgq0011/aggbug/77979.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/hgq0011/" target="_blank">Harryson</a> 2006-10-30 10:07 <a href="http://m.tkk7.com/hgq0011/archive/2006/10/30/77979.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SQL Server 涓嶅瓨鍦ㄦ垨鎷掔粷璁塊棶http://m.tkk7.com/hgq0011/archive/2006/10/03/73280.htmlHarrysonHarrysonTue, 03 Oct 2006 06:28:00 GMThttp://m.tkk7.com/hgq0011/archive/2006/10/03/73280.htmlhttp://m.tkk7.com/hgq0011/comments/73280.htmlhttp://m.tkk7.com/hgq0011/archive/2006/10/03/73280.html#Feedback0http://m.tkk7.com/hgq0011/comments/commentRss/73280.htmlhttp://m.tkk7.com/hgq0011/services/trackbacks/73280.htmlSQL Server 涓嶅瓨鍦ㄦ垨鎷掔粷璁塊棶"鐪嬫潵鏄笉鑳借闂埌鏈嶅姟鍣ㄤ簡.鎴戜竴涓狦OOGLE,鍘熸潵闂榪樻瘮杈冮殣钄?
http://tech.ccidnet.com/pub/article/c1099_a214511_p1.html鎸夌収榪欑瘒鏂囩珷鐨勪粙緇?鎴戣鐪熺殑媯鏌ヤ簡鏈哄櫒鍜岀綉緇?鏈鍚庡彂鐜版槸闃茬伀澧欏湪鎼為.鎵浠?榪樻槸瑕佸瀹為檯,鎵嶈兘鍙戠幇闂,瑙e喅闂.


Harryson 2006-10-03 14:28 鍙戣〃璇勮
]]>
瀵歸摼鎺ョ殑鏈嶅姟鍣ㄨ繍琛屽垎甯冨紡浜嬪姟澶勭悊鏃跺嚭鐜伴敊璇?/title><link>http://m.tkk7.com/hgq0011/archive/2006/05/10/45361.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Wed, 10 May 2006 02:13:00 GMT</pubDate><guid>http://m.tkk7.com/hgq0011/archive/2006/05/10/45361.html</guid><wfw:comment>http://m.tkk7.com/hgq0011/comments/45361.html</wfw:comment><comments>http://m.tkk7.com/hgq0011/archive/2006/05/10/45361.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/hgq0011/comments/commentRss/45361.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/hgq0011/services/trackbacks/45361.html</trackback:ping><description><![CDATA[聽聽聽聽聽聽聽聽 聽榪愯紼嬪簭鍑虹幇浜嗗涓嬬殑閿欒:<br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #000000">聽聽聽聽聽聽java聽sql聽SQLException:聽</span><span style="COLOR: #ff0000">[</span><span style="COLOR: #ff0000">Microsoft</span><span style="COLOR: #ff0000">][</span><span style="COLOR: #ff0000">SQLServer聽2000聽Driver聽for聽JDBC</span><span style="COLOR: #ff0000">][</span><span style="COLOR: #ff0000">SQLServer</span><span style="COLOR: #ff0000">]</span><span style="COLOR: #000000">The聽operation聽could聽</span><span style="COLOR: #808080">not</span><span style="COLOR: #000000">聽be聽performed聽because聽the聽OLE聽DB聽provider聽</span><span style="COLOR: #ff0000">'</span><span style="COLOR: #ff0000">SQLOLEDB</span><span style="COLOR: #ff0000">'</span><span style="COLOR: #000000">聽was聽unable聽</span><span style="COLOR: #0000ff">to</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">begin</span><span style="COLOR: #000000">聽a聽</span><span style="COLOR: #0000ff">distributed</span><span style="COLOR: #000000">聽</span><span style="COLOR: #0000ff">transaction</span><span style="COLOR: #000000">聽</span></div>聽聽聽聽聽聽聽 浠旂粏鐨勫垎鏋愪簡紼嬪簭,鍥犱負鎴戝湪紼嬪簭涓敤浜?br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #000000">con.setAutoCommit(</span><span style="COLOR: #0000ff">false</span><span style="COLOR: #000000">);<br />聽聽聽 .........<br />聽聽 con.commit();</span></div>鑰屽湪涓棿鎴戣皟鐢ㄤ簡涓涓鍥?榪欎釜瑙嗗浘榪滅▼璁塊棶浜嗗彟涓涓暟鎹簱,鐒跺悗璋冪敤鐨勬椂鍊欏氨鍑虹幇浜嗕笂闈㈡墍鎻忓彊鐨勯棶棰?浣嗗疄闄呬笂鍦ㄦ垜榪欒竟嫻嬭瘯鐨勬椂鍊欐病鏈夐棶棰?灝辨槸鍦ㄧ敤鎴烽偅杈規湁闂,鍙兘浠栦滑閭h竟鐨勭幆澧冧笉涓鏍峰惂.<br />鍦ㄧ綉涓婃壘浜嗙浉鍏崇殑鏂囩珷:<br />聽聽聽1)http://support.microsoft.com/?scid=kb;zh-cn;329332&spid=2852&sid=318<br />聽聽聽 2)http://www.cnxuexi.com/computer/chengxusheji/shujuku/4373.html<br />瑙e喅鐨勫姙娉?<br />聽聽聽1)鍘繪帀閭d釜瑙嗗浘,鐢ㄥ叾瀹冪殑鍔炴硶鑾峰彇鐩稿叧鐨勬暟鎹?br />聽聽聽 2)璋冪敤瑙嗗浘鐨勪唬鐮佷笉鏀懼湪浜嬪姟涓?<br />聽聽聽 3)嫻嬭瘯鐩稿叧鐨勭幆澧?鍙兘璁劇疆鏈夐棶棰?聽聽聽 <br />閭d綅鏈夋洿濂界殑鍔炴硶涓瀹氳鍛婅瘔鎴?璋㈣阿!<br /><img src ="http://m.tkk7.com/hgq0011/aggbug/45361.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/hgq0011/" target="_blank">Harryson</a> 2006-05-10 10:13 <a href="http://m.tkk7.com/hgq0011/archive/2006/05/10/45361.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>error,鎬庢牱澧炲姞''tempdb'鐨勭┖闂?http://m.tkk7.com/hgq0011/archive/2006/04/21/42327.htmlHarrysonHarrysonFri, 21 Apr 2006 07:23:00 GMThttp://m.tkk7.com/hgq0011/archive/2006/04/21/42327.htmlhttp://m.tkk7.com/hgq0011/comments/42327.htmlhttp://m.tkk7.com/hgq0011/archive/2006/04/21/42327.html#Feedback0http://m.tkk7.com/hgq0011/comments/commentRss/42327.htmlhttp://m.tkk7.com/hgq0011/services/trackbacks/42327.html java.sql.SQLException:聽[Microsoft][SQLServer聽 2000 聽Driver聽 for 聽JDBC][SQLServer]鏈?br />鑳戒負鏁版嵁搴撀?/span> ' tempdb ' 聽鍒嗛厤鏂伴〉銆傚湪鏂囦歡緇劼燚EFAULT聽涓凡娌℃湁鏇村鐨勯〉鍙緵浣跨敤銆傞噰鍙栭櫎
鍘誨璞°佹坊鍔犲彟澶栫殑鏂囦歡鎴栧厑璁告枃浠跺闀跨瓑鎵嬫鍙垱寤虹┖闂淬?/span>

Harryson 2006-04-21 15:23 鍙戣〃璇勮
]]>
"鏃犳硶瑙e喅 equal to 鎿嶄綔鐨勬帓搴忚鍒欏啿紿??http://m.tkk7.com/hgq0011/archive/2006/02/14/30627.htmlHarrysonHarrysonTue, 14 Feb 2006 08:08:00 GMThttp://m.tkk7.com/hgq0011/archive/2006/02/14/30627.htmlhttp://m.tkk7.com/hgq0011/comments/30627.htmlhttp://m.tkk7.com/hgq0011/archive/2006/02/14/30627.html#Feedback0http://m.tkk7.com/hgq0011/comments/commentRss/30627.htmlhttp://m.tkk7.com/hgq0011/services/trackbacks/30627.html鏃犳硶瑙e喅 equal to 鎿嶄綔鐨勬帓搴忚鍒欏啿紿?FONT size=1>"
   鍦ㄧ綉涓奼oogle鍘熸潵鏄帓搴忚鍒欏湪鍊掕泲.
   璧勬枡:
    http://www.cublog.cn/opera/showart.php?blogid=8707&id=59268
    http://support.microsoft.com/default.aspx?scid=kb%3Bzh-cn%3B325335#XSLTH4185121121120121120120


Harryson 2006-02-14 16:08 鍙戣〃璇勮
]]>
Error establishing socket????http://m.tkk7.com/hgq0011/archive/2006/02/08/29871.htmlHarrysonHarrysonWed, 08 Feb 2006 00:54:00 GMThttp://m.tkk7.com/hgq0011/archive/2006/02/08/29871.htmlhttp://m.tkk7.com/hgq0011/comments/29871.htmlhttp://m.tkk7.com/hgq0011/archive/2006/02/08/29871.html#Feedback0http://m.tkk7.com/hgq0011/comments/commentRss/29871.htmlhttp://m.tkk7.com/hgq0011/services/trackbacks/29871.html鍚姩鏈嶅姟鍑虹幇濡備笅閿欒錛?/P>
WARN - JDBCExceptionReporter.logExceptions(71| SQL Error: 0, SQLState: null
ERROR 
- JDBCExceptionReporter.logExceptions(72| Cannot create PoolableConnecti
onFactory (
[Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
)
WARN 
- SettingsFactory.buildSettings(103| Could not obtain connection metadata

org.apache.commons.dbcp.SQLNestedException: Cannot 
create PoolableConnectionFact
ory (
[Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.)
        at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
rce.java:
855)
        at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
.java:
540)
        at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.
getConnection(LocalDataSourceConnectionProvider.java:
80)
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:
72)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:
1463
)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
a:
1004)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSession
Factory(LocalSessionFactoryBean.java:
746)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPrope
rtiesSet(LocalSessionFactoryBean.java:
673)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:
962)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:
354)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:
223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:
147)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:
176)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:
105)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:
916)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:
727)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:
336)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:
223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:
147)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:
176)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:
105)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:
916)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:
727)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:
336)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:
223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:
147)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:
271)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:
312)
        at org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:
134)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:230)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:
156)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:
48)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:
3805)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:
4
321)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:
823)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
80
7)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
595)

        at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:
277)
        at org.apache.catalina.core.StandardHost.install(StandardHost.java:
832)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:
687)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:
432
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:
968)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:
349)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:
119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1091)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:
789)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1083)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
478
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:
4
76)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:
231
3)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:
556)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:
39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:
25)
        at java.lang.reflect.Method.invoke(Method.java:
585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
284)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:
422)
Caused 
by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Err
or establishing socket.
        at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source
)
        at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
        at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
        at com.microsoft.jdbc.sqlserver.tds.TDSConnection.
<init>(Unknown Source)

        at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.
open(Unknown Sou
rce)
        at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown S
ource)
        at com.microsoft.jdbc.base.BaseConnection.
open(Unknown Source)
        at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
        at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(Driv
erConnectionFactory.java:
37)
        at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(Poolable
ConnectionFactory.java:
290)
        at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(Bas
icDataSource.java:
877)
        at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
rce.java:
851)
         
56 more

瑙e喅鏂規錛?BR>     1錛?A >http://dev.csdn.net/article/70/70360.shtm
      2錛夐噸鏂板惎鍔ㄦ満鍣?BR>

Harryson 2006-02-08 08:54 鍙戣〃璇勮
]]>
[杞澆]SQL 榪囩▼鐨勬ц兘: 鎻愮ず鍜屾妧宸?/title><link>http://m.tkk7.com/hgq0011/archive/2006/01/24/29075.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Tue, 24 Jan 2006 02:35:00 GMT</pubDate><guid>http://m.tkk7.com/hgq0011/archive/2006/01/24/29075.html</guid><wfw:comment>http://m.tkk7.com/hgq0011/comments/29075.html</wfw:comment><comments>http://m.tkk7.com/hgq0011/archive/2006/01/24/29075.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/hgq0011/comments/commentRss/29075.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/hgq0011/services/trackbacks/29075.html</trackback:ping><description><![CDATA[<A >http://www-128.ibm.com/developerworks/cn/db2/library/techarticles/0306arocena/0306arocena.html</A><img src ="http://m.tkk7.com/hgq0011/aggbug/29075.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/hgq0011/" target="_blank">Harryson</a> 2006-01-24 10:35 <a href="http://m.tkk7.com/hgq0011/archive/2006/01/24/29075.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>sql server澶囦喚鏁版嵁搴?/title><link>http://m.tkk7.com/hgq0011/archive/2006/01/11/27546.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Wed, 11 Jan 2006 03:11:00 GMT</pubDate><guid>http://m.tkk7.com/hgq0011/archive/2006/01/11/27546.html</guid><wfw:comment>http://m.tkk7.com/hgq0011/comments/27546.html</wfw:comment><comments>http://m.tkk7.com/hgq0011/archive/2006/01/11/27546.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/hgq0011/comments/commentRss/27546.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/hgq0011/services/trackbacks/27546.html</trackback:ping><description><![CDATA[      鏁版嵁鏄紒涓氱殑閲嶈淇℃伅,鍙兘涔熸槸鍟嗕笟鏈哄瘑.鎵浠ユ垜浠竴瀹氳鍙婃椂鐨勪綔濂藉浠?淇濋噸鏁版嵁鐨勫畨鍏?<BR>涓嬮潰鏄璁′簡涓涓瓨鍌ㄨ繃紼嬫潵澶囦喚鏁版嵁.濡傛灉瑕佸疄鐜拌嚜鍔ㄧ殑澶囦喚浣犲彲浠ユ墽琛屼竴涓換鍔℃潵鑷姩鐨勫鐞?<BR> <DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">CREATE</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">procedure</SPAN><SPAN style="COLOR: #000000"> AutoBackupDataBase<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008080">--</SPAN><SPAN style="COLOR: #008080">WITH ENCRYPTION  鍔犲瘑</SPAN><SPAN style="COLOR: #008080"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">As</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">Begin</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">declare</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Str</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #000000">varchar</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #800000">8</SPAN><SPAN style="COLOR: #000000">)<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">declare</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Str_d</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #000000">varchar</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #800000">8</SPAN><SPAN style="COLOR: #000000">)<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">declare</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Str_DB</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #000000">varchar</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #800000">100</SPAN><SPAN style="COLOR: #000000">)<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">declare</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Str_DB_d</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #000000">varchar</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #800000">100</SPAN><SPAN style="COLOR: #000000">)<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">declare</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Str_LOG</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #000000">varchar</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #800000">50</SPAN><SPAN style="COLOR: #000000">)<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">Declare</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@StrPath</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #000000">varchar</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #800000">50</SPAN><SPAN style="COLOR: #000000">)<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">declare</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Name</SPAN><SPAN style="COLOR: #000000"> sysname<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">set</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Str</SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #ff00ff">convert</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #000000">char</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #800000">10</SPAN><SPAN style="COLOR: #000000">),</SPAN><SPAN style="COLOR: #ff00ff">getdate</SPAN><SPAN style="COLOR: #000000">(),</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #800000">112</SPAN><SPAN style="COLOR: #000000">)<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">set</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Str_d</SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #ff00ff">convert</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #000000">char</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #800000">10</SPAN><SPAN style="COLOR: #000000">),</SPAN><SPAN style="COLOR: #ff00ff">getdate</SPAN><SPAN style="COLOR: #000000">()</SPAN><SPAN style="COLOR: #808080">-</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #800000">7</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #800000">112</SPAN><SPAN style="COLOR: #000000">)<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">set</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@StrPath</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #000000">  </SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #ff0000">E:\BackupData\EveryDayBackup\</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">declare</SPAN><SPAN style="COLOR: #000000"> DBName </SPAN><SPAN style="COLOR: #0000ff">cursor</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">for</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">select</SPAN><SPAN style="COLOR: #000000"> Name </SPAN><SPAN style="COLOR: #0000ff">from</SPAN><SPAN style="COLOR: #000000"> master.dbo.sysdatabases </SPAN><SPAN style="COLOR: #0000ff">where</SPAN><SPAN style="COLOR: #000000"> name</SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #ff0000">DG_DB</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #808080">or</SPAN><SPAN style="COLOR: #000000"> name</SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #ff0000">HKbomdb</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #000000"> <BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">open</SPAN><SPAN style="COLOR: #000000"> DBName<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">FETCH</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">NEXT</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">FROM</SPAN><SPAN style="COLOR: #000000"> DBName </SPAN><SPAN style="COLOR: #0000ff">into</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Name</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">WHILE</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #008000">@@FETCH_STATUS</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #800000">0</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff">BEGIN</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top>        </SPAN><SPAN style="COLOR: #008080">--</SPAN><SPAN style="COLOR: #008080">鍒犻櫎7澶╀互鍓嶇殑澶囦喚</SPAN><SPAN style="COLOR: #008080"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">        </SPAN><SPAN style="COLOR: #0000ff">set</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Str_DB_d</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #ff0000">del  </SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #808080">+</SPAN><SPAN style="COLOR: #008000">@StrPath</SPAN><SPAN style="COLOR: #808080">+</SPAN><SPAN style="COLOR: #008000">@Name</SPAN><SPAN style="COLOR: #808080">+</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #ff0000">_DB</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #808080">+</SPAN><SPAN style="COLOR: #008000">@Str_d</SPAN><SPAN style="COLOR: #000000"> <BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">print</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Str_DB_d</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">exec</SPAN><SPAN style="COLOR: #000000"> master..xp_cmdshell </SPAN><SPAN style="COLOR: #008000">@str_db_d</SPAN><SPAN style="COLOR: #000000">        <BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">set</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Str_DB</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #008000">@StrPath</SPAN><SPAN style="COLOR: #808080">+</SPAN><SPAN style="COLOR: #008000">@Name</SPAN><SPAN style="COLOR: #808080">+</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #ff0000">_DB</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #808080">+</SPAN><SPAN style="COLOR: #008000">@Str</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top>        </SPAN><SPAN style="COLOR: #008080">--</SPAN><SPAN style="COLOR: #008080">set @Str_LOG =@StrPath+@Name+'_LOG'+@Str</SPAN><SPAN style="COLOR: #008080"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">        </SPAN><SPAN style="COLOR: #0000ff">BACKUP</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">DATABASE</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Name</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">TO</SPAN><SPAN style="COLOR: #000000">  </SPAN><SPAN style="COLOR: #0000ff">DISK</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Str_DB</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">WITH</SPAN><SPAN style="COLOR: #000000">  NOINIT ,  NOUNLOAD ,  NAME </SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #000000"> N</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #ff0000">鎵鏈夋暟鎹簱澶囦喚</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #000000">,  NOSKIP ,  STATS </SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #800000">10</SPAN><SPAN style="COLOR: #000000">,  NOFORMAT<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top>        </SPAN><SPAN style="COLOR: #008080">--</SPAN><SPAN style="COLOR: #008080">BACKUP LOG bdm TO  DISK = @Str_LOG WITH  NOINIT ,  NOUNLOAD ,  NAME = N'鎵鏈夋暟鎹簱鏃ュ織澶囦喚',  NOSKIP ,  STATS = 10,  NOFORMAT,  NO_TRUNCATE </SPAN><SPAN style="COLOR: #008080"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">        </SPAN><SPAN style="COLOR: #0000ff">FETCH</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">NEXT</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">FROM</SPAN><SPAN style="COLOR: #000000"> DBName </SPAN><SPAN style="COLOR: #0000ff">INTO</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@Name</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff">END</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">CLOSE</SPAN><SPAN style="COLOR: #000000"> DBName<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">DEALLOCATE</SPAN><SPAN style="COLOR: #000000"> DBName<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">end</SPAN></DIV><img src ="http://m.tkk7.com/hgq0011/aggbug/27546.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/hgq0011/" target="_blank">Harryson</a> 2006-01-11 11:11 <a href="http://m.tkk7.com/hgq0011/archive/2006/01/11/27546.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鎻愰珮鏌ヨ鏁版嵁鐨勬ц兘鍘嗛櫓璁?/title><link>http://m.tkk7.com/hgq0011/archive/2005/12/07/22875.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Wed, 07 Dec 2005 07:36:00 GMT</pubDate><guid>http://m.tkk7.com/hgq0011/archive/2005/12/07/22875.html</guid><wfw:comment>http://m.tkk7.com/hgq0011/comments/22875.html</wfw:comment><comments>http://m.tkk7.com/hgq0011/archive/2005/12/07/22875.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/hgq0011/comments/commentRss/22875.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/hgq0011/services/trackbacks/22875.html</trackback:ping><description><![CDATA[                                    鎻愰珮鏌ヨ鏁版嵁鐨勬ц兘<BR>     鎴戣礋璐g殑閭d釜欏圭洰閲囩敤浜唚ebwork + spring + hibernate 鐨勬灦鏋?鐢ㄥ埌浜?涓暟鎹簱.鐜板湪宸茬粡姝f槸浣跨敤浜?鍏堝簡紲濅竴涓?IMG height=20 src="http://m.tkk7.com/Emoticons/QQ/47.gif" width=20 border=0>.鐢ㄦ埛鍙嶆槧閫熷害寰堟參,璇存湁鏃朵竴涓煡璇㈣絳?0縐掑乏鍙?濡ㄧ浜嗕粬浠殑宸ヤ綔.浠栦滑榪欎箞涓璇?鎴戝氨 寮濮嬫壘鍘熷洜浜?鎴戜互涓烘槸鐢ㄤ簡hibernate寮曡搗鐨?鎵浠ヨ鏁欎簡鎴戠殑鏈嬪弸--waterYe. 闂簡浠栦竴浜涘叧浜庢庢牱浼樺寲hibernate.姣斿璇寸敤lazy load .鍙痟ibernate 3.0榛樿鏂瑰紡鏄痩azy load.鑰屼笖琛ㄩ棿鐨勫叧緋繪槸鎵嬪伐鎺у埗鐨?(濂藉儚瀵瑰瓧孌典篃鑳絣azy load,涓嶈繃鎴戣繕娌℃湁瀹炶返榪?IMG height=19 src="http://m.tkk7.com/Emoticons/red_smile.gif" width=19 border=0>).鐒跺悗鎴戞妸閰嶇疆鏂囦歡鍙戠粰浠栬浠栫粰鎴戠湅鐪?waterYe寰堝揩灝卞彂鐜頒簡闂,浠栧彂鐜版垜娌℃湁浣跨敤鏁版嵁搴撹繛鎺ユ睜(榪欎釜鎴戜竴鐩村埌鐢ㄤ簡,鎬庝箞鍙兘娌℃湁鍛?).鍘熸潵鎴戝湪appllicationContext-hibernate.xml鏂囦歡涓敤浜?org.springframework.jdbc.datasource.DriverManagerDataSource"榪欎釜騫舵病鏈夋彁渚涜繛鎺ユ睜鐨勫姛鑳?榪欎釜鏄垜娌℃湁娉ㄦ剰鍒扮殑.鎴戞槸鐢╡quinox鏂板緩鐨勯」鐩?鎴戜互涓哄畠鐢ㄤ簡榪炴帴姹?浠ュ悗瀛︿範榪囩▼涓湡瑕佹妸瀹冧滑鍚冮?涓瀹氳鐭ュ叾鎵浠ョ劧.鏈鍚庢垜鏀圭敤浜咮asicDataSource.璇峰弬鑰?A >http://www.is.pku.edu.cn/blog/?date=2004-12-29&id=2&m=display</A>  .Water Yer 寤鴻鎴戠敤WEB鏈嶅姟鐨凧NDI鐨勬柟寮忎細濂戒簺. 浠栬繕鍙戠幇浜嗕竴涓棶棰樺氨鏄垜鎶婂緢澶欰rrayList絳夋暟鎹斁鍦ㄤ簡session涓?鍏跺疄鎴戠煡閬撹繖鏍峰仛鑲畾涓嶅ソ,鍙垜涓嶇煡鍒版庢牱鎶夾ction涓殑ArrayList鐨勬暟鎹紶鐨凧SP欏甸潰涓?<IMG height=19 src="http://m.tkk7.com/Emoticons/confused_smile.gif" width=19 border=0>鎵浠ュ氨鐢ㄤ簡session) ,鏈嬪弸寤鴻鎴戞敼鎴愭斁鍒皉equest涓?涓嶇煡鏈夋病鏈夋洿濂界殑鏂規硶<IMG height=20 src="http://m.tkk7.com/Emoticons/QQ/noidea.gif" width=20 border=0>).鍙慨鏀瑰畬榪欎簺鏌ヨ鐨勬ц兘娌℃湁鏄庢樉鐨勬彁楂?<IMG height=20 src="http://m.tkk7.com/Emoticons/QQ/noidea.gif" width=20 border=0><BR>      榪欎釜緋葷粺鏄竴涓瘮杈冮噸瑕佺殑緋葷粺,瀵規ц兘瑕佹眰姣旇緝楂?鎵浠ュぇ瀹墮兘寰堥噸瑙?鎵浠ユ垜浠殑鑰佸ぇ,涔熷湪涓烘垜鎯充竴浜涘姙娉?浠婂ぉ涓涓婄彮,灝辨妸鎴戝彨榪囧幓,涓璧瘋璁烘暟鎹簱浼樺寲.鍏跺疄鎴戜篃鏈夋兂鍒拌繃鏁版嵁搴撴柟闈㈣偗瀹氫篃鏄獎鍝嶆ц兘涔嬩竴,榪樻湁灝辨槸緗戠粶闃誨.鐢變簬涓婃槦鏈熶簲鎴戝氨璇峰亣鍥炲,鏃墮棿闈炲父绱у紶鎵浠ヤ篃娌℃湁蹇欒繃鏉?<BR>    鑰佸ぇ璇村彲鑳芥妸瀛樺偍榪囩▼鏀規垚瑙嗗浘鍙兘浼氬ソ鐐?鐒跺悗鎴戜咯灝辨妸瀛樺偍榪囩▼鏀規垚浜嗚鍥炬潵姣旇緝鍒板簳閭d釜榪愯鐨勯熷害蹇?鍙垜浠彂鐜版敼瀹岀殑鏁堟灉涓嶆槸寰堟槑鏄?宸笉澶?.鐢變簬榪炴帴鍒?涓暟鎹簱,鑰屼笖浠栦滑鐨勬暟鎹篃寰堝,璇鋒眰澶勭悊鐨勪笟鍔¢昏緫涔熷緢澶嶆潅,鐢ㄥ埌浜?涓瓨鍌ㄨ繃紼?鑰佸ぇ鍙堟彁鍑?鏄笉鏄垱寤虹儲寮曞彲鑳戒細鍙堟晥鍛?鎴戜滑鍙堝紑濮嬪鎵鏈夎〃鍒涘緩绱㈠紩(璇峰弬鑰?A >http://www.vckbase.com/document/viewdoc/?id=1307</A>).鏋滅湡鏌ヨ鐨勯熷害寰堝揩浜?瀹㈡埛涔熸弧鎰忎簡,褰撶劧鎴戜篃闈炲父鐨勯珮鍏?鍙堣В鍐充簡涓涓棶棰?<BR>   鎵浠ラ亣鍒伴棶棰樹竴瀹氳浠庡鏂歸潰鏉ヨ冭檻,浠旂粏鎯充竴鎯?澶氭祴璇?澶氭壘璧勬枡,鐩鎬俊闂涓瀹氭湁瑙e喅鍔炴硶.<img src ="http://m.tkk7.com/hgq0011/aggbug/22875.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/hgq0011/" target="_blank">Harryson</a> 2005-12-07 15:36 <a href="http://m.tkk7.com/hgq0011/archive/2005/12/07/22875.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>sql涓浜涘父鐢ㄧ殑鏂規硶http://m.tkk7.com/hgq0011/archive/2005/09/08/12442.htmlHarrysonHarrysonThu, 08 Sep 2005 08:26:00 GMThttp://m.tkk7.com/hgq0011/archive/2005/09/08/12442.htmlhttp://m.tkk7.com/hgq0011/comments/12442.htmlhttp://m.tkk7.com/hgq0011/archive/2005/09/08/12442.html#Feedback0http://m.tkk7.com/hgq0011/comments/commentRss/12442.htmlhttp://m.tkk7.com/hgq0011/services/trackbacks/12442.html闃呰鍏ㄦ枃

Harryson 2005-09-08 16:26 鍙戣〃璇勮
]]>
sql server 閾炬帴鏈嶅姟鍣?/title><link>http://m.tkk7.com/hgq0011/archive/2005/09/06/12173.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Tue, 06 Sep 2005 01:53:00 GMT</pubDate><guid>http://m.tkk7.com/hgq0011/archive/2005/09/06/12173.html</guid><wfw:comment>http://m.tkk7.com/hgq0011/comments/12173.html</wfw:comment><comments>http://m.tkk7.com/hgq0011/archive/2005/09/06/12173.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/hgq0011/comments/commentRss/12173.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/hgq0011/services/trackbacks/12173.html</trackback:ping><description><![CDATA[<P><FONT face=瀹嬩綋,sans-serif>sql server 閾炬帴鏈嶅姟鍣?銆鍒涘緩涓涓摼鎺ョ殑鏈嶅姟鍣紝浣垮叾鍏佽瀵瑰垎甯冨紡鐨勩侀拡瀵?OLE DB 鏁版嵁婧愮殑寮傜被鏌ヨ榪涜璁塊棶錛岀敤鏉ラ摼鎺ヨ繙紼嬬殑鏁版嵁搴撱?</FONT></P> <P><FONT face=瀹嬩綋,sans-serif>閾炬帴vfp鏁版嵁鎹袱縐嶆柟寮忥細</FONT></P> <P><FONT face=瀹嬩綋,sans-serif>銆銆銆1錛?/P> <DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid"> <DIV><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #ff00ff">openrowset</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #ff0000">MSDASQL</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #000000">,<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top>             </SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #ff0000">Driver=Microsoft Visual FoxPro Driver;SourceType=DBF;SourceDB=\\Files-              server\JM_MIS\Data\</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #000000">, </SPAN><SPAN style="COLOR: #008080">--</SPAN><SPAN style="COLOR: #008080">緗戠粶鐩綍</SPAN><SPAN style="COLOR: #008080"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">              </SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #ff0000">select * from [PO.DBF]</SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #000000">)<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV></DIV> <P></FONT><FONT face=瀹嬩綋>      2)浣跨敤閾炬帴鏈嶅姟銆?/FONT></P> <P><FONT face=瀹嬩綋>銆銆銆銆銆a)浣跨敤緋葷粺瀛樺偍榪囩▼(sp_addlinkedserver)鏉ユ坊鍔犻摼鎺ユ湇鍔″櫒 </FONT></P> <P><FONT face=瀹嬩綋>            EXEC sp_addlinkedserver <BR>                 <FONT face=鏂板畫浣?<STRONG>@server</STRONG> = </FONT>'WF', //瑕佸垱寤虹殑閾炬帴鏈嶅姟鍣ㄧ殑鏈湴鍚嶇О<BR>                <FONT face=鏂板畫浣?<STRONG>@srvproduct</STRONG> = </FONT> '', //瑕佹坊鍔犱負閾炬帴鏈嶅姟鍣ㄧ殑 OLE DB 鏁版嵁婧愮殑浜у搧鍚嶇О<BR>                <STRONG>@provider =</STRONG> 'MSDASQL',//涓庢鏁版嵁婧愮浉瀵瑰簲鐨?OLE DB 鎻愪緵紼嬪簭鐨勫敮涓紼嬪簭鏍囪瘑絎?(PROGID<BR>                <STRONG>@datasrc =</STRONG> 'product'//鐢?OLE DB 鎻愪緵紼嬪簭瑙i噴鐨勬暟鎹簮鍚嶇О</FONT></P> <P><FONT face=瀹嬩綋>          b) 鍦ㄢ漵ql浼佷笟綆$悊鈥?-->鈥漵ql server緇勨滐紞錛嶏紴鈥濇煇涓粍鍛樷滐紞錛嶏紴鈥濆畨鍏ㄦр滐紞錛嶏紴鈥濋摼鎺ユ湇鍔″櫒鈥滄潵娣誨姞錛堝垹闄わ級閾炬帴鏈嶅姟鍣?/FONT></P> <P><FONT face=瀹嬩綋>            娉ㄦ剰錛氫綘蹇呴』娣誨姞涓涓狾DBC緋葷粺鏁版嵁婧?prodcut).涔熻ODBC OLE DB錛堥┍鍔ㄧ▼搴忥級鐨勬柟寮忎笉鏀寔榪滅▼璁塊棶錛屽畠鍙sql server鏈満鏌ヨ錛屾洿鏂拌搗浣滅敤銆傚綋鐒跺彧瑕佷綘鑳界敤sql server鑳介氳繃ODBC OLE DB閾炬帴鍒版暟鎹紝閭d箞浣犲氨鑳藉湪sql SERVER涓紩鐢紙select * from WF.product..po鎴栬卻elect * from OPENQUERY(WF, 'SELECT * FROM po')</FONT><FONT face=瀹嬩綋>錛夊畠鐨勬暟鎹簡銆?IMG src="http://www.blogdriver.com/jsp/face/47.gif"><BR></FONT></P><img src ="http://m.tkk7.com/hgq0011/aggbug/12173.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/hgq0011/" target="_blank">Harryson</a> 2005-09-06 09:53 <a href="http://m.tkk7.com/hgq0011/archive/2005/09/06/12173.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>sql server 榪滅▼寮曠敤http://m.tkk7.com/hgq0011/archive/2005/09/06/12172.htmlHarrysonHarrysonTue, 06 Sep 2005 01:51:00 GMThttp://m.tkk7.com/hgq0011/archive/2005/09/06/12172.htmlhttp://m.tkk7.com/hgq0011/comments/12172.htmlhttp://m.tkk7.com/hgq0011/archive/2005/09/06/12172.html#Feedback0http://m.tkk7.com/hgq0011/comments/commentRss/12172.htmlhttp://m.tkk7.com/hgq0011/services/trackbacks/12172.html鍦╯ql server 涓兘榪滅▼鏌ヨ鏇存柊鏁版嵁(OPENDATASOURCE)

       涓嶇粡甯鎬嬌鐢ㄧ殑鏁版嵁鍙互鐢∣PENDATASOURCE,openrowset絳夋潵寮曠敤錛屽鏋滄暟鎹粡甯鎬嬌鐢ㄩ偅涔堜綘鏈濂戒嬌鐢ㄩ摼鎺ユ湇鍔℃潵榪涜鍒嗗竷寮忔煡璇㈡洿鏂?IMG src="http://www.blogdriver.com/jsp/face/53.gif">

update OPENDATASOURCE(
          
'SQLOLEDB',
          
'Data Source = 192.168.1.6;User ID = sa;Password =test'
          ).test.dbo.orders 
set ship_to = 'asdfasdf' where order_no = 1

select * from OPENDATASOURCE(
          
'SQLOLEDB',
          
'Data Source = 192.168.1.6;User ID = sa;Password =test'
          ).test.dbo.orders  
where order_no = 1
delete from OPENDATASOURCE(
          
'SQLOLEDB',
          
'Data Source = 192.168.1.6;User ID = sa;Password =test'
          ).test.dbo.orders  
where order_no = 1


Harryson 2005-09-06 09:51 鍙戣〃璇勮
]]>
鐢熸垚鍞竴鍊?/title><link>http://m.tkk7.com/hgq0011/archive/2005/09/06/12164.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Tue, 06 Sep 2005 01:32:00 GMT</pubDate><guid>http://m.tkk7.com/hgq0011/archive/2005/09/06/12164.html</guid><wfw:comment>http://m.tkk7.com/hgq0011/comments/12164.html</wfw:comment><comments>http://m.tkk7.com/hgq0011/archive/2005/09/06/12164.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://m.tkk7.com/hgq0011/comments/commentRss/12164.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/hgq0011/services/trackbacks/12164.html</trackback:ping><description><![CDATA[<P>NEWID()鍒涘緩 <B>uniqueidentifier </B>綾誨瀷鐨勫敮涓鍊箋?BR></P> <P> </P> <DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid"> <DIV><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">DECLARE</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@myid</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #000000">uniqueidentifier</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">SET</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">@myid</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #808080">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #ff00ff">NEWID</SPAN><SPAN style="COLOR: #000000">()<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">PRINT</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #ff0000">Value of @myid is: </SPAN><SPAN style="COLOR: #ff0000">'</SPAN><SPAN style="COLOR: #808080">+</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #ff00ff">CONVERT</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #000000">varchar</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #800000">255</SPAN><SPAN style="COLOR: #000000">), </SPAN><SPAN style="COLOR: #008000">@myid</SPAN><SPAN style="COLOR: #000000">)<BR><IMG src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV></DIV><img src ="http://m.tkk7.com/hgq0011/aggbug/12164.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/hgq0011/" target="_blank">Harryson</a> 2005-09-06 09:32 <a href="http://m.tkk7.com/hgq0011/archive/2005/09/06/12164.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>寰楀埌琛ㄧ殑瀛楁鍚?/title><link>http://m.tkk7.com/hgq0011/archive/2005/09/06/12162.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Tue, 06 Sep 2005 01:31:00 GMT</pubDate><guid>http://m.tkk7.com/hgq0011/archive/2005/09/06/12162.html</guid><wfw:comment>http://m.tkk7.com/hgq0011/comments/12162.html</wfw:comment><comments>http://m.tkk7.com/hgq0011/archive/2005/09/06/12162.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/hgq0011/comments/commentRss/12162.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/hgq0011/services/trackbacks/12162.html</trackback:ping><description><![CDATA[<P><FONT size=2>SELECT  s.name ,s.colid FROM syscolumns as s WHERE id = object_id('t_test') </FONT></P> <P><FONT size=2>寰楀埌琛?t_test"鐨勫瓧孌靛悕</FONT></P><img src ="http://m.tkk7.com/hgq0011/aggbug/12162.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/hgq0011/" target="_blank">Harryson</a> 2005-09-06 09:31 <a href="http://m.tkk7.com/hgq0011/archive/2005/09/06/12162.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title> sqlserver涓?sql緙栫▼鐨勫嚑涓皬甯?http://m.tkk7.com/hgq0011/archive/2005/09/06/12163.htmlHarrysonHarrysonTue, 06 Sep 2005 01:31:00 GMThttp://m.tkk7.com/hgq0011/archive/2005/09/06/12163.htmlhttp://m.tkk7.com/hgq0011/comments/12163.htmlhttp://m.tkk7.com/hgq0011/archive/2005/09/06/12163.html#Feedback0http://m.tkk7.com/hgq0011/comments/commentRss/12163.htmlhttp://m.tkk7.com/hgq0011/services/trackbacks/12163.html  sqlserver涓?sql緙栫▼鐨勫嚑涓皬甯?/STRONG>


   
1銆佸彇鍑哄垰鍒氭彃鍏?鍒犻櫎)鐨勬暟鎹甋ELECT 瀛楁鍚?FROM INSERTED(DELETED)
2銆佸浜嶶PDATE瀹為檯涓婃槸鍏圖ELETE鐒跺悗鍐岻NSERT鎵浠ュ鏋滄兂寰楀埌UPDATE鍓嶅悗鐨勬暟鎹鹼紝搴旇鍏堜粠DELETED鍙栧嚭錛岀劧鍚庝粠INSERTED鍙栧嚭錛?BR>3銆両F UPDATE(鍒楀悕)鍙互鍒ゆ柇鏇存柊鎴栨彃鍏ュ摢涓涓瓧孌電殑鍊鹼紱
4銆丂@ROWCOUNT鍙互鍒ゆ柇涓婁竴琛屾煡璇㈡搷浣滃緱鍒扮殑鍒楁暟錛?BR>5銆佺粰鍙橀噺璧嬪肩敤SET @ZQB = 13;
6銆佸療鐪嬫槸鍚︽湁絎﹀悎鏉′歡鐨勮褰旾F EXISTS (SELECT name FROM sysobjects WHERE name = 'reminder' AND type = 'TR');
7銆佸畾涔夋父鏍囷紝濡備笅錛?BR>DECLARE c1 CURSOR FOR
SELECT emp_mgr.emp
FROM emp_mgr, inserted
WHERE emp_mgr.emp = inserted.mgr

OPEN c1
FETCH NEXT FROM c1 INTO @e--浠庢父鏍囦腑鍙栧嚭鏁版嵁
WHILE @@fetch_status = 0--鍒ゆ柇鏄惁鍒版渶鍚?BR>BEGIN
UPDATE emp_mgr
SET emp_mgr.NoOfReports = emp_mgr.NoOfReports + 1 -- Add 1 for newly
WHERE emp_mgr.emp = @e -- added employee.

FETCH NEXT FROM c1 INTO @e
END
CLOSE c1
DEALLOCATE c1--鍒犻櫎娓告爣寮曠敤



Harryson 2005-09-06 09:31 鍙戣〃璇勮
]]>
瑙﹀彂鍣紞錛嶇敤鏉ヨ幏鍙栭偅鍐欏瓧孌墊洿鏂?/title><link>http://m.tkk7.com/hgq0011/archive/2005/09/06/12161.html</link><dc:creator>Harryson</dc:creator><author>Harryson</author><pubDate>Tue, 06 Sep 2005 01:30:00 GMT</pubDate><guid>http://m.tkk7.com/hgq0011/archive/2005/09/06/12161.html</guid><wfw:comment>http://m.tkk7.com/hgq0011/comments/12161.html</wfw:comment><comments>http://m.tkk7.com/hgq0011/archive/2005/09/06/12161.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/hgq0011/comments/commentRss/12161.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/hgq0011/services/trackbacks/12161.html</trackback:ping><description><![CDATA[     鎽樿: 鍦ㄧ綉涓婃壘鍒頒簡涓涓被浼肩殑鏂囩珷http://www.cnblogs.com/delphi/articles/121516.html鏉ュ紩鐢ㄨ繖鏂囩珷.鎴戝湪瀹冪殑鍩虹涓婂姞浜嗘洿璇︾粏娉ㄨВ銆傘銆濡備笅錛?nbsp;          CREATE Table T_Test (f_id&nb...  <a href='http://m.tkk7.com/hgq0011/archive/2005/09/06/12161.html'>闃呰鍏ㄦ枃</a><img src ="http://m.tkk7.com/hgq0011/aggbug/12161.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/hgq0011/" target="_blank">Harryson</a> 2005-09-06 09:30 <a href="http://m.tkk7.com/hgq0011/archive/2005/09/06/12161.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>MSDTC錛孫LE DB 鍑洪敊http://m.tkk7.com/hgq0011/archive/2005/09/02/11798.htmlHarrysonHarrysonFri, 02 Sep 2005 00:46:00 GMThttp://m.tkk7.com/hgq0011/archive/2005/09/02/11798.htmlhttp://m.tkk7.com/hgq0011/comments/11798.htmlhttp://m.tkk7.com/hgq0011/archive/2005/09/02/11798.html#Feedback0http://m.tkk7.com/hgq0011/comments/commentRss/11798.htmlhttp://m.tkk7.com/hgq0011/services/trackbacks/11798.html聽鐜濡備笅錛岄氳繃jdbc璋冪敤瀛樺偍榪囩▼錛坧rocedure錛夛紝鍑虹幇濡備笅閿欒錛?BR>聽[SQLServer 2000 Driver for JDBC][SQLServer]鏈嶅姟鍣?'FILES-SERVER' 涓婄殑 MSDTC 涓嶅彲鐢?BR>聽[SQLServer 2000 Driver for JDBC][SQLServer]璇ユ搷浣滄湭鑳芥墽琛岋紝鍥犱負 OLE DB 鎻愪緵紼嬪簭'SQLOLEDB' 鏃犳硶鍚姩鍒嗗竷寮忎簨鍔°?BR>鍥犱負鍦ㄥ瓨鍌ㄨ繃紼嬩腑璋冪敤浜嗗涓嬬殑sql鏂規硶

opendatasource('SQLOLEDB','Data聽Source聽=聽192.168.1.1;User聽ID聽=聽sa;Password聽=psstone')
鎵浠ュ氨鍑虹幇浜嗕笂闈㈢殑閿欒銆傚洜涓哄瓨鍌ㄨ繃紼嬭皟鐢ㄧ殑鏁版嵁搴撳叾瀹炴槸鍚屼竴鍙版湇鍔″櫒錛屾妸鎴戞妸opendatasource鏂規硶鍘諱簡錛岃皟璇曢氳繃銆傚彲鎴戣繕鏄笉鏄庣櫧(鍦╩s sql鐨勬煡璇㈠垎鏋愬櫒涓紝鎵ц姝ゅ瓨鍌ㄨ繃紼嬫病鏈夐棶棰橈紝鍙負浠涔堥氳繃JDBC璋冪敤灝變細鍑虹幇濡備笂鐨勯敊璇紵)銆?IMG height=20 src="http://m.tkk7.com/Emoticons/QQ/noidea.gif" width=20 border=0>鍋囧鐪熺殑鏄皟鐢ㄥ彟涓涓湇鍔″櫒涓婄殑鏁版嵁錛岄偅鎬庝箞鍔炲憿錛無pendatasource鏂規硶鏄氳繃閾炬帴鏈嶅姟鏉ヨ皟鐢ㄥ垎甯冨紡浜嬪姟錛堣皟鐢ㄥ彟涓鍙版暟鎹簱鏈嶅姟鑾峰彇鏁版嵁錛夛紝鍙兘鏄洜涓篛LE DB 鎻愪緵紼嬪簭'SQLOLEDB' 鏃犳硶鍚姩鍒嗗竷寮忎簨鍔★紝閭d箞鐢ㄤ粈涔堟牱瀛愮殑紼嬪簭錛堥┍鍔ㄧ▼搴忥級鑳藉惎鍔ㄥ垎甯冨紡浜嬪姟鍛紵

銆絳夋妸榪欎釜涓滀笢鍋氬畬浜嗭紝鍦ㄦ潵濂藉ソ鐮旂┒涓涓嬪惂錛屾椂闂存湁闄愩?IMG height=19 src="http://m.tkk7.com/Emoticons/red_smile.gif" width=19 border=0>銆璇瘋祼鏁?錛氾級

涓嬮潰鏄垜鎵懼埌鐨勪竴浜涜祫鏂欙紝http://community.csdn.net/Expert/topic/2889/2889213.xml
http://community.csdn.net/Expert/topic/2835/2835706.xml

Harryson 2005-09-02 08:46 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 亚洲精品无码久久久久A片苍井空| 亚洲视频免费一区| 日本亚洲欧美色视频在线播放 | 亚洲国产成人久久综合| 乱淫片免费影院观看| 全部免费国产潢色一级| 免费人成动漫在线播放r18| 日本片免费观看一区二区| 国产成人青青热久免费精品| 小说专区亚洲春色校园| 最近2018中文字幕免费视频 | 久久久久亚洲精品天堂| 18禁美女裸体免费网站| 国产成人精品日本亚洲专| 成人免费av一区二区三区| 亚洲成AV人片在线播放无码| 亚洲日韩在线中文字幕综合| 国产又粗又猛又爽又黄的免费视频| 国产精品亚洲专一区二区三区| 亚洲国产黄在线观看| 中国精品一级毛片免费播放| 亚洲久本草在线中文字幕| 无码国产精品一区二区免费I6| 亚洲AV无码精品国产成人| 亚洲一区日韩高清中文字幕亚洲 | 亚洲无人区午夜福利码高清完整版| 亚洲一卡2卡3卡4卡国产网站| 无码永久免费AV网站| 看Aⅴ免费毛片手机播放| 国产精品亚洲片在线观看不卡| 麻豆va在线精品免费播放| 夜夜嘿视频免费看| 日本中文字幕免费看| 亚洲春色在线视频| 色妞WWW精品免费视频| 亚洲激情电影在线| 国产成人无码区免费A∨视频网站| 特级做A爰片毛片免费看无码| 亚洲一级高清在线中文字幕| 亚洲国产婷婷香蕉久久久久久| 最近中文字幕免费2019|