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
Can we use commit inside a trigger?
What language is oracle sql developer?
What is pl sql collection?
what are the t string functions available in tsql? : Transact sql
How many types of privileges are available in sql?
what is the difference between truncate and delete statement? : Transact sql
what are ddl statements in mysql? : Sql dba
What is a pragma statement?
What is the sql query to display the current date?
Is trigger a stored procedure?
What can sql server reporting services do?
Why use subqueries instead of joins?
Is time a data type in sql?
Can a primary key be a foreign key?
how many tables will create when we create table, what are they? : Sql dba