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
Can you select everything, but 1 or 2 fields, without writer's cramp?
Which join is like inner join?
column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.
Is stored procedure faster than query?
What is time based sql injection?
how is myisam table stored? : Sql dba
What is a clob in sql?
In what condition is it good to disable a trigger?
What are sql functions? Describe the different types of sql functions?
How can I get the number of records affected by a stored procedure?
Why do we need cursors in pl sql?
What is string join?
What is cost in sql execution plan?
Differentiate between % rowtype and type record.
How can you know that statistics should be updated?