dbTalk Databases Forums  

Select Count(*) from DTS

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


Discuss Select Count(*) from DTS in the microsoft.public.sqlserver.dts forum.



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

Default Select Count(*) from DTS - 01-27-2005 , 12:04 PM






I need to run 5 different Select Count(*).........
Statement from the DTS package and get the result out to
the text file. What is the best way to do this ? (It has
to be a DTS package and not any other method Jobs, SP
e.t.c.)

Thanks.

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

Default Re: Select Count(*) from DTS - 01-27-2005 , 02:50 PM






I suppose you are going to also say

The number of columns may change in each run
You do not want to change anything after the first build
Everything is flexible

Are you?

That done with then Using DTS may be a problem, well maybe.

You can call bcp from DTS.
You could build your own custom task to do this.



--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"Ron" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I need to run 5 different Select Count(*).........
Statement from the DTS package and get the result out to
the text file. What is the best way to do this ? (It has
to be a DTS package and not any other method Jobs, SP
e.t.c.)

Thanks.



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.