Hi Dieter,
When I am trying to create a Volatile Table in the Procedure, it gives an error as below:
SPL1027:E(L71), Missing/Invalid SQL statement'E(3807):Object 'vt_TableTar' does not exist.'.
SPL1027:E(L170), Missing/Invalid SQL statement'E(3807):Object 'vt_TableSrc' does not exist.'.
In the SP, first it create the Volatile Table, then doing some inserts into these two Volatile tables. The Statements are placed in this order. In this case, it directly takes the Insert Statement without creating the Volatile Table and throws this error.
On the other hand, in each individual run it runs successfully.
Could you please help me the possible reasons for this?
Mani
Hi Dieter,
When I am trying to create a Volatile Table in the Procedure, it gives an error as below:
SPL1027:E(L71), Missing/Invalid SQL statement'E(3807):Object 'vt_TableTar' does not exist.'.
SPL1027:E(L170), Missing/Invalid SQL statement'E(3807):Object 'vt_TableSrc' does not exist.'.
In the SP, first it create the Volatile Table, then doing some inserts into these two Volatile tables. The Statements are placed in this order. In this case, it directly takes the Insert Statement without creating the Volatile Table and throws this error.
On the other hand, in each individual run it runs successfully.
Could you please help me the possible reasons for this?
Mani