Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: alvintohI am having problems with the following SQL...it works on Local and odbc but not in Server and cli.
INSERT_TABLE =
"INSERT INTO EDWPRDE_WORK_ANLYT.{{^EDW_User_ID^}}_SIEBEL_BAN_GH DD1
SELECT Siebel_Billing_Account_Number
from
(
SELECT �Have replaced working SQL here�
) AS TEST
Group by 1"
sqlNonSelect (INSERT_TABLE)
Error message on log is
****** Errors in node Save_Accounts_into_EDW_table
--------- Errlog for Insert_into_Table
ERROR processing data:
'' ('0A'X) is not a valid Teradata SQL token.
Installing log (10/25/2010 14:44:12) ...
2010-10-25 14:44:14; Level: 2; Type: 0; Desc: "'' ('0A'X) is not a valid Teradata SQL token."; File: "./../../jigsaw/Code/Source/DB/Teradata/TDParcels.cpp"; Line: 88; Context: ""
2010-10-25 14:44:14; Level: 2; Type: 0; Desc: "...exception seen in statement 'sql-non-select', line 48"; File: "./../code/source/expert/ExprStatement.cpp"; Line: 56; Context: "Salmon::NED::Statement_Expr::evaluate()"
2010-10-25 14:44:14; Level: 2; Type: 0; Desc: "...exception seen in context: { 0(query):1 }"; File: "./../code/source/brain/ExprTableIo.cpp"; Line: 255; Context: "Salmon::ExprTableIo::processInputRows()"
Uninstalling log (10/25/2010 14:44:14) ...