If they will not let you load free software then mimic it.
A sample user defined function may be
STRSQL
CREATE FUNCTION
BEGIN DECLARE CHARNUMDATE CHAR ( 8 ) ;
DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN RETURN NULL ;
END ;
SET CHARNUMDATE = CHAR ( NUMDATE ) ;
RETURN DATE ( SUBSTR ( CHARNUMDATE , 1 , 4 ) || '-' || SUBSTR (
CHARNUMDATE , 5 , 2 ) || '-' || SUBSTR ( CHARNUMDATE , 7 , 2 ) ) ;
END
Then you end up selecting the rows with a null return value to find the
erroneous ones like Alan's example.
Rob Berendt
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.