Package Run SQL Script -> Pass output to variable

More
2 years 2 months ago #24143 by prashant
PS 
I verified even if I run the WIKI example , I get the error 

I ran a simple Set Variable (From DB) and show message . It works on Package fine and via command line I get the error
 

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #24144 by admin
Please post some screenshots so we can reproduce it in the office

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #24145 by prashant
HI,
It's the same as in WIKI but here are the screenshots

 
 

The SQL it's running has been hardcoded to debug

SELECT '<json_variable>' AS variable_name,        
text_field_02 AS variable_value
FROM event_log
WHERE id = '561b2923-dcea-4e61-8156-ca02eb659ab6';
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #24148 by admin
Thank you for your patience, we are looking at it now

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago #24149 by admin
Found the issue
Basically everything inside {} as treated as calculated expression, and when software fails to calculate it you get an error message   
www.etl-tools.com/wiki/advanced-etl-proc.../dynamic-file-names/

Please ignore it for now.

We need to change the way we work with variables and calculations, it is confusing to the users.

 

Mike
ETL Architect
The following user(s) said Thank You: prashant

Please Log in or Create an account to join the conversation.

More
2 years 2 months ago - 2 years 2 months ago #24152 by prashant
If you are making fundamental changes , I also propose the way, next action after LOOP finishes is to be executed is also confusing . #1 is supposed to be executed when "loop finishes successfully" OR when loop fails. 
 
Last edit: 2 years 2 months ago by prashant.

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save