Link to home
Start Free TrialLog in
Avatar of team2005
team2005

asked on

Make query that remove characters, and copy removed characters to a new field

Hi!

Have a table in mysql that contains of a field (navn) like:
Arne Hansen
Per Iversen
Ole Berg
..
..

What i want is to copy Hansen,Iversen and Berg to a new field(etternavn)
And remove Hansen,Iversen and Berg from navn field..

How can i do this...

I can olso do this from visual studio 2008, if this is not possible with a query.


ASKER CERTIFIED SOLUTION
Avatar of johanntagle
johanntagle
Flag of Philippines image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of team2005
team2005

ASKER

Hi!

WOW, thanks so very match...

Works very good...