Like shown below i have 3 columns(Name,No,Address). The
values in name column i want to modity.
Requirement : Keep only once space between two words
(Fname,Lname) in the Name column.
For this what is the query? Please answer me. Advance
Thanks.
Name No Address Reference
manoj kumar
kumar raja
vinzay kumar
rajendra prasad
gowri nath -- -- --
Answer Posted / kalyan
update test set NAME=regexp_replace(NAME,'( ){2,}', ' ')
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what happens if null values are involved in expressions? : Sql dba
What does fetching a cursor do?
Define union, minus, union all, intersect ?
Can a view be mutating? If yes, then how?
Can we debug stored procedure?
What is the syntax and use of the coalesce function?
How you improve the performance of sql*loader? : aql loader
Explain the select statement in sql?
Is drop table faster than truncate?
Does pl/sql support create command?
What is package in pl sql with an examples?
What are different categories of sql commands?
How do I tune a sql query?
How do sql triggers work?
what is dbms? : Sql dba