Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Dynamic select inside storedprocedure

$
0
0

Hi All,

 

I have a requirement to generate the dynamic select statement . Procedure will accept the table name and schema name as parameters and return the select statement.

 

I could able to get the column names from sys.columns table. How to loop through the rows and concatenate the column values into single string?

 

 

Regards,

Suman.


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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