User script/runner

Hi,
Iwant to know how to use script/runner in the app to upload data to the
database.
i have a CSV file which i need to import to database .i want to know how
to do it useing script/runner.