Mysql search query ignoring dots

2011-01-24 Thread Barbara Picci
Hi all, I have to perform a mysql query in a table with millions of records. I've full-text indexed my search field and I'm searching with MATCH AGAINST. But there is a problem. In this field there are company names that contain dots, for istance I've "PO.SE. srl" and I want to find it if the u

dbcs search/query problem

2003-12-19 Thread Yiguang Hu
I have a table like this: tb(ke varchar(10),kc varchar(10),...) where ke contains ascii string while kc contains dbcs string in UTF8. The character_set_server(system,database,client,connection) are all utf8. I have no problem to query the table using "like 'xx%' " against column ke with xx as as

Re: Need your help in a search query

2003-06-26 Thread danchik
om Johnson [mailto:[EMAIL PROTECTED] > Sent: 26 June 2003 14:23 > To: [EMAIL PROTECTED] > Subject: Need your help in a search query > > > Hi MySQL Experts, > > I am pretty new at this and need your help in figuring out if it is possible > to create a query to search for words i

RE: Need your help in a search query

2003-06-26 Thread Mike Hillyer
TECTED] > Sent: Thursday, June 26, 2003 7:23 AM > To: [EMAIL PROTECTED] > Subject: Need your help in a search query > > > Hi MySQL Experts, > > I am pretty new at this and need your help in figuring out if > it is possible > to create a query to search for words in

RE: Need your help in a search query

2003-06-26 Thread Peter Lovatt
You could try SOUNDEX(str) http://www.mysql.com/doc/en/String_functions.html which might do what you are looking for HTH Peter -Original Message- From: Tom Johnson [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 14:23 To: [EMAIL PROTECTED] Subject: Need your help in a search query

Need your help in a search query

2003-06-26 Thread Tom Johnson
Hi MySQL Experts, I am pretty new at this and need your help in figuring out if it is possible to create a query to search for words in a given field. What I am trying to do is allow a user to enter words to search for a given title in the database. For example, a person is looking up the title

re: Re: search query crashing mysql ..... :S

2002-11-26 Thread Victoria Reznichenko
toby, Tuesday, November 26, 2002, 10:55:38 AM, you wrote: tz> plz tell me how can i run the qoute() function on $srch tz> i tried to look the function up in mysql doccumentation online but no luck tz> . Here is described how QUOTE() function works: http://www.mysql.com/doc/en/String_fu

Re: search query crashing mysql ..... :S

2002-11-26 Thread toby z
Subject: Re: search query crashing mysql . :S Date: Mon, 25 Nov 2002 09:17:43 -0600 You did not run the quote() funcion on $arch. If $arch contains any special characters, it will break your query. toby z wrote: hay guyz im havin a weired problem i ve this search query $srch_qry = "

Re: search query crashing mysql ..... :S

2002-11-25 Thread gerald_clark
You did not run the quote() funcion on $arch. If $arch contains any special characters, it will break your query. toby z wrote: hay guyz im havin a weired problem i ve this search query $srch_qry = " select ctnt_inf.* from ctnt_inf ". " where (match (firstName ) aga

search query crashing mysql ..... :S

2002-11-24 Thread toby z
hay guyz im havin a weired problem i ve this search query $srch_qry = " select ctnt_inf.* from ctnt_inf ". " where (match (firstName ) against (\"".$srch."\") ". " or match (lastName ) against (\"".$srch."\") ".

Re: PHP search query into all tables of a MySQL db

2002-09-26 Thread Joseph Bueno
RGE.html Just wondering: Why don't you use a single table, since they all have the same structure ? Regards > >> From: Joseph Bueno <[EMAIL PROTECTED]> >> To: Pascale Lunal <[EMAIL PROTECTED]> >> CC: [EMAIL PROTECTED] >> Subject: Re: PHP search que

Re: PHP search query into all tables of a MySQL db

2002-09-26 Thread Pascale Lunal
>From: Joseph Bueno <[EMAIL PROTECTED]> >To: Pascale Lunal <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: PHP search query into all tables of a MySQL db >Date: Thu, 26 Sep 2002 12:04:53 +0200 > >Pascale Lunal wrote: >>Oops: sorry if this message appear

Re: PHP search query into all tables of a MySQL db

2002-09-26 Thread Joseph Bueno
Pascale Lunal wrote: > Oops: sorry if this message appears twice but my connection broke down > just when I clicked 'send'. > > Hello, > > I am currently writing a search query in PHP to: > > 1. search in MySQL database (not in one table but in all the tables

PHP search query into all tables of a MySQL db

2002-09-26 Thread Pascale Lunal
Oops: sorry if this message appears twice but my connection broke down just when I clicked 'send'. Hello, I am currently writing a search query in PHP to: 1. search in MySQL database (not in one table but in all the tables of the whole database), 2. search when more than one sea

Search Query input works, but gives a blank page for results?

2002-05-19 Thread Andrew Lietzow
The following script, with some edits, has allowed access to a "LOCAL" mysql database. I have reworked it some to access a MySQL on another server I suppose I could transfer the script to that server for loading/execution, but I'd like to learn how one accesses a remote mySQL database (to faci

Re: Search Query

2001-04-06 Thread MikeBlezien
ls negotiating prices book with tips for buying', 'VE'); EXPLAIN SELET * FROM bus_search WHERE MATCH(title,keywords) AGAINST('Best Car Deals') Comments: Impossible WHERE noticed after reading const tables >>I poste

Search Query,

2001-04-06 Thread MikeBlezien
I posted a question regarding a search query we are trying to get to work, and was hoping someone can tell why this query doesn't work. It should return results as all the search criteria is there in the tables( for test purposes) QUERY: SELECT bi.bus_name,bi.address,bl.city,bl.state, bl.zi

Search Query

2001-04-05 Thread MikeBlezien
Hello All, I have been trying to figure out why the below query doesn't quiet produce the results we are looking for. I was hoping some one maybe able to shed some lite on why QUERY #3 returns the wrong results. If addition information is needed, please feel free to respond privately, off the li

Build Search Query - STUMPED!!

2001-03-19 Thread MikeBlezien
Hello All, MySQL version 3.23.33 I was hoping someone maybe able to offer some suggestion on a search query I've been working for a day or so, but seems to be getting no where fast! I've attached the tables and test inserts I'm working with. This is for a business referral sear

Build Search Query - STUMPED!! - REFERRAL.SQL (0/1)

2001-03-19 Thread MikeBlezien
Hello All, MySQL version 3.23.33 I was hoping someone maybe able to offer some suggestion on a search query I've been working for a day or so, but seems to be getting no where fast! I've attached the tables and test inserts I'm working with. This is for a business referral sear

Build Search Query - STUMPED!! - REFERRAL.SQL (1/1)

2001-03-19 Thread MikeBlezien
# # Table structure for table 'bus_info' # CREATE TABLE bus_info ( info_id int(11) unsigned DEFAULT '' NOT NULL auto_increment, bus_name varchar(100) DEFAULT '' NOT NULL , contact_fname varchar(20) DEFAULT '' NOT NULL , contact_lname varchar(20) DEFAULT '' NOT NULL , refer_by int(8))