Hi, I am trying to use a SQL query in JDBC oracle connection test step
Hi, I am trying to execute SQL query using 'LIKE' operator in JDBC oracle connection test step
Details: I have defined property - "yearMonth" in JDBC test step . yearMonth is picking value from test data file (through separate steps)
SQL query -
select transaction_id , transaction_date_key
from f_customer_trans_new
where d_customer_key = (select d_customer_key from d_customer_core where nk_customer_number =:customerId)
and transaction_date_key like :yearMonth
Now I am not able to fetch results using *Like* operator , original query -
select transaction_id , transaction_date_key
from f_customer_trans_new
where d_customer_key = (select d_customer_key from d_customer_core where nk_customer_number =:customerId)
and transaction_date_key like '201703%'
this query gives me the result for the dates - March 2017