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 sql*plus have a pl/sql engine?
What are the different sql languages?
What is a trigger in sql?
Differentiate between pl/sql and sql?
what is a view? : Sql dba
What is write ahead logging in sql server?
What is dbo in sql?
What is the difference between explicit and implicit cursors in oracle?
What is %type in sql?
Can two tables have same primary key?
what is dbms? : Sql dba
how can we know the count/number of elements of an array? : Sql dba
what is bdb (berkeleydb)? : Sql dba
How do I run a pl sql procedure in sql developer?
how to convert character strings to dates? : Sql dba