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, 05:00

Stalker's gravatar image

Stalker
313152235
accept rate: 12%


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

permanent link

answered 28 Oct, 05:33

Volker%20Barth's gravatar image

Volker Barth
34.6k337491729
accept rate: 33%

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, 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:

×21
×6

question asked: 28 Oct, 05:00

question was seen: 108 times

last updated: 28 Oct, 10:15