|
Delete should not be too big of a concern but you can minimize deleted records by setting the table to reuse deleted records: chgpf file(yourtable) reusedlt(*yes) >>> GiriGopal@xxxxxxxxxx 11/4/2003 8:25:39 AM >>> Hello: I am using sql to insert records to an AS/400 table. But before I insert I want to truncate the table. I get error message stating that I cannot truncate a table. So I am using Delete. This works but this does a soft delete only. The relative record number does not start with zero after the delete. Is there any option in DB2 SQL similar to truncate in Oracle. Thanks GG
As an Amazon Associate we earn from qualifying purchases.
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.