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.
| Author |
Topic |
|
amayo
Starting Member
1 Post |
Posted - 2004-01-15 : 09:03:04
|
| I'm looking for a way to query for strings that have all CAPS.In addition, I need a way to search for case sensitive strings. For example, if I have a record containing the string 'test' and another containing the string 'Test', I would like to be able to search for 'Test'.Any suggestions?Thanks,Albert |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2004-01-15 : 09:07:48
|
| select 1 where 'fgjTestfgh' like '%Test%'or do you have a case insensitive server?select 1 where 'fgjTestfgh' like '%Test%' collate Latin1_General_CS_ASselect 1 where 'fgjtestfgh' like '%Test%' collate Latin1_General_CS_AS==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
|
|
|