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 join view in sql?
Explain clause in sql?
Differentiate between % rowtype and type record.
Why is sql important?
how is exception handling handled in mysql? : Sql dba
Can I copy :old and :new pseudo-records in/to an oracle stored procedure?
Is pl sql still used?
What action do you have to perform before retrieving data from the next result set of a stored procedure ?
How do you create a db file?
What are different joins used in sql?
How to test for null values?
What are the possible values that can be stored in a boolean data field?
What is auto increment feature in sql?
Which is better trigger or stored procedure?
describe transaction-safe table types in mysql : sql dba