|
Am 27.08.2024 um 19:18 schrieb Brian Garland via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx>:
If memory serves me correctly EXISTS is more efficient than COUNT.
DCL-S ExistsFlag IND;
ExistsFlag = '0'
SELECT '1' INTO :ExistsFlag WHERE EXISTS(SELECT......)
Brian
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.