1

I have the table user and I want to replace the username field value from 'test user' as 'Test User'.

In update query for all username field values

update user set username='replace()'

Is it possible to do by query.

1 Answer 1

6

use INITCAP

UPDATE user
SET username = INITCAP(username)
Sign up to request clarification or add additional context in comments.

Comments

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.