Trouble w/ COPY command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have CSV files blowing up because they have double quotes around numeric values: " 1.34" yields ERROR:  invalid input syntax for type numeric: " 1.34"

And occasionally these are empty, and you see invalid syntax for type numeric: " "

Are there flags I can pass to COPY to avoid this? There are properly quoted string values elsewhere in the final, so I'm reticent to strip out double quote characters or anything.

Thank you.

--
Wells Oliver
wellsoliver@xxxxxxxxx

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux