Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.142
  HXTT Cobol 5.0.142
  HXTT DBF 7.1.143
  HXTT Excel 6.1.146
  HXTT Json 1.0.114
  HXTT Paradox 7.1.142
  HXTT PDF 2.0.142
  HXTT Text(CSV) 7.1.142
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Word 1.1.142
  HXTT XML 4.0.143
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.0
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.0

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