Skip to main content
Solved

How to pass Excel attributes to a SQL Creator?


Forum|alt.badge.img

I have an Excel spreadsheet where I want to pass several attributes as variables into a SQL Query using a SQL Creator transformer. What is the best way to achieve this? I don't see how I can make the attributes as user parameters.

Best answer by takashi

Why not use the SQLExecutor rather than SQLCreator? You can read the Excel attributes with an Excel reader then use the feature attributes to build a SQL statement in the SQLExecutor.

View original
Did this help you find an answer to your question?

2 replies

takashi
Evangelist
  • Best Answer
  • May 14, 2019

Why not use the SQLExecutor rather than SQLCreator? You can read the Excel attributes with an Excel reader then use the feature attributes to build a SQL statement in the SQLExecutor.


Forum|alt.badge.img

That's it! Thanks Takashi. I knew it could be done :-)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings