[patch_done] Possible to set the Identifier Quote String ?
Posted: 13.02.2013, 17:29
Ciao, I'm writing a program that connects to a database Gupta SQLBase (Unify). I connect with Ado. When I use a TZtable, if I do a delete (tb1.delete) I get an error message:
"[Unify] [ODBC Driver] [SQLBase] 00909 PRS INC Invalid character"
Running the program in debug I found that the delete function is translated by Zeos in a specific sql:
"delete from [SYSADM]. [TABLENAME] where ......... "
The problem is that the bracket [ not's accepted by Unify. I saw that Zeos calls the function:
TZAdoDatabaseInfo.GetIdentifierQuoteString function: string;
begin
Result: = '[]';
end;
to obtain the identifier.
Finally my question: how can I tell Zeos not use square brackets?
Thank you in advance.
Mario
"[Unify] [ODBC Driver] [SQLBase] 00909 PRS INC Invalid character"
Running the program in debug I found that the delete function is translated by Zeos in a specific sql:
"delete from [SYSADM]. [TABLENAME] where ......... "
The problem is that the bracket [ not's accepted by Unify. I saw that Zeos calls the function:
TZAdoDatabaseInfo.GetIdentifierQuoteString function: string;
begin
Result: = '[]';
end;
to obtain the identifier.
Finally my question: how can I tell Zeos not use square brackets?
Thank you in advance.
Mario