× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



CREATE TABLE ROB.DARRYL (MYCOL CHAR (5 ) NOT NULL WITH DEFAULT)
INSERT INTO ROB.DARRYL VALUES('A')
INSERT INTO ROB.DARRYL VALUES('B')
INSERT INTO ROB.DARRYL VALUES('C')
delete from rob.darryl
3 rows deleted from DARRYL in ROB.
SELECT SYSTEM_TABLE_SCHEMA, SYSTEM_TABLE_NAME, SYSTEM_TABLE_MEMBER,
NUMBER_ROWS, NUMBER_DELETED_ROWS
FROM qsys2.syspartitionstat
WHERE system_table_schema='ROB' and system_table_name='DARRYL'

....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+...1

LIBRARY FILE SYSTEM_TABLE_MEMBER NUMBER_ROWS
NUMBER_DELETED_ROWS
NAME NAME
ROB DARRYL DARRYL 0
3
******** End of data ********

delete from, even without a where clause, is not equal to clrpfm

But, are you're saying that the reuse deleted rows should have consumed
those deletions, right? For example if I insert 5 rows I should see:
....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+...1
LIBRARY FILE SYSTEM_TABLE_MEMBER NUMBER_ROWS
NUMBER_DELETED_ROWS
NAME NAME
ROB DARRYL DARRYL 5
0
******** End of data ********

Or, are you saying that the NUMBER_ROWS from OriginalTable is not equal to
the sum of the NUMBER_ROWS of each of the table splits?


Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.