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
What is multiple partition?
What does cursor do in sql?
What is an exception in pl/sql?
Why is sharding used?
Define join and name different types of joins?
What is lookup table in sql?
Enlist the characteristics of pl/sql?
What is file based approach?
What is sqlexception in java?
How to get list of all tables from a database?
How to pipe multiline string to isql?
How do you concatenate in sql?
how to create a test table in your mysql server? : Sql dba
Can we commit inside a trigger?
what are the t string functions available in tsql? : Transact sql