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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
WOW, thanks so very match...
Works very good...