The forum will be down for scheduled maintenance on Saturday, March 4 beginning at 10am EST. Actual downtime is unknown but may be several hours.

any solution to generate the report automatically ? I need this report to do some audit work. but I only know how to check the connections via SCC.

asked 25 Jun '14, 23:54

ericwu's gravatar image

ericwu
46445
accept rate: 0%


SELECT DB_PROPERTY('ConnCount') ;

permanent link

answered 26 Jun '14, 03:13

Dmitri's gravatar image

Dmitri
1.5k41132
accept rate: 11%

In case that is used for licensing issues - from the docs (here on the also helpful ConnCount database property):

To obtain an accurate count of the number of licensed connections in use, execute the following statement:

SELECT COUNT( * ) FROM sa_conn_info( ) WHERE number < 100000000;

permanent link

answered 26 Jun '14, 03:22

Volker%20Barth's gravatar image

Volker Barth
29.5k291441646
accept rate: 32%

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:

×405

question asked: 25 Jun '14, 23:54

question was seen: 456 times

last updated: 26 Jun '14, 03:22