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

Re: Getting all table names from a Schema???

$
0
0

Hi Qaiser,

 

SQL doesn't provide any kind of object iterator in the FROM clause.

If you want to search over all columns of all tables in your schema, you'd have to code that yourself.

 

But taking a step back: why don't you know in advance where your data would be found?

Why don't you know the tables before hand?

Even for full text search scenarios, you typically go with a rather fixed set of tables.

 

If it's just about two tables and you would only want one SELECT, you could create a UNION view on both tables before hand and query this one.

 

- Lars


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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