dorkygrin
2010-02-08 15:37:25 UTC
I'm trying to make a DTS package to update a field in SQL. This
package would run once per week or when a user forces it to run using
a batch file that contains DTSRUN.exe
The DTS package is should do this:
1. Get data from XLS spreasheet. Two Fields. EmpID and Fullname
2. Insert that data to a column in a specific table. The column is a
PK and does not allow duplicates or nulls.
Is there some statement I can use to transform the XLS to ensure there
are no nulls or duplicates?
I could move the XLS to a Access MDB if that makes it easier.
package would run once per week or when a user forces it to run using
a batch file that contains DTSRUN.exe
The DTS package is should do this:
1. Get data from XLS spreasheet. Two Fields. EmpID and Fullname
2. Insert that data to a column in a specific table. The column is a
PK and does not allow duplicates or nulls.
Is there some statement I can use to transform the XLS to ensure there
are no nulls or duplicates?
I could move the XLS to a Access MDB if that makes it easier.