Subject | Error using fbcopy |
---|---|
Author | horushardware |
Post date | 2012-12-06T03:53:54Z |
Hello
I want to use fbcopy to move data from a corrupted database file to an empty database file. This is on a FireBird 2.1 server.
Doing the fbcopy C, it gives me this error:
Copying table: TABLE1
Connecting to: '' as 'SYSDBA'...Connected.
Reading charset: NONE. No need for reconnecting.
Connecting to: '' as 'SYSDBA'...Connected.
Reading charset: NONE. No need for reconnecting.
Disabling triggers...done.
New format detected.
ERROR!
*** IBPP::SQLException ***
Context: Statement::Prepare( INSERT INTO TABLE1 ("FIELD1","FIELD2","FIELD3") VALUES (?,?,?) )
Message: isc_dsql_prepare failed
SQL Message : -104
Invalid token
Engine Code : 335544569
Engine Message :
Dynamic SQL Error
SQL error code = -104
Token unknown - line 1, column 22
"FIELD1"
I think the problem could be the quotes, but I can not find how to avoid them.
Thank you,
Jose
I want to use fbcopy to move data from a corrupted database file to an empty database file. This is on a FireBird 2.1 server.
Doing the fbcopy C, it gives me this error:
Copying table: TABLE1
Connecting to: '' as 'SYSDBA'...Connected.
Reading charset: NONE. No need for reconnecting.
Connecting to: '' as 'SYSDBA'...Connected.
Reading charset: NONE. No need for reconnecting.
Disabling triggers...done.
New format detected.
ERROR!
*** IBPP::SQLException ***
Context: Statement::Prepare( INSERT INTO TABLE1 ("FIELD1","FIELD2","FIELD3") VALUES (?,?,?) )
Message: isc_dsql_prepare failed
SQL Message : -104
Invalid token
Engine Code : 335544569
Engine Message :
Dynamic SQL Error
SQL error code = -104
Token unknown - line 1, column 22
"FIELD1"
I think the problem could be the quotes, but I can not find how to avoid them.
Thank you,
Jose