Search found 12 matches: outfile

Return to advanced search

Re: Exporta Tabla (Mysql)

con esto lo resolvi

SELECT ma_arti,ma_desc FROM exi_suc INTO OUTFILE 'c:/archivos/lista.csv' FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n';

gracias Armando

saludos
by jbrita
Fri Mar 19, 2021 11:57 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Exporta Tabla (Mysql)
Replies: 2
Views: 437

Re: C wrapper help

... Syntax: xCC [options] srcfile{.C|.ASM} Options: /D<name>[=<text>] Define a preprocessor symbol /E Preprocess only (to stdout) /Fo<outfile> Name the output file /Gd Use __cdecl as default calling convention (default) /Gh Enable hook function call /Gm Don't decorate __stdcall ...
by Antonio Linares
Thu Oct 20, 2016 5:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: C wrapper help
Replies: 16
Views: 3218

Re: BACKUP/RESTORE DATABASE MYSQL CON TDOLPHIN

... guarda las estructuras,,, pero es mucho mas rápido que mysqldump)... pero,,, solo backupeas y las restauras desde tu aplicación,,,, SELECT * INTO OUTFILE //copias/productos FROM tabprod ORDER BY código // copia la data de la tabla tabprod a un archivo plano productos LOAD DATA INFILE //copias/productos ...
by Willi Quintana
Sat Aug 23, 2014 8:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: BACKUP/RESTORE DATABASE MYSQL CON TDOLPHIN
Replies: 6
Views: 1503

Re: Guardar resportes en MYSQL

Hola.... Estas sentencias sirven para exportat e importar data tipo txt SELECT * INTO OUTFILE //copias/productos FROM tabprod ORDER BY código // copia la data de la tabla tabprod a un archivo plano productos LOAD DATA INFILE //copias/productos INTO TABLE tabprod // ...
by Willi Quintana
Sat Aug 23, 2014 4:01 pm
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: Guardar resportes en MYSQL
Replies: 3
Views: 1549

Re: Visual Studio 2013 question

... of this utility. I have tried to use it this way: sxstrace.exe Trace -logfile:MySxSTrace.log my.exe sxstrace.exe Parse -logfile:MySxSTrace.log -outfile:MySxSTrace.txt but MySysTrace.txt is empty. Could you please explain us how to use it ? many thanks :-)
by Antonio Linares
Thu May 29, 2014 8:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Visual Studio 2013 question (solved)
Replies: 22
Views: 3747

Re: APPE FROM ...DELIMITED date-format question.

Thanks for the reply, but the problem is that I can't change this, because it's a CSV-file created by an SQL-command.
I can't find how how to change the format in MySQL in an 'INTO OUTFILE' command.
So I need to solve this with Harbour..

Regards,
Marc
by Marc Vanzegbroeck
Fri Sep 07, 2012 11:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: APPE FROM ...DELIMITED date-format question.
Replies: 3
Views: 650

Re: Backup mysql...

Pablo Uso TMySql willy probando, si hago esto: SELECT * INTO OUTFILE "tabla1.txt" FROM tabla1 si funciona y deja el archivo en el data de mysql perooo si quiero poner el archivo a otra ruta SELECT * INTO OUTFILE "D:/respaldo/tabla1.txt" ...
by Francisco Horta
Fri Feb 10, 2012 7:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Backup mysql...
Replies: 12
Views: 3441

Re: FWH 10.1 - DLL32 Function

... of control from the DLL back to the CallDLL( ) function. retval := I2PDF_AddImage(alltrim( infile ) ) // processed ok retval := I2PDF_MakePDF( outfile, 0, @cBuffer , 300 ) // processed ok - created the .PDF file, but control never returned back to my program. Here is what was on the screen ...
by don lowenstein
Thu Feb 18, 2010 10:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 10.1 - DLL32 Function
Replies: 34
Views: 12281

Re: How to take database back up in Mysql

Dear Mr.Willi, Thanks. SELECT * INTO OUTFILE 'e:\BACKUPS\productos.txt' FROM productos and LOAD DATA INFILE 'e:\BACKUPS\productos.txt' INTO TABLE productos The problem that I understand with the above command is that it will generate only the ...
by anserkk
Fri Oct 16, 2009 6:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to take database back up in Mysql
Replies: 9
Views: 1885

Re: How to take database back up in Mysql

Hi,,,
SELECT * INTO OUTFILE 'e:\BACKUPS\productos.txt' FROM productos
and
LOAD DATA INFILE 'e:\BACKUPS\productos.txt' INTO TABLE productos
is available only on the PC with MySQL Server

Regards
Willi
by Willi Quintana
Fri Oct 16, 2009 3:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to take database back up in Mysql
Replies: 9
Views: 1885

Re: How to take database back up in Mysql

Hello,,,
I use this command for backup....
SELECT * INTO OUTFILE 'e:\BACKUPS\productos.txt' FROM productos

for restore....
LOAD DATA INFILE 'e:\BACKUPS\productos.txt' INTO TABLE productos

Regards
Willi

PD (my English is bad,,, sorry)
by Willi Quintana
Fri Oct 16, 2009 3:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to take database back up in Mysql
Replies: 9
Views: 1885

Holas, si se le asigna la usuario el priviliegio >"files", se puede usar la siguiente orden

"SELECT * INTO OUTFILE '/BACKS/listado.txt' FROM listado"

donde listado.txt contendra la infoirmacion de la tabla listado en formato txt plano...

Salu2
by Willi Quintana
Tue Apr 03, 2007 6:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: BACKUP MYSQL como ?
Replies: 6
Views: 1173

Return to advanced search