Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

Hi.

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

br,

Bjarne Anker Maritech Systems Norway

asked 02 Mar '15, 02:56

Bjarne%20Anker's gravatar image

Bjarne Anker
745323648
accept rate: 10%

edited 02 Mar '15, 03:19

Volker%20Barth's gravatar image

Volker Barth
40.4k364553825


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')

or

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
40.4k364553825
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

Martin
9.1k130170257
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

By RSS:

Answers

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:

×438
×159

question asked: 02 Mar '15, 02:56

question was seen: 2,089 times

last updated: 02 Mar '15, 03:19