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

Re: Reading HANA table from R with RODBC

$
0
0

Right, i can make a query work using a call to sqlQuery(), if i put double quotes around schema and table name, so it works nicely if i do:

> sqlQuery(ch, 'SELECT * FROM "MOBILE_00"."workshop.mobile.00.data::denorm"')

 

That gives me my rows, so i'm sorted out.

 

However that syntax doesn't work with sqlFetch(), which is supposed to be the direct table ingest into a data frame, as:

 

> sqlFetch(ch, '"MOBILE_00"."workshop.mobile.00.data::denorm"')

 

returns the same "table not found on channel" error.

 

Out of curiosity, i'd be happy to hear what the sqlFetch() table name syntax should be, if anyone knows.


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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