Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello ,
Im trying to execute this sql query :
and its throwing me this error :
Exception in component tDBRow_1 (SQL_File)
java.sql.SQLException: [SQL0104] El{ment syntaxique ; n'est pas correct. El{ments possibles : <FIN-INSTRUCTION>.
at com.ibm.as400.access.JDError.throwSQLException(JDError.java:705)
i think that this componnent with this particular database AS400 is not supporting ';' ?
Thanks
try to execute without ";"
yes i tried it it throws an error in Declare
here is my query
SET SCHEMA M3FDBSBX ;
DECLARE global temporary table xVariables
(
x numeric(3),
y varchar(3),
z numeric(8),
w numeric(8)
)
with replace ;
Hi, maybe try to escape them :
\; instead of ;
Send me Love and Kudos
Hello jeremy ,
I've tried that but always same error now im getting
[SQL0104] Elément syntaxique \ n'est pas correct. Eléments possibles : <FIN-INSTRUCTION>.
when i get rid of the ; im getting an error in the second line Directly
ok je crois que je l'ai, c'est parce que j'imagine qu'il faut envoyer une instruction a la fois sans le ;
donc dabord le declare puis dans un autre dbrow la suite.
Il doit y avoir moyen de tricher en regardant comment le code est généré.
bien à vous
dans advanced settings du TDBRow
Additionnal JDBC Parameters :"allowMultiQueries=true"
ca devrait résoudre le problème.
merci pour ton retour rapide ,
Toujours pas .
Mais par contre le faite de splitter les queries dans des différents tdbrow fonctionne et ce que j'essaye de pas faire dés le début .