Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.142
  HXTT Cobol 5.0.142
  HXTT DBF 7.1.143
  HXTT Excel 6.1.146
  HXTT Json 1.0.114
  HXTT Paradox 7.1.142
  HXTT PDF 2.0.142
  HXTT Text(CSV) 7.1.142
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Word 1.1.142
  HXTT XML 4.0.143
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT Text(CSV)
All queries fail when a row ends in space
Jorn Hertsig
2011-04-15 06:10:22.0
I have a csv file with header row, " as text quoter and comma as column separator. When my file contains a space at the end, I will get this error: "character can't follow quote character " while data is begined with quote character." (note the 'invisible' display of the space character)
Re:All queries fail when a row ends in space
HXTT Support
2011-04-15 06:16:58.0
>character can't follow quote character
It means that it think it's illegal format. Please email us such a csv file with your jdbc url.
Re:Re:All queries fail when a row ends in space
Jorn Hertsig
2011-04-15 06:31:31.0
The 'illegal' format is the space at the end of the line. It's a really simple file:
"header1","header2"
"value1","value2"
Re:Re:All queries fail when a row ends in space
Jorn Hertsig
2011-04-15 06:32:14.0
And, of course the comment system won't show the space at the end of the "header1","header2" line :(
Re:Re:Re:Re:All queries fail when a row ends in space
HXTT Support
2011-04-15 06:36:53.0
What's your jdbc url?
Re:Re:Re:Re:Re:All queries fail when a row ends in space
Jorn Hertsig
2011-04-15 06:40:10.0
URL is:
jdbc:text:///../Import/quotes.csv?delayedClose=0&_CSV_Separator=\x3b&csvfileExtension=csv&_CSV_Quoter="&_CSV_Header=true&charSet=ISO-8859-1&decimalSeparator=,&dateFormat=yyyy-MM-dd&timeFormat=HH:mm×tampFormat=yyyy-MM-dd HH:mm&groupingSeparator=.&maxScanRows=0
Re:Re:Re:Re:Re:Re:All queries fail when a row ends in space
HXTT Support
2011-04-15 07:53:24.0
Checked. It's nonstandard data, which stuff space after quoted string. We will support it soon.
Re:Re:Re:Re:Re:Re:Re:All queries fail when a row ends in space
HXTT Support
2011-04-15 08:28:29.0
You can download the latest package now.

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap