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
  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
Heng Xin Tian Tai Ltd. of Beijing City (abbr, HXTT)

CSV header not present when creating a table.
2005-03-14 00:00:00.0
When creating a new table with:

CREATE TABLE chk (businessmode CHAR(14),"first name" char(16),"last name" char(18), company char(50),trade CHAR(35), address char(30), address2 char(30), city char(19), flag char(2),ID char(7),serialNO numeric(6,0),_CSV_Separator char(1) default ',', _CSV_Quoter char(1) default '"',_CSV_Header boolean default true)

I see no header line in the created CSV file.

I also set the property
Properties props=new Properties();
props.put("_CSV_Separator ", ",");
props.put("_CSV_Quoter ", "\"");

prior to creating the table with same effect.

Re:CSV header not present when creating a table.
HXTT Support
2005-03-14 00:00:00.0
Dear Rodolfo,

The main usage of _CSV_Header is used to read header row and data rows from other applications' CSV files. HXTT Text won't add a CSV header when it create new CSV table, so that the preferable value for _CSV_Header is false. If you wish HXTT Text to add a header row into the new CSV table, please let us know. Your suggestion is welcome.

With best regards,

Dai Wei
Re:Re:CSV header not present when creating a table.
Rodolfo Martin
2005-03-14 00:00:00.0
Thank you for so fast response. I was afraid of that, but also might missed something.

best regards

Search Key   Search by Last 50 Questions


Copyright © 1999-2017 Heng Xin Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap