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)
Delete intoduces blank rows in the txt file
frank
2006-09-07 16:27:53
Hi,

I recently bought the HXTT Text(CSV) driver and have the following issue:
I have a very simple table called "numbers.csv":
NUM
1
2
3
4

When I delete records with the following statement:
delete from numbers where num > 2
then blank lines are intoduced in the text file. Why is that?
When I try to remove the rows myself with:
delete from numbers where deleted()
I get a timeout.

Can you help me out please.

Frank Montyne
Re:Delete intoduces blank rows in the txt file
HXTT Support
2006-09-07 18:56:02
Thanks for your response. Please download the latest package now. I have tested with the following sqls:
delete from numbers where num > 2 ;
delete from numbers where deleted() ;
select * from numbers;

BTW, "pack table numbers;" is preferable to pack empty rows.

If you still meet timeout exception, you should check whether an open ResultSet object is holding that table, because pack table will use table exclusively.
Re:Re:Delete intoduces blank rows in the txt file
frank
2006-09-08 00:10:09
Thanks for the update, I'll try it out. Could you also tell me why the blank rows are introduced at all?

Thanks,
Frank
Re:Re:Delete intoduces blank rows in the txt file
frank
2006-09-08 00:10:38
Thanks for the update, I'll try it out. Could you also tell me why the blank rows are introduced at all?

Thanks,
Frank
Re:Re:Re:Re:Delete intoduces blank rows in the txt file
HXTT Support
2006-09-08 02:05:54
It's possibly produced by insert/update/delete sql. You can use ResultSet.rowDeleted() to find those blank rows. A pack table operations will remove all blank rows.

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 | Refund | Sitemap