My inferred sql statement (in webi) is showing table numbers rather than table names. This makes it harder to recognize what table a query is using. I think somewhere along the way I didnt change the names of the table in universe or contexts which might be causing this. However, all tables in the universe are properly named.
Here’s an example: WHERE
(Table_16.SALE_ID= Table_17.SALE_ID)
AND (Table_16.SALE_TYPE=‘R’)
anyone know what might be causing this and how could it be resolved.
Thanks.
Another reason you may see Table No. is when you use sub-queries, nested sub-queries or conditions in your report while building it ? Do you have any of the above…?
I have seen this behavior when a Query contains an Alias Table and its Base Table.
Can you check the query (which displays the Table Numbers) to confirm whether all the tables are different tables or it includes one of the Aliased tables?
Is this not normal, then? I’ve been using Bob for 9 years from v5 and the generated SQL has always had table numbers rather than names. I have universes over oracle and sql server, with aliases and without. I don’t think I’ve ever seen webi-generated SQL (and deski in the early days) without table numbers!
See my response in this thread, I think the same applies to Aliases.
But basically don’t user lower case or spaces in the alias name as it will automatically get enclosed in quotes and then use table numbers when SQL is generated.
i.e. use NIX_TABLE as opposed to Nix Table or Nix_Table