Re: Number of SQL Server logins
From: Mike Epprecht \(SQL MVP\) (mike_at_epprecht.net)
Date: 12/27/04
- Previous message: harvinder: "Trigger/auditing problem"
- In reply to: Tibor Karaszi: "Re: Number of SQL Server logins"
- Next in thread: Oscar: "RE: Number of SQL Server logins"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 27 Dec 2004 22:21:30 +0100
Hi
Yes you are right.....my head has been a bit too much in Sybase today.
Busy writing some scripts to test what really happens when the 2 tables hit
their limits.
Cheers
--------------------------------
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Tibor Karaszi" <tibor_please.no.email_karaszi@hotmail.nomail.com> wrote in
message news:OaEph9D7EHA.2572@tk2msftngp13.phx.gbl...
> > In userdatabase.dbo.sysusers, uid is a smallint, so 32'767 would be the
> > limit per database.
>
> However, roles are also stored in sysusers, cutting down number of users
to half. Below is a line
> from sp_grantdbaccess:
>
> where uid >= 5 and uid < (16384 - 1) -- stay in users range
>
>
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
> http://www.sqlug.se/
>
>
> "Mike Epprecht (SQL MVP)" <mike@epprecht.net> wrote in message
> news:257A5B67-9708-4FA0-B58C-897000078781@microsoft.com...
> > Hi
> >
> > Can't find documentation, but master.dbo.syslogins does not use a
counter.
> > Good so far. Limitation here is number of unique combinations of
charaters
> > that fit into "name" which is nvarchar(128)
> >
> > In userdatabase.dbo.sysusers, uid is a smallint, so 32'767 would be the
> > limit per database.
> >
> > So, it looks like only a per DB limit. Think it is time for me to do a
bit
> > of an experiment.
> >
> > Regards
> > Mike
> >
> > "Oscar" wrote:
> >
> >> Is there a limit on how many SQL logins can be created on an instance?
If
> >> so, where is this documented? Thanks in advance.
> >>
> >> Oscar
>
>
- Previous message: harvinder: "Trigger/auditing problem"
- In reply to: Tibor Karaszi: "Re: Number of SQL Server logins"
- Next in thread: Oscar: "RE: Number of SQL Server logins"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|