mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Fix forced lowercase in case sensitive search on MSSQL
This commit is contained in:
@ -754,7 +754,7 @@ begin
|
||||
ngMySQL:
|
||||
SQL := SQL + DBObj.Connection.QuoteIdent(Col.Name) + ' LIKE BINARY ' + esc('%'+memoFindText.Text+'%') + ' OR ';
|
||||
ngMSSQL:
|
||||
SQL := SQL + DBObj.Connection.QuoteIdent(Col.Name)+' LIKE ' + esc('%'+LowerCase(memoFindText.Text)+'%') + ' COLLATE SQL_Latin1_General_CP1_CS_AS OR ';
|
||||
SQL := SQL + DBObj.Connection.QuoteIdent(Col.Name)+' LIKE ' + esc('%'+memoFindText.Text+'%') + ' COLLATE SQL_Latin1_General_CP1_CS_AS OR ';
|
||||
end;
|
||||
end else begin
|
||||
case DBObj.Connection.Parameters.NetTypeGroup of
|
||||
|
Reference in New Issue
Block a user