Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Table names as variable in dynamic queries

$
0
0

Hi,

 

I have a requirement where-in certain operations need to be performed on tables whose names are determined dynamically, and stored in a variable. These variables are then passed to some other query.

 

For example - I need to create a table whose name will be determined dynamically and the name passed will be passed to the query using a variable. Or a select operation on a table whose name is derived from a variable.

 

I seem to be struggling with this as I get all sorts of syntax errors. Am not sure if the errors messages are very precise either.

 

Is this feature supported. Am on SP6, Rev 61. Pl advise. Thanks.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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