互联网服务数据库quot

Difference among "connect reset", "disconnect",



There are quite a lot of subtly differences:

CONNECT RESET and DISCONNECT are SQL statements, TERMINATE is a DB2 command.

From the manuals:

CONNECT RESET:
==============
On type 1 connections, it disconnects and runs a COMMIT before.
http://publib.boulder.ibm.com/infoc...in/r0000906.htm

On type 2 connections, it connects to the default database. But there are a
few more options to control what happens.
http://publib.boulder.ibm.com/infoc...in/r0000908.htm

DISCONNECT:
===========
Can only be used from an application and not interactively. Also, there
must not be an UOW running at the time of DISCONNECT.
http://publib.boulder.ibm.com/infoc...in/r0000943.htm

TERMINATE:
==========
Explicitly terminates the command line processor's back-end process.
http://publib.boulder.ibm.com/infoc...re/r0001973.htm
Through that, it also disconnects from the DB2 server.
参与20

20同行回答

hp_leetaedong14hp_leetaedong14数据库管理员DD
学习了~~显示全部
学习了~~收起
互联网服务 · 2013-03-15
浏览1715
dyd323dyd323数据库管理员HR
学习了~~显示全部
学习了~~收起
金融其它 · 2012-11-07
浏览1654
jianghshunjianghshun其它null
不要隐藏啦显示全部
不要隐藏啦收起
IT其它 · 2012-03-13
浏览1667
juniperyanjuniperyan系统工程师ibm
回复 1# luckyleo     參考一下,謝謝你的分享显示全部
回复 1# luckyleo


    參考一下,謝謝你的分享收起
金融其它 · 2012-03-13
浏览1672
tongjixianingtongjixianing软件开发工程师IBM
cc~~~收起
互联网服务 · 2012-02-17
浏览1654
junli0411junli0411数据库管理员NULL
kankan收起
互联网服务 · 2011-12-26
浏览1670
tongji1999tongji1999软件开发工程师上海
学习下~~~显示全部
学习下~~~收起
互联网服务 · 2011-12-25
浏览1640
回复 1# luckyleo     先看看显示全部
回复 1# luckyleo


    先看看收起
2010-11-16
浏览1663
zllhczllhc联盟成员项目经理王强
学习下!。。。。。。。。。显示全部
学习下!。。。。。。。。。收起
互联网服务 · 2010-04-02
浏览1636
回复才能看显示全部
回复才能看收起
2009-02-27
浏览1643

提问者

luckyleo
项目总监山东联博软件有限公司
擅长领域: 服务器UnixAIX

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2008-10-29
  • 关注会员:0 人
  • 问题浏览:19226
  • 最近回答:2013-03-15
  • X社区推广