Re: Updates/Deletes for dBase IV (Destination) records -
09-07-2003
, 05:45 AM
OK
You do not say from where the data is originating. If the source is SQL
Server and the destination dBase then i would do this
1. Define a trigger on the Source table(s). Have the triggers log to a
trigger table. Use this as your source
2. On the trigger table have a field called ActionType. This will have a
domain of char(1) and values of 'U','I','D'
3. Using a DDQ you can then issue the correct statement against the dBase
Connection.
OR
Instead of using a DDQ. Pump the records in the trigger table into a
destination dBase table and then use SQL to manipulate the dBase records
joining your real table with this trigger table. You would do this in an
ExecuteSQL task.
--
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 |