dbTalk Databases Forums  

dtsrun Parameter Problems!

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


Discuss dtsrun Parameter Problems! in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bungle@wizardbuy.com
 
Posts: n/a

Default dtsrun Parameter Problems! - 04-19-2005 , 10:41 AM






Hi there

I seem to be having problems with my dtsrun script which I am running
from a scheduled job.

The others work fine, but this one has a few more parameters:

DTSRun /S"(local)" /U"dc" /P"dc" /N"ImportUsers"
/A"Filename":"8"="D:\DC\Temp\7a99a6a9-d6ff-4de9-b6d0-43adc6173733.csv"
/A"RandomGuid":"8"="e704d99f-3ee1-42ef-8aee-0df4ecd6b5d4"
/A"DeleteNonCSV":"8"="0" /A"OverWriteFields":"8"="30"

Would anyone be able to explain what the :"8" is in the script as I
have only ever just used it! The DeleteNonCSV and OverWriteFields and
integer values and are not being recognised?

Any help would be fantastic!

Thanks

Dave


Reply With Quote
  #2  
Old   
Jacco Schalkwijk
 
Posts: n/a

Default Re: dtsrun Parameter Problems! - 04-19-2005 , 11:00 AM






:8 indicates that the value for the global parameter is a string. You might
want to change it to :3 (integer) for DeleteNonCSV and OverWriteFields.

You can find the complete list of codes for the datatypes under the Remarks
section in the DTSRun topic in Books Online.

--
Jacco Schalkwijk
SQL Server MVP


<bungle (AT) wizardbuy (DOT) com> wrote

Quote:
Hi there

I seem to be having problems with my dtsrun script which I am running
from a scheduled job.

The others work fine, but this one has a few more parameters:

DTSRun /S"(local)" /U"dc" /P"dc" /N"ImportUsers"
/A"Filename":"8"="D:\DC\Temp\7a99a6a9-d6ff-4de9-b6d0-43adc6173733.csv"
/A"RandomGuid":"8"="e704d99f-3ee1-42ef-8aee-0df4ecd6b5d4"
/A"DeleteNonCSV":"8"="0" /A"OverWriteFields":"8"="30"

Would anyone be able to explain what the :"8" is in the script as I
have only ever just used it! The DeleteNonCSV and OverWriteFields and
integer values and are not being recognised?

Any help would be fantastic!

Thanks

Dave




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.