Re: Counting Connections

From: Sue Hoegemeier (Sue_H_at_nomail.please)
Date: 11/02/04


Date: Tue, 02 Nov 2004 13:51:27 -0700

Try using a Pass-through query in Access to get the info.

-Sue

On Mon, 1 Nov 2004 15:13:53 -0500, "Rick Lederman"
<rick@soaringsoftware.com> wrote:

>Goeff,
>
>Thanks, that works great, now to see if I can find how to do it in Access.
>
>Rick
>"Geoff N. Hiten" <SRDBA@Careerbuilder.com> wrote in message
>news:%23MUhVvEwEHA.1984@TK2MSFTNGP14.phx.gbl...
>> select count(*) from master.dbo.sysprocesses
>> where SPID > 50
>>
>> The 'where SPID > 50' restriction eliminates system connections. I have
>no
>> clue how to do this in Access.
>>
>> --
>> Geoff N. Hiten
>> Microsoft SQL Server MVP
>> Senior Database Administrator
>> Careerbuilder.com
>>
>> I support the Professional Association for SQL Server
>> www.sqlpass.org
>>
>> "Rick Lederman" <rick@soaringsoftware.com> wrote in message
>> news:e3wkopEwEHA.3808@TK2MSFTNGP15.phx.gbl...
>> > I have a VB6 program that uses ADO to communicate with a SQL Server
>> database
>> > (and an Access database optionally). Is there a way that I can tell how
>> > many connections that there are at any one time? I'd like to do this to
>> > Access as well if possible?
>> >
>> > Rick Lederman
>> >
>> >
>>
>>
>



Relevant Pages

  • Re: DTS packages on new SQL Server
    ... I support the Professional Association for SQL Server ... >>> Senior Database Administrator ... >>> I support the Professional Association for SQL Server ...
    (microsoft.public.sqlserver.server)
  • Re: Is there a limit of 256 on CHAR data?
    ... Senior Database Administrator ... I support the Professional Association for SQL Server ...
    (microsoft.public.sqlserver.server)
  • Re: Rename database
    ... Senior Database Administrator ... I support the Professional Association for SQL Server ...
    (microsoft.public.sqlserver.server)
  • Re: Fast Way To "Insert Into" a million records?
    ... Senior Database Administrator ... I support the Professional Association for SQL Server ... "Jason Roozee" wrote in message ...
    (microsoft.public.sqlserver.server)
  • Re: ODBC Password
    ... Currently Using SQL Server 2000, ... just using the properties window of a pass-through query. ... exist in VBA code, nor do I know how to create it in VBA code. ... Will your suggestion work directly with the connection string ...
    (microsoft.public.access.modulesdaovba)

Loading