Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    MYSQL




Invalid Syntax


I am having trouble changing my password back to OLD_PASSWORD by the following :

mysql> SET PASSWORD FOR
-> 'some_user'@'some_host' = OLD_PASSWORD('newpwd');

When I do it, it says
ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'OLD_PASSWORD ('newpwd')' at line 2




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Invalid Use
I am having a problem with group. Following is my query but it gives an error of "Invalid use of group".

SELECT refMember.MemberAcroName, refMember.MemberName, Count(DistrictLevelInformation.FormID) AS Spread
FROM (refMember LEFT JOIN MainInformation ON refMember.MemberID = MainInformation.MemberID) LEFT JOIN DistrictLevelInformation ON MainInformation.ID = DistrictLevelInformation.FormID
GROUP BY refMember.MemberAcroName, refMember.MemberName, MainInformation.qYear, MainInformation.Quarter
ORDER BY MainInformation.qYear DESC , MainInformation.Quarter DESC , Count(DistrictLevelInformation.FormID) DESC

Invalid Use
I have tested my query on MySQL 5 and it works, sadly the server it is to be run on only has 3.
I was just wondering what I need to update in the following query to get it working on 3 or if it is even possible to get it running on 3.


Code:


.....
and keyword IN ('keywords')
group by
people
having count(*) >= 1
ORDER BY people ASC

Invalid Index
I try to used the MyPhpAdmin 2.8.2.4 with PHP 4.4.4, MySQL5.0.2.4 and Apcache2 and I got this error, 'invalid Index'

Invalid Use Of Group By
I have the following query:

SELECT CLAIMPOLICYNUMBER AS Plan, PROVIDERSPECIALTY AS Specialty, TINNUM AS Tin, SUBTINSEQNUM AS SibTin, CHARGETYPECATEGORY AS ChargeCategory, SUM(BILLEDCHARGE) AS Billed, SUM(PAID) AS Paid, " + _
COUNT(DOCUMENTNUM) AS ChgCount
FROM BAT
WHERE CASENUM='0000911'
AND CHARGETYPE <> 'DENTAL' AND CHARGETYPE <> 'VISION' AND CHARGETYPE <> 'ADMIN'
AND PMTDATE >= '2005-06-01' AND PMTDATE <= '2005-06-30'
GROUP BY CLAIMPOLICYNUMBER, PROVIDERSPECIALTY, TINNUM, SUBTINSEQNUM, CHARGETYPECATEGORY
ORDER BY SUM(BILLEDCHARGE)

It works great without the ORDER BY clause, but with it, I get the aforementioned error.

Directory Name Invalid
For testing purposes I have PHP installed and I have MySQL installed on my local laptop. Windows XP Pro

I am just learning both of them. I have read quite a few chapters in the MySQL Manual. Enough to allow me to get around in MySQL and directly create tables an view information in them, upload .txt files into the tables, etc etc.

I am receiving an error when I try to connect to MySQL via a PHP script.
I have no problem connecting to MySQL via Command Line.

The error I receive is "The directory name is invalid."

Here is my code... I am not sure where to put the directory name or where to put the directory path in order to make it valid. I am not sure what directory it is talking about.

<html>
<head><title>Connect to MySQL</title></head>
<body>
<?php
//connecting to the mysql server uses a mysql_connect command.
$link = mysql_connect("locoalhost",$_POST['username'],$_POST['password']) or die("Connect Error: ", . mysql_error());
echo 'Successfully Connected.
';
mysql_close($link);
?>
</body>
</html>

Where exactly would I put the path to the directory or where would I name the directory?

Invalid Use Of Group Function
I have the following Sql Statement... I'd like to find the sum of hrs worked by an employee in the month, the required number of hrs, and the sum of the difference between the two, the worked hrs are calculated by subtracting the max vtranstime - min vtranstime and the required hrs are calculated by subtracting max to1 - max from1....

I tried to do the following:

select sum(timediff(max(vTransTime),min(vTransTime))) as worked,
sum(timediff(max(translog.to1),min(translog.from1))) as required,
sum(timediff(sum(timediff(max(vTransTime),min(vTransTime))),
sum(timediff(max(translog.to1),min(translog.from1))))) as overtime,
empid,deptname, firstname,lastname from employee,translog,department where
employee.emp_magnetic_num=translog.vId
group by employee.empid
I am getting the following error :
Invalid use of group function

Invalid Backup File
I am tring to restore a .pmb backup file and getting the message "Invalid backup file". I am very new to myssql so I don't have a clue what that means. Wrong version of mysql? Corrupted file?

Invalid Use Of Group Function
Using mysql 4.0

I get the following error message

"Invalid Use of group function"

with the following code:

update custRP c, tbl_acctbal a
set c.rpBal = sum(a.currRPBAL)
where c.custid = a.custid

Invalid Argument While Using BCP (Script)
This will be a 50/50 question. It's either something that the SQL experts can answer or a scripting forum. I'm new to SQL and just coming to grips with getting familiar with scripts. I've developed a small script for my workplace that will connect to a remote server and extract the specified table that I want, zip it up and then copy it back to my local machine. This works fine until it tries to run the bcp command.
If I tivoli to the remote machine and type the bcp command in command prompt it works fine. However when executed from the script it throws an invalid argument and seems to refer to the "-" minus I place in front of the U (user) or P(pwd). The script echos the users table request to a file which is then copied to the remote server (SQLtable.cmd) and then PSEXEC is called to connect to the server and run the script. e.g. psexec \%Server% -u %user% -p %password% "C: empSQLtable.cmd"
PSEXEC then returns the following error.

C:WINNTSYSTEM32>Bcp FrontOff..SHIFT_TER_DATA out C: empdmpnlSHIFT_TER_DATA.dat ûUsa ûPpwd (chopped off the -n)
Unknown argument '¹Usa' on command line.

Sorry about all the data, just hope someone can help. Must be an easy way. The small script which psexec is executing contains two simple lines. Bcp FrontOff..SHIFT_TER_DATA out C: empdmpnlSHIFT_TER_DATA.dat -Usa -Ppwd -n
wwzip -9 C: emp\%username%SQLtables.zip C: emp\%username%*.*

Invalid Characters With PHP And MySQL
I am writing about a situation that our client is currently experiencing with Linux Mandrake, Apache, MySQL and PHP. We successfully deployed a website running on this type of system for a period close to two years. It has a HTML GUI component that the client can type or paste content into and it serves-up dynamic pages in PHP from a MySQL database. Recently the web site was hacked by the Travel Bug virus and it forced the client to restore the web site and server software mentioned below.

Original Install
Mandrake 8, MySQL 3.23.32, PHP 4.0.06 and Apache 1.3.26-x.x

Current Install
Mandrake 9.0, MySQL 3.23.52-1, PHP 4.2.3-1.1 and Apache 1.3.26-6.1

The current install has lead to new problems. Content with double and single quotes are showing up as squares or question marks. For example, I have a page that is showing the square symbol in place of double quotes. If I do a view source on that specific page I can see the double quotes but if I telnet into the server and query the MySQL record belonging to that page the square or double quote character is nowhere to found. The following items are the steps we tried to understand why this is happening.

First, we did the following to test the integrity of the MySQL backup file. We Restored the MySQL database on our test environment which has the original software specs mentioned above but on a window server running IIS not apache. I did a restore of the MySQL database file and did not get any invalid characters. Even though the environment isn’t completely identical to the clients we can make the assumption that the dump file wasn’t corrupted.

Second, possibly content editors were copying and pasting from word into the HTML GUI component thus creating these invalid characters. In most cases yes but I personally noticed the invalid character issue with a page that doesn’t use the HTML GUI component.

Third, Possibly the configuration especially the character set from the original version to the current version of MySQL is not configured correctly. We believe this to be the primary issue. The resolution is to configure or reinstall MySQL and restore from backup.

Fourth, has anyone tried the PHP functions to convert the invalid characters. A request was to look into the iconv() function. The iconv library functions convert strings between various character sets encodings. This involves compiling the PHP interpreter which is why I haven’t tested it.

Fifth, Can some other process running on the server be causing this?

Altogether, we soon will begin creating a test server identical to the original settings and step through the install and try to recreate the invalid character issue. But, if anyone has experienced this invalid character issue or has more information that would benefit us your help would greatly be appreciated.

Invalid Use Of Group Function - Max(`mainid`)+1
I am trying to insert a incremented number into the menu table. I will have an autoincremented number as well as the mainid number. When I tested the code that is below, the above error happened. Can someone please tell me the correct way of doing this? I am getting really frustrated with this. Nothing wants to work for me.

require "config.php";
$insert06 = "INSERT INTO `menu` (`mainid`)
                VALUES (max(`mainid`)+1)"; // error line
if (mysql_query ($insert06)) {
    print "Mainid added.";
    $query2 = mysql_query("SELECT mainid FROM menu") or die ("Could not query because: ".mysql_error());
    while($row2 = mysql_fetch_array($query2)) {
        echo $row2['mainid']." = Mainid";
    }
} else {
    print "<p>Could not add the entry because: <b>" . mysql_error() . "</b>. The query was $insert06.</p>";
}
mysql_close();

Group By Returns Invalid Dates
Hi i have one table:

ID, User, Score, Date
1, mac, 1234, 2007-12-09 09:01:07
2,kurca, 3232, 2007-12-05 09:43:57
3, mac, 999999, 2007-11-07 09:44:14

I wan to create a high score list which will represent the best scores but not repeating anyone for example:
1, mac, 999999, 2007-11-07 09:44:14
2,kurca, 3232, 2007-12-05 09:43:57


Now i use:
SELECT ID, User,MAX(Score) as maxScore,Date
FROM `table`
GROUP BY User
ORDER BY maxScore DESC

with this query the score is right but the date is invalid example:
1, mac, 999999,2007-12-09 09:01:07
2,kurca, 3232, 2007-12-05 09:43:57

Strip Invalid Char From Tables
Just wondering if anyone knows a way I can run a query to strip out commas from a table?

Table Join Invalid Query
I have this table join below and I am getting an invalid query. How can I put the 15th line ($sql .= " group.id = master.id
"; and the 17th line ($sql .= " where ".$currentrow_sql ; together. Is it even possible to do that?

Invalid Access To Memory Location.
I have a hosted account - I'm getting this error now..... Any reason that I can hunt down to figure out why I should be getting it?

Error:invalid Use Of Group Function
version:mysql 4.0.18 for win

hi,all dear:)

when execute sql-statement,
error raise:

update customer,cu_order set customer_point=0
where customer_keyid=order_customerid and
DATE_SUB(now(),INTERVAL 1 YEAR)=DATE_FORMAT(max(order_time),"%Y-%m-%d 23:59:59")

error:invalid use of group function

i beg someone tells me why?how resolve?

thx

Valid/Invalid Column Names
I'd like to present tabular data in HTML with the first row being the names of the columns in my database. However, I'd like them to be more presentable; for example 'I.P. Address' instead of 'ip_address'. I was wondering if a name like 'I.P. Address' could ever somehow be a valid column name or not.

Invalid MySQL-Link Resource
I'm getting the error message 'Supplied argument is not a valid MySQL-Link resource' (applies to the 3rd line of code) when the code below executes:

$delete_part_no_query = "DELETE FROM prices WHERE part_no == '$part_no_to_delete'";

$delete_part_no_result = mysql_query($delete_part_no_query);

$num_delete_part_no_result = mysql_affected_rows($delete_part_no_result);

The query works fine and I'm under the impression that 'mysql_affected_rows' should be used to return the number of rows affected by DELETE. However, I keep getting the above error message.

Importing CSV :: Invalid Field Count In CSV Input On Line 1
I was able to import a csv file without any problems, until my server updated phpmyadmin from 2.6.4 pl2 to 2.8.02. now when I try to import the same file I get the following error.

Error:
Invalid field count in CSV input on line 1.

Invalid Distinct Recordset Returned On An Indexed Column
I have a table with about 1.2 million records. I have an index set on a column.

For close to two years, this query has worked perfectly fine:

SELECT DISTINCT `Mgmt_Area` as thevalue, `Mgmt_Area` as valueid from qcdata ORDER BY thevalue

Note, this is a programmatically generated query based on some user selections. This query actually is used to create a listbox. The index has 62 separate values.

This query would usually return: Code:

Warning: Mysql_data_seek(): Offset 0 Is Invalid For MySQL Result Index 2
I only posted this on the MySQL forums becouse i believed it had to do with the query.

I get the following error:

Warning: mysql_data_seek(): Offset 0 is invalid for MySQL result index 2 (or the query data is unbuffered)

mysql_data_seek is used in a function (made not by me) which i know 500% that it works for other queries.

The query in PHP is this:

You Have An Error In Your SQL Syntax; Check The Manual That Corresponds To Your MySQL Server Version For The Right Syntax To Use Near 'orange' WHERE `ID` = '11128'' At Line 1
I am getting this error message everytime I run my php script....
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'orange' WHERE `ID` = '11128'' at line 1

It seems that there is a limit on the where syntax. I don't know how to fix it, and it's a very big problem for me.

My task is to insert 1million values into mysql table with a php foreach loop. If I insert aprox. 10.000 values, this error don't come, but any numer over will give my mysql error.

Invalid Use Of Group Function (was "Baffled By Query Error")
trying to figure out why I keep getting this error with the following query:

SELECT c.account_id,a.name,a.company,SUM(c.agent_product_time) AS mins
FROM account a LEFT JOIN calls c ON c.account_id = a.id
WHERE c.calldate >= DATE_SUB(NOW(),INTERVAL 14 DAY) AND c.agent_id = 2
AND SUM(c.agent_product_time) >= '500' GROUP BY c.account_id ORDER BY mins

ERROR: #1111 - Invalid use of group function

Except Where Syntax
Say I have a query such as SELECT * FROM trains WHERE seats >='3'

now this will pull back all trains where the number of seats excedes 3 how do I go about excluding certain rows so it pulls them back regardless.

something like

SELECT * FROM trains WHERE seats >='3' EXCEPT WHERE shuttle = 'y' ....

What Does This Syntax Mean?
here is a code snippet from an article on database schemas to implement tagging
what does "b" refer to, if the tables are named "bookmark" "tagmap" and "tags"? same for "bt.bookmark_id" - what does bt refer to?
SELECT b.*
FROM tagmap bt, bookmark b, tag t
WHERE bt.tag_id = t.tag_id
AND (t.name IN ('bookmark', 'webservice', 'semweb'))
AND b.id = bt.bookmark_id
GROUP BY b.id
HAVING COUNT( b.id )=3

Do Syntax
this mysql code doesnt work:

set strSQL='Update set pet="DOG" where ID=15';
do strSQL;

SQL Syntax
I want to cretae a relationship between table test3 and test, what am I doing wrong here when I create a foreign key.

CREATE test3(

order_no BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
Order_Date date,
Customer_SID integer,
Amount double,
FOREIGN KEY Customer_SID REFERENCES test(id)

AS Syntax
i have the following query

SELECT * FROM dogs WHERE dog_id IN (SELECT dog_id FROM sick_dogs) OR (dog_name=="doggy" AND dog_id NOT IN (SELECT dog_id FROM sick_dogs))


how can i not to have to do two (SELECT dog_id FROM sick_dogs) twice?
i tried

SELECT * FROM dogs WHERE dog_id IN (SELECT dog_id FROM sick_dogs) AS tmp OR (dog_name=="doggy" AND dog_id NOT IN tmp).

Syntax
i have a database with a table named products. there are several categories of product and several products under each category.

what i want to do is using DISTINCT, i want to find out what categories are in the table and randomly choose 1 product under each category
i think i need to use a union and first get each category distinct and then do a random select in each category, can someone help me with the syntax of doing this?

SQL Syntax
This SQL statement returns the same result twice even though there is
only one matching entry in the first table "tbl_Drivers" and none in
the second table. Can anyone explain why? I would appreciate it very
much. I am trying to improve my understanding of SQL.

SELECT * FROM tbl_Drivers Drvs, tbl_Del_Drivers DelDrvs where
(Drvs.FName = 'Larry' AND Drvs.LName = 'Smith') OR (DelDrvs.FName =
'Larry' AND DelDrvs.LName = 'Smith');

Syntax Help
I'm trying to find out the right syntax I would need to add in the SUM(). I'm trying to be able to obtain the TOTAL COUNT of records returned. I currently having it grouping by the business ID so the count may look like this

Count Score
1 5
4 3
2 2

I'm trying to find the total count which would be 7. I can do this by adding additional PHP code but I'd prefer to do this within the SQL as I feel its only appropiate. Any help is appreciated. A simple link will suffice as well. Thanks


SELECT COUNT(tbl_biz.bizID),
MATCH(bizName,keywords)
AGAINST ('string') AS score
FROM tbl_biz
LEFT OUTER JOIN tbl_addy ON tbl_addy.bizID = tbl_biz.bizID
WHERE MATCH(bizName,keywords)
AGAINST ('string')
GROUP BY tbl_biz.bizID;

Sql Syntax
Please note that, i uploaded the rest of the data base except tis table, the table has been created, but has zero records

The query below is all I have in the dump file

INSERT INTO `a9_uscounty` VALUES (1,'Alabama','Coffee County','Coffee County,Alabama State, real estate sales.',' Free real estate listings, find Apartments, or houses for sale in Coffee County, Alabama State.',' Real estate listings for Coffee County, Advertise your Apartments, or houses for sale',' Coffee County Apartment listings',' Free apartment listings, find Apartments, rooms, or houses for rent in Coffee County',' Apartment listings for Coffee County, Advertise your Apartments, rooms, or houses for rent','Coffee County rooms','Coffee County apartments','Coffee County apartments','Coffee County Real estate, house, apartments for sale',' Advertise your Real estate, house, apartments, in Coffee County for sale','~/Alabama/Coffee-County/rental/room/countyrental.aspx','~/Alabama/Coffee-County/rental/apartment/countyrental.aspx','~/Alabama/Coffee-County/rental/house/countyrental.aspx','~/Alabama/Coffee-County/sales/house/countysales.aspx','~/Alabama/Coffee-County/sales/apartment/countysales.aspx')

SQL Syntax
I would love some help with my syntax (or another strategy). I keep bombing. I've simplified it. Here is the deal:

Three files:

Main: id, name
Links1: id, linkname1 (a record may or may not exist for each record in Main)
Links2: id, linkname2 (a record may or may not exist for each record in Main)

I need a list of every record in main plus linkname1 and linkname2. I am trying to use a subquery.

SELECT name, linkname2, links1.id, links1.linkname1
FROM
(SELECT main.id, main.name, links2.linkname2 from main
LEFT OUTER JOIN links2 using (id)) AS subfile
LEFT OUTER JOIN links1 using (id)

I keep getting syntax errors. I would really appreciate any input.

SQL IN Syntax
SELECT ip FROM db1.table1 WHERE ip IN ( SELECT ip_network FROM
db2.table2 WHERE name = <value> )

Basically, the way the data shows up in the first column 'ip' is
x.x.x.x (full ip). However, for ip_network, it is x.x (only the first
two octets).

My question is, are there any ways to do some sort of wildcard search
so that I could match the partial IP from ip_network up to however many
full IPs there are in my first table. It would be a 1:n relationship
(I believe ... I don't have it neccessarily setup w. FKs. This is a
temp. project and this could save me a lot of coding time).

I wouldn't doubt it if it could be accomplished by a JOIN or something
of that nature. I'm just not sure because the two values won't be
exactly equal.

Syntax Help
I am getting errors when I am trying to execute the following MYSQL query in PHP

PHP Code:

 $dbLink = @mysql_connect($dbasehost,$dbaseuser, $dbasepassword);
    mysql_select_db($dbase);
                   $sql="Select * FROM jobs WHERE jobid=$currentjobid";
                   $result = mysql_query ($sql,$dbLink) or die("Težave pri nalaganju baze podatkov!"); 

I think the error could be at WHERE jobid=$currentjobid";

SQL Syntax
when selecting multiple rows with different values in a certain row..
is this proper syntax?

 SELECT * WHERE name IN ('hello', 'cookie', 'smile', 'police', 'fun')

It seems to work fine, but It came from another SQL version I believe..
not mySQL.
Just wanted to double check, or see if there is a more correct way.

Syntax
Code:

update admin set (`proposed`,`progressing`,`finished`) VALUES ('1','0','1') where id = '3'

i'm trying to change the values of the said columns.

IF Syntax
i currently have the following

$sql = "UPDATE " .TOPICS_TABLE. "
SET topic_locked = 1
WHERE topic_id = " .$topic_info['topic_id'];

however what i want it to do is check the topic_locked value and if it is 1 change it to 0 else change it to 1. Im a little unsure how to do this.

SQL Syntax
i wanna delet all table their name start with xx_ so i run following query but it gives error

 DROP TABLE LIKE '%xx_' 

Syntax
mysql_escape_string("SELECT password FROM ". $db->prefix ."forums WHERE password = '{$_POST['pass']}' AND id = '$fid'")) or error(mysql_error());
is returning
You have an error in your SQL syntax near ''hello' AND id = '2'' at line 1.

Syntax
Can I use IN() to specify which rows I don't want to delete?

Syntax
///CREATE TEMPORARY TABLE distinct_tours
///SELECT DISTINCT mtable_bu2.ListID FROM mtable_bu2;
///ALTER TABLE virtualdb_bu2 ADD linked tinyint default 0;
///UPDATE virtualdb_bu2 i, distinct_tours dt SET i.linked=1
///WHERE i.mnum=dt.listID;
///DELETE FROM virtualdb_bu2 where linked=0;
///ALTER TABLE virtualdb_bu2 DROP COLUMN linked;

I am trying to delete rows from one table (virtualdb_bu2) that do not have corresponding rows in another table (mtable_bu2) The join is virtualdb_bu2.mnum = mtable_bu2.ListID.
I have the above code which seems to break somewhere around UPDATE virtualdb_bu2....

Sql Syntax
I have a field called fullname,firstname,and lastname.
Can soemone help me with a sql statement to take fullname and put it into firstname and lastname.

Syntax
I want to make this action in mysql but it says the syntax isn't correct.
Code:

INSERT INTO table (age) VALUES ('23') WHERE ('username') = 'Mary'

how can I make it right?

Syntax
the error message '1064 you have an error in your SQL syntax;check the manual that corresponds to your MySQL server version for the right syntax to use near'FROM'speaker,workshop WHERE speaker.speakerID=workshop.speakerID'

Basically I do have 3 tables:speaker:speakerID and emailworkshop:id,date,title and descriptionlocation:locationID and location
I are not sure why this error message is popping up since the syntax of sql to me is correct. Here is the code:
Quote: SELECT speaker.speaker, speaker.email, workshop.`date`, workshop.title,
FROM speaker, workshop
WHERE speaker.speakerID=workshop.speakerID;

and the second error message was the same message since I select the location table:
Quote: SELECT speaker.speaker, speaker.email, workshop.`date`, workshop.title,
FROM speaker, workshop, location
WHERE speaker.speakerID=workshop.speakerID
AND workshop.locationID=location.locationID;

SQL Syntax
DBD::mysql::st fetchrow_array failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax
I've tried to change the code below but keep getting errors. What is missing?

Code:


$dbh2->do("insert into jtitle(Title, Group) values(?,?,?)",undef,($text,4));

Syntax
I need to know the syntax for handling a 'no rows' or 'no data found' from a select. The syntax in Oracle's SQL is:
begin
select col1
from table1
where col1 = 'A'
;
exception when no_data_found
then
insert into tabl1(col1)
values
('A');
end;
I'm running a select from a perl/cgi script to find out if I already have an IP address in a table. If I don't have it I want to insert it and kick my counter by 1. If I have it, I don't want to count that hit on the web page.

Syntax
I just need to save my result as another name when running an UPDATE query.
Something like this???
PHP Code:

$query ="SELECT   db_table_name
             FROM     story_archive AS archive_db_table_name"; 

How would I return the record "db_table_name" as "archive_db_table_name"?



Syntax
i have query

SELECT * FROM stat WHERE host LIKE "uncp%" AND remotehost NOT REGEXP
"looksmart" AND datetime REGEXP '^........17.*';

and it works as have to
but when i try to complicate:

SELECT * FROM stat WHERE host LIKE "uncp%" AND remotehost NOT REGEXP
"looksmart | googlebot" AND datetime REGEXP '^........17.*';

or

SELECT * FROM stat WHERE host LIKE "uncp%" AND remotehost NOT REGEXP
"(.*looksmart.*) | (.*googlebot.*)" AND datetime REGEXP '^........17.*';

rezult comes with all rows i want to exclude by REGEXP


Copyright © 2005-08 www.BigResource.com, All rights reserved