Hello Friends
i'm using
SELECT * FROM test.test WHERE NAME > cast(DATE(NOW()-INTERVAL 2 DAY) as datetime)
This query at back-end and now in SSIS i have set below in parameter
SELECT cast(DATE(NOW()-INTERVAL 2 DAY) as datetime) as synchDate
i need this in my dataflow
SELECT * FROM test.test WHERE NAME >@synchDate
now in Expression
"SELECT * FROM test WHERE NAME= (DT_DATE) @[User::synchDate]"
what should i do ?
I'm using datetime variable.
Kindly suggest me Expression Query i'm doing mistake in any Parentheses.
and i do not know what to use
(DT_DATE)
(DT_STR, «length», «code_page»)
Kindly help me.