smartened up smart sql bulk copy