|
> delete from vroirspl where vlcind>000101 AND VLCIND<020901 Isn't this yymmdd -- January 1, 2000 through September 1, 2002? -----Original Message----- From: Booth Martin [mailto:Booth@MartinVT.com] Sent: Monday, February 10, 2003 11:10 AM To: midrange-l@midrange.com Subject: Re: Runtime for deleteing lots of records I am a bit worried about the logic of this statement. Those numbers look suspiciously like mmddyy dates. It would seem to me you have just deleted all the records for January and February (through the 8th) of every year including this year, and kept all of the records of every year if the day was greater than February 9th. Obviously that isn't so as you deleted 8/11 of the file, but I am very very suspicious of the results of your SQL. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@MartinVT.com ---------------------------------------------------------
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.