Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > BOOK: Professional SQL Server 2000 DTS
|
BOOK: Professional SQL Server 2000 DTS
This is the forum to discuss the Wrox book Professional SQL Server 2000 DTS (Data Transformation Services) by Mark Chaffin, Brian Knight, Todd Robinson; ISBN: 9780764543685
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server 2000 DTS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 8th, 2008, 12:51 PM
Registered User
 
Join Date: Oct 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Importing flat file with DTS ActiveX Script

Hi all,

I need some help with importing data from a flat file to a table with SQL Server 2000 DTS.
The file that I need to import is a text file, but it doesn´t have all the records with the same lenght.
For example, the first record have 150 characters, but the second record have 162.

In this case, I need to fill the records with blank spaces to guarantee the file layout.

Anyone have any VBA script or source that I can use to develop my process?

Thank you very much.

Daniel





Similar Threads
Thread Thread Starter Forum Replies Last Post
importing flat file into Access 2007 olgolg VBScript 0 March 29th, 2008 07:53 AM
DTS Visual Basic ActiveX Script jemacc SQL Server DTS 4 November 28th, 2007 06:11 PM
DTS and ActiveX VB Script gscott SQL Server DTS 6 May 16th, 2007 07:38 AM
DTS Problem with ActiveX Script testsubject SQL Server DTS 1 December 23rd, 2005 05:11 PM
importing from flat file PK problem olambe Classic ASP Databases 3 October 18th, 2004 04:09 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.