dbTalk Databases Forums  

How do you debug a VBScript in DTS ?

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


Discuss How do you debug a VBScript in DTS ? in the microsoft.public.sqlserver.dts forum.



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

Default How do you debug a VBScript in DTS ? - 06-13-2006 , 09:31 PM






Hi;

I want to load 36k records into a SQL table from a text file.

The VBscript that I am using loads 6K records before encountering a problem
with
the transfromation.

I have tried using msgBox but this is no way to deal with 30K worth of
records.

Could I run a SELECT to start in a table at 6K records and return a 100 at
a time ?
--
Gordon

Reply With Quote
  #2  
Old   
rb
 
Posts: n/a

Default RE: How do you debug a VBScript in DTS ? - 06-14-2006 , 08:27 AM






Hi,

No sure how much help this would be but you can switch on just-in-time
debugging for DTS. Right Click 'Data Transformation Services' in EM, select
'Properties' and select 'Turn on just-in-time debugging'

Ray

"Gordon" wrote:

Quote:
Hi;

I want to load 36k records into a SQL table from a text file.

The VBscript that I am using loads 6K records before encountering a problem
with
the transfromation.

I have tried using msgBox but this is no way to deal with 30K worth of
records.

Could I run a SELECT to start in a table at 6K records and return a 100 at
a time ?
--
Gordon

Reply With Quote
  #3  
Old   
Jon Furman
 
Posts: n/a

Default Re: How do you debug a VBScript in DTS ? - 06-15-2006 , 11:09 AM



Gordon,

If you are loading from a transform data task...look under the options tab.
There you can set a record number to start and end the load on. You could
also pump up the script to stop the loading when the first error occurs and
then dump to msgbox the relevent info. Hope this helps!!

Jon

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

Quote:
Hi;

I want to load 36k records into a SQL table from a text file.

The VBscript that I am using loads 6K records before encountering a
problem
with
the transfromation.

I have tried using msgBox but this is no way to deal with 30K worth of
records.

Could I run a SELECT to start in a table at 6K records and return a 100
at
a time ?
--
Gordon



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.