我对名为test__x的外部对象有查询。!= OR <> OR NOT运算符支持ODATA吗?
我写的查询与再!=
或<>
OR NOT IN
运营商面临着如下错误,说明应用NOT EQUAL TO
逻辑得到使用的OData 4.0外部数据SOURSE数据。
SQL:
select id,status__c from current_year_order_summary__x where status__c NOT IN('C') LIMIT 2000
错误:
"Error received from the external system: 500: com.informatica.cloud.api.adapter.runtime.exception.ReadException: java.sql.SQLException: [Teradata Database] [TeraJDBC 15.10.00.14] [Error 3707] [SQLState 42000] Syntax error, expected something like a 'SUCCEEDS' keyword or a 'MEETS' keyword or a 'PRECEDES' keyword or an 'IN' keyword or a 'CONTAINS' keyword between the word 'status__c ' and '|'."
对我来说看起来像语法错误。那么,你可以尝试一下简单的SQL,像这个select_id,来自current_year_order_summary__x的status__c。然后添加where子句来查看它是否工作。顺便说一句,你是否在数据库中解雇了这个SQL并取得了成功? – Koushik
我尝试了不同的场景,因为它在工作,如果我们给= opearator并且只有!=运算符不工作。 – saru