Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: SQL Server
Expertise: Beginner
Nov 16, 1999

Inserting a Header/Footer in an Exported Text File

Question:
Is it possible to count the number of records and, when that count is reached, insert a header/footer to an exported text file using VBScript in DTS? If so, where can I find examples?

Answer:
How about placing a HAVING COUNT <= MyValue on the end of the WHERE clause attached to an INSERT SELECT?

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date