February 13, 2012 at 12:56 pm
OS: Windows Server 2008 R2 (64-bit)
DB: SQL Server 2008 (64-bit)
I know that passwords are case-senstive. But are SQL Server 2008 logins case-sensitive (using SQL Server Authentification)?
Cheers!
February 13, 2012 at 1:00 pm
The UserName is not case sensitive. By far the quickest and easiest way to answer this is to simply try connecting. 😀
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
February 13, 2012 at 1:02 pm
Then again...I am not sure if the server collation comes into play here. Not using or even having case sensitive instance I can't test that as easily.
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
February 13, 2012 at 1:03 pm
tale103108 (2/13/2012)
OS: Windows Server 2008 R2 (64-bit)DB: SQL Server 2008 (64-bit)
I know that passwords are case-senstive. But are SQL Server 2008 logins case-sensitive (using SQL Server Authentification)?
Cheers!
It depends on the collation chosen during installation of the instance. By default, they are not case-sensitive.
Jared
CE - Microsoft
February 13, 2012 at 2:21 pm
To determine Server collation and/or other collation setting try this:
--Server collation
SELECT SERVERPROPERTY ('collation') AS 'Server collation'
--Database collation
SELECT DATABASEPROPERTYEX('Northwind', 'Collation') DB_SQLCollation;
--Collations used in tables
SELECT OBJECT_NAME(Object_Id) AS 'Table Name',name AS 'Column name', collation_name
FROM sys.columns WHERE OBJECT_ID IN (SELECT OBJECT_ID
FROM sys.objects WHERE type = 'U')
February 13, 2012 at 2:24 pm
I have verified that -- at least in my environment -- the logins are case-insensitive. Cheers!:-)
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply