on 2013 Aug 22 3:19 PM
I have an external stored procedure and call a stored procedure located at remote database server. I would like to know how to drop that connection after the call done.
thx!
What version of SQL Anywhere are you using? If you are using SQL Anywhere 16, then consult the documentation for the DROP REMOTE CONNECTION statement. If you are using SQL Anywhere 12 or below, then look at the CONNECTION CLOSE clause on the ALTER SERVER statement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The connection has been cached at the database server for efficiency reasons (in case you make another connection request in a short amount of time - 60 seconds, by default).
See "Connection Pooling" http://dcx.sybase.com/index.html#sa160/en/dbadmin/sa22c8e99f-db62-4851-a551-ea775eeed6e8.html
and "sa_conn_info": http://dcx.sybase.com/index.html#sa160/en/dbreference/sa-conn-info-system-procedure.html
ReqType
Returns the type of the last request. If a connection has been cached by connection pooling, its ReqType value is CONNECT_POOL_CACHE.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.