|
Alan: > This reminds me of a pending question I've had that might > help. I've checked the manual, but can someone refresh my > mind on the SQL function that takes one value from a list of > two, where one is a database value, and the other is a value > to select in case the database value is null? (Or something > like that?) I believe you're thinking of COALESCE: select lastname, firstname, coalesce(char(termination_date), 'ACTIVE') from employees Regards, John Taylor
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.