Forum Moderators: open
DELETE FROM table WHERE column < value;
This had the desired results, but the next time I queried the db I got the following message:
/* Notice: A stored ORDER-BY clause could not be applied, because the column "`column`" does not exist! */
The system only gave me this message once, and the column in question IS THERE. The only thing I noticed is that some of the other queries I run against this db are no longer coming back ordered by start time -- the column in question. This was easy enough for be to fix by adding an ORDER-BY in my scripted query, but I haven't been able to find any info no the message above. I'd like to fix it from the db side if need be instead of making up for it in my scripted queries. Any info would be great.
Thanks,
Mike
Deleting some data from the table should not result in those errors at all.
The reason for the sorting issue is a coincidence.... I am sure before you started deleting data the tables "natural" order had them in that order once you deleted data the natural order changed causing you to require some ORDER BY arguments...
What database and version are you using?