Is it possible to deny all new connections temporarily in SA12 and/or SA16? This would be great for updating the schema and debugging.


Bjarne Anker Maritech Systems Norway

asked 02 Mar '15, 02:56

Bjarne%20Anker's gravatar image

Bjarne Anker
accept rate: 10%

edited 02 Mar '15, 03:19

Volker%20Barth's gravatar image

Volker Barth

You can do that via the system procedure sa_server_option when setting the options "ConnsDisabled" or "ConnsDisabledForDB" to YES, i.e. with something like

call sa_server_option('ConnsDisabled', 'YES')


call sa_server_option('ConnsDisabledForDB', 'YES')

and reset them to 'NO' afterwards.

Confine that very old FAQ here including sample code:

Sample code: How to get full control over a SQL Anywhere server

permanent link

answered 02 Mar '15, 03:18

Volker%20Barth's gravatar image

Volker Barth
accept rate: 34%

See the answer to the question How to limit the remote access to the database server? here on this forum.

permanent link

answered 02 Mar '15, 03:19

Martin's gravatar image

accept rate: 14%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 02 Mar '15, 02:56

question was seen: 2,015 times

last updated: 02 Mar '15, 03:19