Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.135
  HXTT Cobol 5.0.135
  HXTT DBF 7.1.136
  HXTT Excel 6.1.139
  HXTT Json 1.0.107
  HXTT Paradox 7.1.135
  HXTT PDF 2.0.135
  HXTT Text(CSV) 7.1.135
  Buy Now
  HXTT Word 1.1.135
  HXTT XML 4.0.136
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)

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 © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap