question

sam21 avatar image
sam21 asked

SSIS Olebd source Sql Command Union Error

Hi , I am using SQl Command access mode in SSIS oledb Source, I have to get current and previous month data from table My command is like : Select M.prd_dt,M.Order_id,M.Name from Table M where M.prd_dt=? Union Select MI.prd_dt,MI.Order_id,MI.Name from Table MI where MI.prd_dt=? order by M.OrderID When I click parameter its says parameter can not be created..... and I am not able to parse.. Whereas on my management studio I am able to run this query.. please suggest..
sql-server-2005sqlssistsql
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.