Jump to content


Performing a search query

  • Please log in to reply
1 reply to this topic

#1 OriginalSunny

  • Members
  • PipPipPip
  • Advanced Member
  • 95 posts

Posted 15 March 2006 - 07:42 PM

I am fairly confident i can perform a search query when using a few variables (i.e for my website they might be catalog_num, colour, maximum and minimum price e.t.c).
What if i wanted to perform a search on all my databases?? So that the user can simply type in a keyword and all databases will be searched and if a product is found it is displayed. Is it worth me doing this and is it a long process and is the coding very complicated because the only way in which i can think of doing this is by searching every single column in each table and as i have a number of large tables which are all linked together i think this would be complicated.
If you have done this before or know how to do this please give your opinion.

#2 Steveo31

  • Members
  • PipPip
  • Member
  • 25 posts
  • LocationSan Jose, CA

Posted 15 March 2006 - 08:49 PM

Only way I know is in the query it would be similar to

SELECT db1.products.color, db2.members.color FROM db1.products, db2.members

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users