MSSQL - How to set Case Sensitive in varchar data type
The default setting of the varchar data type in MSSQL2008 is non-case sensitive. The lower-case is equal the upper-case ex. cat = CaT.
If you need the difference between upper-case and lower-case on your data, you can set your field by:
1. Right click on your table and select "Design".
2. Click on your field you need to set "Case-Sensitive" and see at "Column Properties" window below.
3. In "Column Properties" window, find "Table Designer" and click on the right column of "collation"
4. In the pop up window. Choose "windows Collation" -> Dictionary Sort and check on Case Sensitive
5. Click "OK" to finish.
If you need the difference between upper-case and lower-case on your data, you can set your field by:
1. Right click on your table and select "Design".
2. Click on your field you need to set "Case-Sensitive" and see at "Column Properties" window below.
3. In "Column Properties" window, find "Table Designer" and click on the right column of "collation"
4. In the pop up window. Choose "windows Collation" -> Dictionary Sort and check on Case Sensitive
5. Click "OK" to finish.