Github user zellerh commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1623#discussion_r198899742
--- Diff: core/sql/cli/CliExpExchange.cpp ---
@@ -3804,7 +3893,10 @@ InputOutputExpr::inputValues(atp_struct *atp,
if (!source) {
continue;
}
-
+ if(isOdbc)
--- End diff --
Maybe trafci does not require quotes around string literals in the "using"
clause. Also, I don't think we should allow this kind of syntax in the "using"
clause. We are specifying the value of a parameter that already has a data
type. Specifying a character set at this time does not make sense, that syntax
is meant for SQL queries, not for variables of parameters.
Note that the "using" clause does not accept SQL syntax, only values. So,
execute xx using 3+4 would probably insert '3+4' into the database, not '7'.
---