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)
auto datatypes detection
khaldoun Ateyeh
2006-03-06 00:00:00.0
i perform a query on a table column that includes integer values. However.
the hxtttext driver interpret the values as String values.
What is the standard behaviour and how can i change it.

Best Regards.
K. Ateyeh
Re:auto datatypes detection
HXTT Support
2006-03-06 00:00:00.0
If you are using CSV, you can use create table ... aColumn int,bColumn varchar(20, ...) sql to define an int column. But we're considering using "auto datatypes detection" now. That function should be availabe in 48 hours. What's your advice? Please let us know.
Re:Re:auto datatypes detection
khaldoun Ateyeh
2006-03-06 00:00:00.0
Hi,
Thank you for the quicke answer. For my application it is very important to have a good "auto datates detection".
Best Regards.
K. Ateyeh
Re:Re:Re:auto datatypes detection
HXTT Support
2006-03-06 00:00:00.0
We will do our best. Thanks for your valuable advice.
Re:Re:Re:Re:auto datatypes detection
khaldoun Ateyeh
2006-03-06 00:00:00.0
Hi,
Please let me know as soon as the function is available.

Best Regards.
K. Ateyeh
Re:Re:Re:Re:Re:auto datatypes detection
HXTT Support
2006-03-07 00:00:00.0
Supported now. Please download the latest package.
Re:Re:Re:Re:Re:Re:auto datatypes detection
khaldoun Ateyeh
2006-03-07 00:00:00.0
Hi,
Thank you for the very quick answer and for providing the functionality in so short time.
i have a question regarding the new functionality. I noticed that to figure out the type you check the type of the first non-null value. However, in many cases this is troublesome. I.e. in cases where the first non-value is an Integer and the column includes double values.

Best Regards.
Ateyeh
Re:Re:Re:Re:Re:Re:Re:auto datatypes detection
HXTT Supports
2006-03-07 00:00:00.0
No the fist row. It will check the first 10 rows.

At http://www.hxtt.com/text/installation.html#url .
maxScanRows: Indicates how many rows should be scanned when determining the column types. If you set MaxScanRows to 0, the entire file is scanned. For those tables with predefined table structure, that option will be ignored. Default:10

You can use jdbc:csv:/yourcsppath=maxScanRows=1000 to design a different value,and so on.
Re:Re:Re:Re:Re:Re:Re:Re:auto datatypes detection
HXTT Supports
2006-03-07 00:00:00.0
It will check int,long,double,date,time, and timestampe.

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