Skip to main content

Error with executing a copy command on a ascii 29 delimited file

  • October 18, 2013
  • 3 replies
  • 21 views

Prasanna_1
Forum|alt.badge.img
Hi All,

I am getting this error executing the copy command in VSQL commandline below. Please let me know your thoughts.Thanks

copy sample.temp_full from local 'test.txt' delimiter E'\029'.

ERROR 2730. COPY delimiter must be a single character



3 replies

Prasanna_1
Forum|alt.badge.img
  • Author
  • Participating Frequently
  • October 19, 2013
the ascii delimiter I am referring to is Group Separator aka GS

Prasanna_1
Forum|alt.badge.img
  • Author
  • Participating Frequently
  • October 22, 2013
My apologies! I was using the wrong delimiter type. 

I am using the following command now and it works fine: copy sample.temp_full from local 'test.txt' delimiter E'\035'

Bhawana
Forum|alt.badge.img
  • Participating Frequently
  • October 24, 2013
Hi Prasanna,

I am glad it worked out well.

Regards,

Bhawana