Skip navigation links

MySQL Forums :: Newbie :: Insert restriction


Advanced Search

Re: Insert restriction
Posted by: Peter Brawley ()
Date: April 12, 2012 08:30AM

> we can't modify the structure of database tables

In that case, the job you have been given is an unprofessional hack. If you insist on participating in it for some reason, then for each proposed new row, to run a SELECT for those values, and issue an INSERT only if the SELECT returns no rows.

Options: ReplyQuote


Subject Written By Posted
Insert restriction Irfan Ali 04/12/2012 05:03AM
Re: Insert restriction dileep ch 04/12/2012 05:06AM
Re: Insert restriction Irfan Ali 04/12/2012 06:25AM
Re: Insert restriction Peter Brawley 04/12/2012 08:30AM
Re: Insert restriction dileep ch 04/12/2012 06:48AM
Re: Insert restriction Irfan Ali 04/12/2012 06:56AM
Re: Insert restriction dileep ch 04/12/2012 07:02AM
Re: Insert restriction Irfan Ali 04/12/2012 11:56PM


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.