SQL Anywhere Version 12 Build 3873 I have a database with ASA proxy tables in it. When my app starts up the connection to the remote server does not immediately start up (This is good).. When I execute the 1st query that uses the proxy table the remote server connects(This is good)... The question I have is that after these queries on the proxy table are finished I need to have the connection the remote server closed via a function call in my app. I am copy data to the remote server database (insert .. select) , once this copy is done my application packages the db file up for delivery. With the connection still active the file is locked down so I can not do the additional processing. All connections are using ODBC via a C++ application. Thanks TPS asked 19 Jul '13, 18:36 TPS |
I believe the statement that you are looking for is alter server server_name connection close answered 19 Jul '13, 19:23 Mark Culp Yes, I just found the syntax. I was tripped up a little to begin with because when I ran it in ISQL while my app was at a breakpoint it did not indicate that the connection was closed. But placing it in code everything appears to work.
(19 Jul '13, 19:25)
TPS
|