Is there a simple ignore-case-comparison for PostgreSQL?
I want to replace:
SELECT id, user_name FROM users WHERE lower(email) IN (lowe
Use ‘Collate SQL_Latin1_General_CP1_CS_AS’ for it. declare @a nvarchar(5)='a' declare @b nvarchar(5)='A' if(@a=@b Collate SQL_Latin1_General_CP1_CS_AS) begin print 'Match' end else begin print 'Not Matched' end