HomeForum
Welcome, Guest

Variable/Parameter in READER for SQL Select
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Variable/Parameter in READER for SQL Select

Variable/Parameter in READER for SQL Select 10 months, 2 weeks ago #3123

  • oxalagu
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
Good day,

I am looking for a way to pass a parameter to a transformation in Advanced ETL Enterprise to allow varibale selection from a workflow.

E.g. I want to get all invoices for 2011, next select should extract the data for 2010 etc. only.

How can I pass such a parameter to the reader?

Kind regards

Re: Variable/Parameter in READER for SQL Select 10 months, 2 weeks ago #3128

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2182
  • Karma: 12
Yes it is possible

There are some examples in the repository dedicated to variables

Basically all you need to do is to use script to save value into the variable
(or use set variable object)

Than in datareader use

Select * from table where field=variablename as data source

set variable=>execute transformation=>set variable=>execute transformation=>set variable=>execute transformation

ETC

Mike
  • Page:
  • 1
Time to create page: 0.15 seconds

Testimonials

My boss told me to keep looking for a more expensive application, assuming Visual Importer ETL couldn't be very good because the price was just too low.  After testing several imports I convinced him that Visual Importer did everything we want so there was no need to pay for a more expensive solution.

Ron Bradshaw,
IT Reporting Manager,
ConAgra Foods / Lamb Weston

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top