The answer is there ... :
http://www.mysql.com/doc/L/O/LOAD_DATA.html

Gurhan


-----Original Message-----
From: Wong Zach-CHZ013 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 8:18 PM
To: Wong Zach-CHZ013; '[EMAIL PROTECTED]'
Subject: RE: Duplicate Record




>  -----Original Message-----
> From:         Wong Zach-CHZ013
> Sent: Wednesday, May 22, 2002 7:11 PM
> To:   [EMAIL PROTECTED]
> Subject:      Duplicate Record
>
> Hi
> 1) Suppose, in a file, say testfile.sql,
> it contains a line
> eg:
> LOAD DATA INFILE "mlc_stat_0000" INTO table mlc FIELDS TERMINATED BY '|' ;
> And further suppose the record in file mlc_stat_0000 already exists in the
> table mlc.
>
> Does MySQL have the ability to stop inserting this duplicated record
> when I ran a command
>
> mysql -u root -penter < testfile.sql ?
>
> Thank you

---------------------------------------------------------------------
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


---------------------------------------------------------------------
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

Reply via email to