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 are sql data types?
How to select 10 records from a table?
What is the usage of sql functions?
How do I find sql profiler?
What is the maximum number of rows in sql table?
How to avoid duplicate records in a query?
Explain what is a subquery ?
Can unique keys be null?
What is sql*plus?
Is a table valued function object?
Is pl sql a programming language?
What is the best partition size for windows 10?
What is difference between db2 and sql?
What is difference between table and view?
what are date and time intervals? : Sql dba