GPS Babel can convert a GPS file to hundreds of formats from a GUI or Command line. I have several videos showing how to write a KML file from a database. If you use these two programs together you can output 100's of pushpin formats from a database query and automate tasks.