Error updating whitespace and reformatting data to lowercase in Dbeaver. #35334
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This is not a Dbeaver issue but a querry issue. You told the query to replace each row with one string as the sub query will return a list of values and I guess the DB used the first value of the result set. Or as in oracle you need to provide a joining condition between the value you would update and the value you would write in the field. |
Beta Was this translation helpful? Give feedback.
-
@TB-HunBoka Thanks so much. I completed the mission thanks to you |
Beta Was this translation helpful? Give feedback.
This is not a Dbeaver issue but a querry issue. You told the query to replace each row with one string as the sub query will return a list of values and I guess the DB used the first value of the result set.
I am not a sqlite user, but I guess it should be this:
Set full_name = LOWER(LTRIM(full_name))
from ....
Or as in oracle you need to provide a joining condition between the value you would update and the value you would write in the field.