Forum Discussion
Anonymous
4 years agoNot applicable
View native query Grayed out
if ODBC supports SQL query folding because "View native query" function for all tables imported from Source db via ODBC are greyed out? My tables from Source db follow the allowed rules for foldi...
- 4 years ago
Here are a couple of things you can try.
For a SQL Query load:
- Connect using ODBC but do not add the SQL Query.
- Right click on the database and select Transform Data.
- Open Advanced Editor and add a comma after your last step.
- Call the next step something like SQL or LoadSQL. Make your code look like this
SQL = Value.NativeQuery(Previous Step Name, "SQL Query Here",null)-
Now check to see if you can view the Native Query. If not then try adding an additional parameter:
SQL = Value.NativeQuery(Previous Step Name, "SQL Query Here",null, [EnableFolding=true])For data loads without the SQL Query
1. On the Source step add HideNativeQuery=false like this
= Odbc.DataSource("data source", [HierarchicalNavigation=true, HideNativeQuery=false])Then check to see if you can see the Native Query.
I'm running ODBC and I'm not having issues seeing it.
Anonymous
4 years agoNot applicable
Hi Anonymous,
Did Watsky 's suggestions help with your scenario? if that is the case, you can consider Kudo or accept his suggestions to help others who faced similar requirements.
If that also doesn't help, please share more detailed information to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng