Hello Expert!
I have 2 Database – Access & SQLServer(ver 7)
I need to Import Data TblShift from Access to SQLServer – using DTS I’ve done this successfully!
Now I want to use parameter so I only importing record within range (e.g. ShiftDate BETWEEN 05-24-2006 AND 06-23-2006)
In SQLServer, I have created table to store the date range as following:
TblParameter
DateFrom: 04/24/2006
DateTo: 05/23/2006
How do I use the date range from TblParameter(SQLServer) to import record from TblShift(Access) using DTS?
Is this possible or any better solution for this?
TIA
Regards,
have you tried using the ole db source component? If you use a parameterized query, you can map variables to parameters to specify the values for individual parameters in the SQL statements.|||Hi Douglas,
I newbie to sqlserver dts,
I don't know how to do as u have suggested
Can u explain step by step?
Or can u guide me to the place where I can see some sample
TIA
Regards
|||Try doing this:
http://blogs.conchango.com/jamiethomson/archive/2005/12/09/2480.aspx
-Jamie
No comments:
Post a Comment