How to write Case Sensitive Query for MS Access?

后端 未结 5 1388
耶瑟儿~
耶瑟儿~ 2020-12-03 22:49

I want to know the Select Query for MS Access with case sensitive.

I have two values for VitualMonitorName as below

VCode VirtualMonitorName
Row 1 (1         


        
5条回答
  •  醉酒成梦
    2020-12-03 23:16

    This only does one letter:

    MS-ACCESS SQL:

    SELECT Asc(Left([Title],1)) AS t FROM Master WHERE (((Asc(Left([Title],1)))=105));
    

    Title is the field you want to search

    Master is the Table where Title field is located

    105 Ascii code for character..

    In this case only Title's that start with i not I

    If you want to search for lower case "a" you would change the 105 to 97

提交回复
热议问题