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
  Support
  Download
  Document
  FAQ
  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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT Text(CSV)
Delete intoduces blank rows in the txt file
frank
2006-09-07 16:27:53.0
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.0
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.0
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.0
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.0
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
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap