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
How is a process of pl/sql compiled?
What are the different types of tables in sql?
Can we use update in sql function?
What is dense_rank?
How many tables can a sql database have?
How exception is different from error?
What is the current version of sql?
When should I use nosql database?
What are the different ways to optimize a sql query?
how to include character strings in sql statements? : Sql dba
What is difference between db2 and sql?
Explain the steps needed to create the scheduled job?
How do I copy a table in sql?
What type of database is sql?
How do I run a program in pl sql?