Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Smart Data Access Update Command

$
0
0

HANA One

Hana Version SPS 1.00.80

Smart Data Access through postgresql 9.3 ODBC to talk to AWS Redshift.

 

UPDATE "REPODEV"."staging_dev" SET "processed" = 1 WHERE "id" IN(14,10,4);

 

 

 

Could not execute 'UPDATE "REPODEV"."staging_dev" SET "processed" = 1 WHERE "id" IN(14,10,4)' in 67 ms 508 µs .

SAP DBTech JDBC: [403]: internal error: Error executing query ERROR: syntax error at or near ""staging_dev"";

Error while executing the query for query

 

"UPDATE "public"."staging_dev" "staging_dev" SET "staging_dev"."processed"='1' WHERE  ( ("staging_dev"."id" = 14)  OR  ("staging_dev"."id" = 10)  OR  ("staging_dev"."id" = 4) )  "

 

 

Where can i find out why this query is being transformed with the extra (IN RED underlined) table name?

I am using for the Configuration property_orcl.ini when i configure the remote source..

 

.odbc.ini

 

[REDSHIFT]

Description             = REDSHIFT DSN

Driver          = /usr/local/lib/psqlodbcw.so

Setup   = /usr/local/lib/libodbcpsqlS.so

Trace           = Yes

TraceFile               = /tmp/sql.txt

Database                = **********

Servername              = *************

Username                = ***********

Password                = *********

Port            = 5439

Protocol                = 9.3

ReadOnly                = No

RowVersioning           = No

ShowSystemTables                = No

ShowOidColumn           = No

FakeOidIndex            = No

ConnSettings            =

sslmode=require

 

Your expertise is required!


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>