0

SELECT LOWER(p."Name") FROM "User" p WHERE LOWER(p."Name") LIKE 'admin%';

In this query, I want to retrieve the data from "ADMIN" as "admin", but it comes as "admİn". There is an accent problem. How can I solve this globally in my database? Valid for all tables. I don't want to use the unaccent function because I'm using it via .Net.

I tried the Unaccent function, but I can't write this in every query.

Example enter image description here

1

1 Answer 1

0

The encoding seems to be the problem. You can refer to the official PostGres documentation

Sign up to request clarification or add additional context in comments.

2 Comments

How can I change an existing database?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.