Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Case Sensitive

Author  Topic 

shapper
Constraint Violating Yak Guru

450 Posts

Posted - 2007-02-05 : 09:38:48
Hello,

Is SQL 2005 case sensitive when I am running procedures?

For example, I have the following:
IF (NOT EXISTS (SELECT LevelName FROM dbo.by27_Levels WHERE LOWER(@LevelName) = LOWER(LevelName)))

Should I remove 'LOWER' or should I set some definition on my tables, procedures, database?

Thanks,
Miguel

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2007-02-05 : 09:41:11
depends on whether you have Case-sensitive collation for database, table or column.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2007-02-05 : 10:01:27
See also http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=55210&SearchTerms=Making%20Upper,Lower%20Case%20Sensitive%20comparison
Go to Top of Page
   

- Advertisement -