Hi there,
Does anyone know what's difference among "connect reset", "disconnect",
and "terminate"?
Thanks in advance, 3 45159
Laurence wrote:
Hi there,
Does anyone know what's difference among "connect reset", "disconnect",
and "terminate"?
Thanks in advance,
IIRC, CONNECT RESET contains an implicit COMMIT and stops the
connection to database. TERMINATE end the process the server held open
to the client, and drops all resources. So, the best way to end a
connection is first CONNECT RESET and then TERMINATE.
I am not familiar with DISCONNECT, but i would assume it closes the
connection with an implicit ROLLBACK.
The command are explained in detail in the documentation. under
COMMANDs.
B.
Brian Tkatch wrote:
Laurence wrote:
Hi there,
Does anyone know what's difference among "connect reset", "disconnect",
and "terminate"?
Thanks in advance,
IIRC, CONNECT RESET contains an implicit COMMIT and stops the
connection to database. TERMINATE end the process the server held open
to the client, and drops all resources. So, the best way to end a
connection is first CONNECT RESET and then TERMINATE.
I am not familiar with DISCONNECT, but i would assume it closes the
connection with an implicit ROLLBACK.
The command are explained in detail in the documentation. under
COMMANDs.
B.
I guess Disconnect we use it with embedded SQL in a program.
DISCONNECT wont work in DB2CLP if we give directly,
we have to use CONNECT RESET or TERMINATE for coming out of the
connection...
Regards
Kamal.... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Rob Cole |
last post by:
Any idea why? (no clue I could glean from log file)
Thanks bunches,
Rob
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
|
by: Sparky |
last post by:
Hi
I was wondering if someone can please enlighten me as to the best and most
approved way to connect and disconnect network drives in vb.net.
I have been using Mpr.dll API calls such as...
|
by: http://www.visual-basic-data-mining.net/forum |
last post by:
Say i have declare a module for connection and two buttons...
one button has the method connect() and
the other has the method disconnect()....
how do i actually connect after i had disconnect...
|
by: Jim Hubbard |
last post by:
If there are 2 wireless access points, I need to be able to programmatically
connect and disconnect depending on which I need to connect to.
Anybody seen any code for this? (Googled 'til my...
|
by: fyi85 |
last post by:
I have 8.1.5 on Windows 2003, when I do from CLP with auto commit off:
db2 update table set column=something
and then
db2 terminate
and then
db2 connect to db
db2 select updated column from...
|
by: Draw |
last post by:
I have an application, where I do connect, handle a few requests, and
if for some reason, I lose connectivity, I detect that and loop(trying
to reconnect) until I regain connection to the DB. My...
|
by: Geoff |
last post by:
In testing our app, we connected and disconnected like 1000 times and
noticed a 5 meg memory leak. The sequence of connecting and disconnecting
is as follows:
1. OdbcSQLAllocHandle
2. ...
|
by: trymore |
last post by:
Hi all,
can anybody help me out there? I am developing a client sockect to send transactions form a DB to a server socket. the way i want is to connect, send, recieve , disconnect, connect, send,...
|
by: reshma tellis |
last post by:
what is the difference between connect reset and db2stop force
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |