MySQL Forums
Forum List  »  Newbie

Re: Stored Procedures
Posted by: Phillip Ward
Date: April 28, 2023 03:10AM

If I assume that ...
- Invoice02 is a Table in your database, and
- Check01 a field within that table
... then I'm baffled as to why you'd want to use a Procedure for this at all.

If the intent is to delete all rows in Invoice02 that have the Check01 field set to 1, then this will do the job nicely:

from Invoice02
where Check01 = 1 ;

Of course, if you really do means "files" - sequences of bytes written to disk - then that's a whole other story!

Regards, Phill W.

Options: ReplyQuote

Written By
April 27, 2023 08:35AM
Re: Stored Procedures
April 28, 2023 03:10AM
April 28, 2023 07:19AM
May 11, 2023 07:17AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.