Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT Text(CSV)
Default datetypes incorrect
Robbert Jan Grootjans
2010-12-24 00:52:25.0

I have a csv file with the following content:
"column1";"column2"
15;"value2"
20;"value22"

And connect to it with:
jdbc:text:/.?_CSV_Separator=\x3b;_CSV_Header=false;delayedClose=0

When I read the metadata of the result, the type of the first column is LONGVARCHAR(-1) in stead of INTEGER(4)

This regression happened between version 4.2.194 and 4.2.197
Re:Default datetypes incorrect
HXTT Support
2010-12-24 02:33:14.0
Because according to one customer's suggestion, the default value of maxScanRows has been setted to -1. You should use jdbc:csv:/.?_CSV_Separator=\x3b;_CSV_Header=true;delayedClose=0;maxScanRows=0.

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap