Skip to Content
Former Member
Mar 05, 2009 at 06:07 AM

How to use a global variable for reading a query resultset in JDBC lookup?


Hi Friends,

Using JDBC lookup, I am trying to read from a table Emp1 using a user defined function. In PI 7.0, this function returns values of a single column only even if you fire a " Select * " query. I am planning to use a global variable(array) that stores individual column values of the records returned by a "select *" query. Need pointers on as to how a global variable can be declared and used to acheive the above scenario. Kindly explain with an example. Any help would be appreciated.