Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Word v1.1
  HXTT XML v4.0
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)
Issue when using PACK Table query
Seema
2021-05-04 03:25:34
Hello Team,

We are having an issue when using the HXTT driver to update a CSV file.
We observed that when we use an update query followed by a PACK table statement, we can’t update the csv correctly for few scenarios,
For example,
We have below 2 queries,
Update Employee set Email = ‘abcdefgh12345678911111’ where employeeId = ‘1234’;
PACK TABLE Employee;

PACK table statement is required because if you don’t use this it inserts blank lines in the csv automatically.
If you see when a string to be updated is of length > 19 , it just blanks out that field in csv.
It works correctly when we send a string to update lesser than 19 characters.

If we don’t use the PACK statement, it updates the fields correctly for all lengths.
Is this a limitation or is there any other way to do this?

-Seema


Re:Issue when using PACK Table query
HXTT Support
2021-05-04 04:30:59

Passed test with v7.1.081 for the following sqls:
#create table if not exists Employee(employeeId int, email varchar(66));
insert into Employee (employeeId , email ) values (1234,'abcde');
insert into Employee (employeeId , email ) values (1235,'abcdee');


Update Employee set Email = 'abcdefgh12345678911111' where employeeId = '1234';
PACK TABLE Employee;

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