BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Password on SQL server not case sensitive

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Jos de Bruijn
Guest





PostPosted: Mon Jun 13, 2005 4:20 pm    Post subject: Password on SQL server not case sensitive Reply with quote



Hi,

I've created a login on my sql server:
user = 'NewUser'
password = 'ABC'
but when I try to logon with this user (using ado) it doesn't matter if my
password is 'abc' or 'ABC' both passwords will be accepted. Is this a
setting of ADO of is it a setting on my SQL server? The server (SQL2000) is
in mixed mode.

Thanks,

Jos


Back to top
Del M
Guest





PostPosted: Tue Jun 14, 2005 1:52 am    Post subject: Re: Password on SQL server not case sensitive Reply with quote



Sql Server works that way. By default all comparisons are set to be not case
sensitive. If you change it to be case sensitive then
'select col1, col2 from tableX where name = 'jones' ... would not work
unless the name was stored exactly that way. Passwords are stored in a
system table encrypted and so they are compared by the db engine just as all
other data is.

If you want tricky passwords, then create a user database and setup
passwords there to be compared .. like 'D3$aN#' .

I think ... :-)


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.