in reply to Experience with exporting calendar data to Palm/PDA
I've done pretty much what i *think* you are doing, ie porting my palm information to an RDBMS.
Unfort I dont have any code handy, but checkout this node for more info.