Another way to do it(this is with HeidiSQL but every SQL editor has its own csv importer)
Click
Import CSV File(will be in an import menu) using these options(first for importing a spell file, second is export options).
Its a fairly minor thing that people really shouldn't require scripts for.