![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'd like to use a result of dbcc checkDB of a server A in a DTS package of a server B. I want to store the result in a txt file. How to create this package ? (i'm beginner in DTS) |
#3
| |||
| |||
|
|
If you execute this dbcc checkdb('pubs') with tableresults it returns the results in a table. You can then put these into a text file. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.allisonmitchell.com - Expert SQL Server Consultancy. www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Thierry" <sch_th (AT) yahoo (DOT) fr> wrote in message news:198173df.0401130918.ebe4c32 (AT) posting (DOT) google.com... Hi, I'd like to use a result of dbcc checkDB of a server A in a DTS package of a server B. I want to store the result in a txt file. How to create this package ? (i'm beginner in DTS) |
#4
| |||
| |||
|
|
It's exactly what I need !!! Where have you found "with tableresults" commands ?? I will need some other one later. "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote If you execute this dbcc checkdb('pubs') with tableresults it returns the results in a table. You can then put these into a text file. -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.allisonmitchell.com - Expert SQL Server Consultancy. www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Thierry" <sch_th (AT) yahoo (DOT) fr> wrote in message news:198173df.0401130918.ebe4c32 (AT) posting (DOT) google.com... Hi, I'd like to use a result of dbcc checkDB of a server A in a DTS package of a server B. I want to store the result in a txt file. How to create this package ? (i'm beginner in DTS) |
![]() |
| Thread Tools | |
| Display Modes | |
| |