|
On 28/07/2004, at 4:53 AM, Dave Odom wrote:
Is DB2/400 like VM & MVS DB2, such that when you create tables inside of DB2 you can't read the data except with SQL and the security inside of theDB2 engine?
SQL can be used on DDS files and native I/O can be used on SQL tables.
If that is true, then I prefer SQL for programming applications, at least from the security aspect.
And, if the DB2/400
optimizer is anything like the VM/MVS DB2 optimizer, I'd say that you'll
get better performance with DB2 over the keyed-sequence record-at-a-time
access of the native 400 I/O but usually only IF you have large numbers
of records. The reason for this is because the DB2 Optimizer makes
decisions on how to best get your data, and those decisions may change
day-to-day, whereas the keyed sequence approach goes through keys and
follows much the same path regardless of how circumstances have changed
and may not be the best performer.
Regards, Simon Coulter. -------------------------------------------------------------------- FlyByNight Software AS/400 Technical Specialists
http://www.flybynight.com.au/ Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ Fax: +61 3 9419 0175 \ / X ASCII Ribbon campaign against HTML E-Mail / \ --------------------------------------------------------------------
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.