On Mon, Jun 23, 2003 at 04:16:51PM -0700, Hubbard, Dan wrote:
> Passing mysql commands through mysqldump or BACKUP TABLE ?
> 
> We would like to perform backups on selective data within selective tables
> and then purge the matching data in those tables. Is it possible to pass
> mysql commands through either util above ? Which is better ?
> 
> Example: sql statement...
> 
> select * from tablename1 WHERE ((date_time > '2003-00-00 00:00:00') and
> (date_time < '2003-06-31 00:00:00')); 

No.

But you can create a new table, copy the data to it, back it up, drop
it, and nuke the old records.

Jeremy
-- 
Jeremy D. Zawodny     |  Perl, Web, MySQL, Linux Magazine, Yahoo!
<[EMAIL PROTECTED]>  |  http://jeremy.zawodny.com/

MySQL 4.0.13: up 20 days, processed 647,347,517 queries (361/sec. avg)

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to