Please be aware that the SAP SQL Anywhere Forum will be shut down on August 29th, 2024 when all it's content will be migrated to the SAP Community.

Hi All,

SAP SQL Anywhere 17.0.10

In SQL Central, if you select a database in the left part of the window, in the right part of the window in the "Connections" tab you can see the active users who are currently connected in the database.

Question: Can I get a list of these users using system procedures or views ?

asked 28 Oct '19, 05:00

Stalker's gravatar image

Stalker
515313451
accept rate: 11%

Comment Text Removed

Yes, sa_conn_info() and (with limited information) sa_conn_list().

permanent link

answered 28 Oct '19, 05:33

Volker%20Barth's gravatar image

Volker Barth
40.5k365556827
accept rate: 34%

To add: Starting with v16, you need at least one of the SERVER OPERATOR, MONITOR, or DROP CONNECTION system privileges to get the status of different connections. Without one of those, a connection can only check its own connection status.

(28 Oct '19, 10:15) Volker Barth
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:

×25
×9

question asked: 28 Oct '19, 05:00

question was seen: 2,693 times

last updated: 07 Jan '20, 03:15