Query for exact match of a string in SQL

前端 未结 5 2125
谎友^
谎友^ 2021-01-06 00:47

I want to query for the exact match of a string from a database table.

When I write the query as

select description from tproduct where description          


        
5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-06 01:23

    For SQL Server: Description
    SELECT description FROM tproduct WHERE description ='diamond' COLLATE SQL_Latin1_General_CP1_CS_AS

提交回复
热议问题