On 24-Aug-2001 [EMAIL PROTECTED] wrote:
>
> Can anyone give an example of how to use the
> where option in mysqldump to get a dump of only those
> records whose values of field fieldx are larger than
> something?
> For example
>
> "for all database tables of db mydatabase
> which possess a field named fieldx store in
> the dump only those records whose value of fieldx
> is larger than '123_xyx_' " ?
>
> I tried "--where= fieldx > '123_xyx_"
> and got no complaints, but it returned all records.
>
Try closing your quotes
"--where= fieldx > '123_xyx_'"
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
(53kr33t w0rdz: sql table query)
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php