互联网服务数据库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 个回答dyd323的回答

dyd323dyd323数据库管理员HR
学习了~~
金融其它 · 2012-11-07
浏览1657

回答者

dyd323
数据库管理员HR

回答状态

  • 发布时间:2012-11-07
  • 关注会员:0 人
  • 回答浏览:1657
  • X社区推广