From: Daren Cotter <[EMAIL PROTECTED]>

> ...what happens when I want to delete a poll?

Do it machanically. That is, do a query in advance to find the data that needs to be 
deleted, then go through and delete it. The logic for joining a delete can be written, 
but MySQL doesn't support it. (Hey folks, does anything else support joined deletes?)


By the way, since poll_votes has a PK of aim_screenname/answer_id, folks can give each 
answer for a given poll once. As apposed to just one answer per poll.



---
Rodney Broom
Programmer: Desert.Net




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to