Bluehost.com Web Hosting $6.95

multiple compare

This is a discussion on multiple compare within the MySQL Database forums, part of the Database Forums category; Hi, I need to check a set of links against a large database that I have created. As the links ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-05-2007
carlbernardi@gmail.com
 
Posts: n/a
Default multiple compare

Hi,

I need to check a set of links against a large database that I have
created. As the links get added I check one by one that they don't get
added twice. I was wondering if it is possible to pass the entire SET
of links to be checked all at once instead of one by one. I am hoping
this will make my application run fast.

Thanks

Carl

Reply With Quote
  #2 (permalink)  
Old 03-05-2007
Jerry Stuckle
 
Posts: n/a
Default Re: multiple compare

carlbernardi@gmail.com wrote:
> Hi,
>
> I need to check a set of links against a large database that I have
> created. As the links get added I check one by one that they don't get
> added twice. I was wondering if it is possible to pass the entire SET
> of links to be checked all at once instead of one by one. I am hoping
> this will make my application run fast.
>
> Thanks
>
> Carl
>


Carl,

You can check them all at once - but I agree with Gordon. A Unique
Index on the column will ensure you have no duplicates.

That's part of its purpose.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0