Hi @San ,
We can use the following methods to solve this question:
Method 1: Using Type Casts (DT_WSTR, <<Length>>) in expression builder.
Expression1:
"SELECT store_name
FROM src
WHERE update_date> '" + (DT_WSTR, 10) @[User::v_Updated_Date] + "' ORDER BY rtl_loc_id;"
Method 2: Changing the Data type of variable [User::v_Updated_Date] as String.
Expression2:
"SELECT store_name
FROM src
WHERE update_date> '" + @[User::v_Updated_Date] + "' ORDER BY rtl_loc_id;"
Best Regards,
Mona
----------
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.