Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 536.4K On-Premises Infrastructure
- 138.3K Analytics Software
- 38.6K Application Development Software
- 5.8K Cloud Platform
- 109.5K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.3K Integration
- 41.6K Security Software
Genuine SQL sent to database

632157
Member Posts: 12
Hi,
I'm new with ODI and I'm using a lot of variables, when I run the interface or a package the Operator tool only show me the "logic" SQL (with all the variable names), It's possible to see the exactly SQL sent to database, with all the content of the variables?? I need to debug the query and I can't!
Thank you!
I'm new with ODI and I'm using a lot of variables, when I run the interface or a package the Operator tool only show me the "logic" SQL (with all the variable names), It's possible to see the exactly SQL sent to database, with all the content of the variables?? I need to debug the query and I can't!
Thank you!
Answers
-
the "genuine SQL"
if you open operator and click on the execution of you rsceneria/package and expand out the steps. if you expand the step to then see the task(s) below the step then if you double click the task and select the "Description" tab you will see the sql associated with the task however there are still "odi variables" in the code you will have to look at and expand the "variables" section the first step after the packages or scenario execution icon.
just watch out as the actual values may change in the package and hence you only see the last value assigned to the variable.
ps you should also set the logging level to atleast 3 to 5
Hope this helps.
Edited by: DavidGD on Feb 9, 2009 8:42 PM
This discussion has been closed.