mysqlimport
sau
load data infile ... (din mysql)
jk
Patrascu Eugeniu wrote:
> Este vreo posibilitate sa se introduca din bash niste valori
> intr-o tabela MySQL ?
> Valorile sa fie citite dintr-un fisier, in care
> sunt aranjate in felul urmator:
> ----- FISIER
> val1 val2 ..... valN
> ---- EOF
>
> Presupunand ca este posibil, cum se pot aduna valorile citite din fisier
> la valorile deja existente in tabela ?
>
> adica daca in tabela am valorile 123 si 456 si din fisier citesc 999 si
> 888, sa nu-mi scrie in tabela valorile citite din fisier ci suma valorilor
> existente in tabela si cele citite din fisier.
>
> Eugen
>
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.