Thread
:
sql
View Single Post
#
2
(
permalink
)
11-22-2006, 07:24 AM
sarunraj
Junior Member
Join Date: Nov 2006
Location: Bangalore, India
Posts: 12
hi,
select substr(emp_name,instr(emp_name,' ',2,1),length(emp_name))
||' '|| substr(emp_name,1,instr(emp_name,' ',2,1)) name1
from emp
i think this query will do it for you..
hope it helps,
regards
Raj
sarunraj
View Public Profile
Send a private message to sarunraj
Find all posts by sarunraj