![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
OK So you want to take records from the Access table to SQL Server only whee the records in the Access table have a > Code than those already in SQL Server. 2 methods 1. Linked server and use that in your SourceSQLStatement 2. In 2000 use an ExecuteSQL task and assign to it the value of Select MAX(Code) from [dbo].[Products]) executed on the SQL Server connection. Now in the SourceSQLStatemen you can assign that to the records from Access SELECT <field list> FROM Table WHERE Code > ? (? being the parameter that will be substituted at runtime) -- Allan Mitchell (Microsoft SQL Server MVP) MCSE,MCDBA www.SQLDTS.com I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org |
![]() |
| Thread Tools | |
| Display Modes | |
| |