Similar Threads:
1.Search Multiple keywords across multiple fields
Hi,
I'm about halfway through building a search engine using ASP, SQL and
Access.
As part of that search engine I need to search multiple keywords across
multiple fields
So far I've figured out how to split a string into words. From here I could:
Construct an SQL statement of varying length that, using the LIKE and AND
operators. This seems damn hard!
Alternately I could concatenate the multiple fields into a variable or array
then search.
What is best - can anyone provide examples ?
Darren
2.Best way to search across multiple tables
I have a horizontally-partitioned database which contains multiple tables of
the same schema which contain messages. Each table has a FULLTEXT index on
(subject, body). Currently, the search script only allows searching one
table at a time, but I'd like to allow searching of all tables at once, or
at least more than one at once. Is there a good way to allow for this? Would
it involve using a view and/or union?
3.search across multiple records?
Hello,
I have an HTML file with <form etc in which the names of composers are
listed. Say Beethoven, Mozart, etc.
In the MySQL database I have records
composer1 Beethoven
composer1work1 Symphony No.4
composer2 Mozart
composer2work1 Piano Sonata No.2
etc etc.
How can I form the SQL statement so that the search will find
composers and their works in different records?
Any pointers please?!
Cheers,
Geoff
4.Multiple fields with multiple search items
Hello everyone: I am having a bit of a problem trying to wrap my head
around a particular select statement... I have a table that has
numerous stores. Beyond the normal address, city, state, zip fields,
each store record has 5 fields, 1 for each for ice cream flavor
carried at that particular store. I have a search box that lets you
search for ice cream flavors. Right now searching for one flavor is
hard enough since my select statement select all records "where
flavor1 = "x" or flavor2 = 'x' or...", but I would like the ability to
search for multiple flavors, and have the returned results start with
those stores that match the most flavors searched upon. Does anyone
have any way of doing this? Also, the page is written in PHP so if
you have any php related way to handle this issue, I am more than
happy to try them as well. Thank you!!!
5.Multiple Inserts across multiple tables
On 3 June, 15:34, David < XXXX@XXXXX.COM > wrote:
> Hi Guys,
>
> After a bit of advice really.
>
> We have a number of tables in our database, that when a new account is
> created it should insert into all of them (different information) get
> the insert ids from all and the update the first table with all the
> ids (probably not the best way to do it, so if anyone can point me in
> the right direction, feel free).
I would insert into 1 table and then use the ID from that one as the
primary key to use on inserting to all the rest.
And yes, if you want Commit/Syncpoint/Rollback functionality you need
to use InnoDB.
6. Full-text search across multiple tables
7. Full Text Search across multiple tabels in SQL 2005/2008
8. Full Text Search across multiple tables (Parent-Child)