dbTalk Databases Forums  

How to get all records updated by a DTS

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss How to get all records updated by a DTS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mtl_jf
 
Posts: n/a

Default How to get all records updated by a DTS - 08-09-2004 , 08:48 AM






HI,
I would like to make a readable log file of all transactions that have
been done by my DTS ..


Thanks

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: How to get all records updated by a DTS - 08-09-2004 , 03:17 PM






What do you mean by a readable log?

You can use a Post Process step to write out what happened in your package

SQL Server will do a lot of this for you if you choose to log to SQL Server
in the sysDTS*log table


--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"mtl_jf" <jf_lanouette (AT) hotmail (DOT) com> wrote

Quote:
HI,
I would like to make a readable log file of all transactions that have
been done by my DTS ..


Thanks



Reply With Quote
  #3  
Old   
mtl_jf
 
Posts: n/a

Default Re: How to get all records updated by a DTS - 08-10-2004 , 06:25 AM



Thanks Allan,

I saw in those table that you can see the steps that the package did
but i didn't see anything about...

INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_1,
VALUES_1,VALUES_1 )
INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_2,
VALUES_2,VALUES_2 )
INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_3,
VALUES_3,VALUES_3 )
INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_4,
VALUES_4,VALUES_4 )
INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_5,
VALUES_5,VALUES_5 )
UPDATE TABLE SET FIELDS = VALUES_6
....

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
What do you mean by a readable log?

You can use a Post Process step to write out what happened in your package

SQL Server will do a lot of this for you if you choose to log to SQL Server
in the sysDTS*log table


--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"mtl_jf" <jf_lanouette (AT) hotmail (DOT) com> wrote in message
news:ca36fb3.0408090548.3ac4f311 (AT) posting (DOT) google.com...
HI,
I would like to make a readable log file of all transactions that have
been done by my DTS ..


Thanks

Reply With Quote
  #4  
Old   
Jean-Francois Lanouette
 
Posts: n/a

Default Re: How to get all records updated by a DTS - 08-10-2004 , 06:44 AM





Thanks Allan,

I saw in those table that you can see the steps that the package did
but i didn't see anything about...

INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_1,
VALUES_1,VALUES_1 )
INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_2,
VALUES_2,VALUES_2 )
INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_3,
VALUES_3,VALUES_3 )
INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_4,
VALUES_4,VALUES_4 )
INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_5,
VALUES_5,VALUES_5 )
UPDATE TABLE SET FIELDS = VALUES_6


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #5  
Old   
mtl_jf
 
Posts: n/a

Default Re: How to get all records updated by a DTS - 08-12-2004 , 08:28 AM



Nobody have any idea on this ??

Reply With Quote
  #6  
Old   
Darren Green
 
Posts: n/a

Default Re: How to get all records updated by a DTS - 08-12-2004 , 12:16 PM



In message <uFuun9sfEHA.3476 (AT) tk2msftngp13 (DOT) phx.gbl>, Jean-Francois
Lanouette <jf_lanouette (AT) hotmail (DOT) cmo> writes
Quote:

Thanks Allan,

I saw in those table that you can see the steps that the package did
but i didn't see anything about...

INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_1,
VALUES_1,VALUES_1 )
INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_2,
VALUES_2,VALUES_2 )
INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_3,
VALUES_3,VALUES_3 )
INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_4,
VALUES_4,VALUES_4 )
INSERT INTO TABLE (FIELDS, FIELDS, FIELDS) VALUES (VALUES_5,
VALUES_5,VALUES_5 )
UPDATE TABLE SET FIELDS = VALUES_6

There is no logging like this at all. It would seem a bit strange for me
to import a text file, to have another file produced of what I
imported!!
So I question why this would make sense exactly. Wouldn't a better
mechanism be to track rows as they are inserted so that you know where
they came from? Depends on what you really need this for.

Another alternative may be a product such as Lumigent Log Explorer or
Entegra that can track stuff via the SQL transaction log.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.