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 / swastik
select substr(name,1,instr(name,' ',1)-1)||substr(name,instr(name,' ',-1),length(name)) from spacename
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Does group by remove duplicates?
How can we avoid duplicating records in a query?
What happens when a trigger is associated to a view?
What is %type in sql?
Why do we need sharding?
What is sql profiler in oracle?
What is identity column in sql server?
What is the need of merge statement?
What are the basic sql commands?
How to run sql functions in pl/sql?
What is sql comments?
How to use distinct and count in sql query? Explain
What is the difference between sum and count in sql?
How do you update f as m and m as f from the below table testtable?
Can delete statement be rollbacked?