Ver Mensaje Individual
  #7  
Antiguo 14-11-2016
Skipjor Skipjor is offline
Miembro
NULL
 
Registrado: nov 2015
Posts: 20
Reputación: 0
Skipjor Va por buen camino
Gracias lo voy a probar, por ahora estaba viendo con el comanfo fbexport, y que logro exportar con esta linea.

fbexport -S -H localhost -D D:\TOPAZ\TOPAZZ-DATA.FDB -U SYSDBA -P masterkey -F data.fbx -Q "SELECT DNI_ID, NAME,
LEFT_HANDED, FINGERPRINT_IMG, FINGERPRINT_TEMPLATE, PROF_ID FROM PATIENTS WHERE DNI_ID='PER00000001'"

Pero no logro la importacion con esta linea de comando
fbexport -I -H localhost -D D:\TOPAZ\TOPAZ-ENBLANCO.FDB -U SYSDBA -P masterkey -F data.fbx -V PATIENTS

Me sale estas lineas de error

Checking database charset...NONE.
Connecting to: 'localhost' as 'SYSDBA'...Connected.
Creating and starting transaction...Done.
Create statement...Done.
Doing verbatim import of table: PATIENTS
Importing data...
SQL: INSERT INTO PATIENTS (DNI_ID,FINGERPRINT_IMG,FINGERPRINT_TEMPLA
ED,NAME,PROF_ID) VALUES (?,?,?,?,?,?)
Prepare statement...Done.
Fatal exception occured!
Input parameter type (String) for column #2 does not match the
statement parameter type (Blob). Please re-export data or use CAST.


En mi linea de comando indico que se haga la importacion de toda la tabla, pero el mensaje de error me indica que no se esta haciendo un insert, en todo caso como hago el insert para un dato blob??... Alguna sugerencia.

Espero su ayuda.

De antemano muchas gracias

Última edición por Skipjor fecha: 14-11-2016 a las 16:10:00.
Responder Con Cita