MySQL Forums
Forum List  »  General

Full Text Search help.....
Posted by: Brian
Date: February 07, 2005 02:27PM

Hi,

I'm doing a Full Text Search on a table. I running the following script at command line:
------------------------

\u db1

SELECT FirstName, MI, LastName
FROM contract
WHERE STRCMP(EMail, 'brianc@crazygrandpa.com') = 0;


------------------------

And when it spits the answer out I get the following output:

FirstName MI LastName
Brian Cardarella

Now, I understand that when I use 'SELECT FirstName, MI, LastName' it will print that information to the screen, but I plan on doing a batch process with a TCL script with a variable for the string in question. (i.e. 'brianc@crazygrandpa.com') and I don't want 'FirstName MI LastName' printed every other line in my output. Is there a way to tell MySQL to not print that line or another searching method I should use?

Thanks!

Options: ReplyQuote


Subject
Written By
Posted
Full Text Search help.....
February 07, 2005 02:27PM


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.