insert ignore into select from
will skip duplicates.

Karl J. Stubsjoen wrote:

>Hello,
>
>How can I determin what erros occur from an "Insert into select from"
>statement?  Namely, I'm looking for any duplicate record errors.  It is
>important to inform the user (in a web browser) whether or not a particular
>insert would fail.
>
>Must I perform a lookup first, or is there a way to capture this error, or
>look up a list of errors for the last SQL command.
>
>Thanks,
>
>Karl
>
>
>---------------------------------------------------------------------
>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
>
>



---------------------------------------------------------------------
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