how to import contacts from the contacts.db from my preivous android phone to new?

view story

http://forum.xda-developers.com – as subject. i have the contacts.db file backed up from my old android phone on my pc. is there any tools that i can export the contacts.db into csv format and then i can import data back to my new android phone? how can i do it ? other than contacts. can i apply same method to sms , call log db etc ? regards :confused: (HowTos)