互联网服务数据库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....显示全部


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

查看其它 19 个回答zllhc的回答

zllhczllhc项目经理王强
学习下!。。。。。。。。。
互联网服务 · 2010-04-02
浏览1607

回答者

zllhc
项目经理王强

zllhc 最近回答过的问题

回答状态

  • 发布时间:2010-04-02
  • 关注会员:0 人
  • 回答浏览:1607
  • X社区推广