This is a discussion on Treat Table like a queue within the MySQL Database forums, part of the Database Forums category; Hello All, I don't know if this is possible or if I'm just imagining functionality, but is there ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello All,
I don't know if this is possible or if I'm just imagining functionality, but is there not a way to select and delete in the same statement and use a table as a queue with this Select/Delete functionality acting like a pop() command. Thanks in advance, --Melih Onvural |
|
|||
|
> I don't know if this is possible or if I'm just imagining
> functionality, but is there not a way to select and delete in the same > statement and use a table as a queue with this Select/Delete > functionality acting like a pop() command. Thanks in advance, Sure there is. Just write a stored procedure for that. Your MySQL version has to support it, though. Best regards. |