SQL statement to add a table as Virtual table in SAP HANA Smart Data Access


You can use following SQL statement for this −

CREATE VIRTUAL TABLE <table_name> <remote_location_clause>

Example

CREATE VIRTUAL TABLE ABC.test_VT AT “ORCL_11G_WIN”.”NULL”.”OUTLN”.”Dept”;

In this SQL statement, ABC.test_VT is Virtual table name

“ORCL_11G_WIN”.”NULL”.”OUTLN”.”Dept”;- Remote location for creating Virtual table

Anil SAP Gupta
Anil SAP Gupta

SAP Expert

Updated on: 21-Feb-2020

723 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements