Home > Back-end > TADOQuery to insert special characters for error in the Oracle database
TADOQuery to insert special characters for error in the Oracle database
Time:11-12
TADOQuery insert special characters to the oracle database, the character:
Specific SQL statements: INSERT INTO t_Sys_WordLookup (fChineseWord, fEnglishWord fBrazilWord, fRussiaWord) VALUES (N 'Bolt 22', N 'Bolt,' N '? Lzylinder ', N '? Lzylinder ');
On the oracle database SQL statements directly execute no problem, but through the TADOQuery execution, the last two fields first character into "?" ,
The same code, links sqlsever database there is no problem, insert the data correctly,
Under the great god give directions, whether TADOQuery link ORACLE has a bug,
CodePudding user response:
Feeling is the Oracle database character set issues, specific do not understand,
CodePudding user response:
Ccrun group was useful in Oracle, but don't know whether I use ADO component,
INSERT INTO t_Sys_WordLookup (fChineseWord, fEnglishWord fBrazilWord, fRussiaWord) VALUES (" 22 "Bolt," Bolt ", "? Lzylinder ", "? Lzylinder "); The more no, executed in ORACLE