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 is the difference between char and varchar data types? : Sql dba
Can we join 3 tables in sql?
How do I create an index in word?
What does count (*) do in sql?
What is the difference between the implicit and explicit cursors?
Is t sql a programming language?
what are the types of join and explain each? : Sql dba
Which type of cursor is used to execute the dml statement?
Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?
What are secondary keys?
How many clustered indexes can be created on a table?
Does mysql support pl sql?
How to display the current date in sql?
How to check if a column is nullable before setting to nullable?
What is use of term?