Walter wrote:
> I have a problem using the copy command on a CSV file.
>
> All of the values within the CSV are surrounded with quotation marks. So
> a null value for a field looks like ""
It should be ,, for NULL.
> I am trying to import the file and no matter what I do, it hits a null
> date field and says
>
> invalid input syntax for type date : ""
Have you tried WITH NULL AS ''?
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073