dbTalk Databases Forums  

global Variables

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


Discuss global Variables in the microsoft.public.sqlserver.dts forum.



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

Default global Variables - 07-31-2008 , 05:14 AM






Can anyone please advise what i am doing wrong, I am trying to pass
variables to a DTS package using the following stored procedure, but the
variables do not look available in the DTS package (********* sensitive
information removed)

CREATE PROCEDURE client_update_jp

@CompId as varchar(20),
@BranId as varchar(20),
@UserName as varchar(50),
@nValue as varchar(50)

AS

EXECUTE master.dbo.xp_cmdshell 'DTSRun /S "******" /U "*******" /P "*****"
/N "Client_Update_Mail" /G "{D8BE8C4A-C616-4974-8F6B-C0AA7183F016}" /A
"CompId":"8"=@CompId /A "BranId":"8"=@BranId /A "UserName":"8"=@UserName /A
"nValue":"8"= @nValue /W "0" '
GO


Reply With Quote
  #2  
Old   
John Peach
 
Posts: n/a

Default Re: global Variables - 07-31-2008 , 08:47 AM






don't worry all sorted now, ta

"John Peach" <john.r.peach (AT) ntlworld (DOT) com> wrote

Quote:
Can anyone please advise what i am doing wrong, I am trying to pass
variables to a DTS package using the following stored procedure, but the
variables do not look available in the DTS package (********* sensitive
information removed)

CREATE PROCEDURE client_update_jp

@CompId as varchar(20),
@BranId as varchar(20),
@UserName as varchar(50),
@nValue as varchar(50)

AS

EXECUTE master.dbo.xp_cmdshell 'DTSRun /S "******" /U "*******" /P "*****"
/N "Client_Update_Mail" /G "{D8BE8C4A-C616-4974-8F6B-C0AA7183F016}" /A
"CompId":"8"=@CompId /A "BranId":"8"=@BranId /A "UserName":"8"=@UserName
/A "nValue":"8"= @nValue /W "0" '
GO


Reply With Quote
  #3  
Old   
John Peach
 
Posts: n/a

Default Re: global Variables - 07-31-2008 , 08:47 AM



don't worry all sorted now, ta

"John Peach" <john.r.peach (AT) ntlworld (DOT) com> wrote

Quote:
Can anyone please advise what i am doing wrong, I am trying to pass
variables to a DTS package using the following stored procedure, but the
variables do not look available in the DTS package (********* sensitive
information removed)

CREATE PROCEDURE client_update_jp

@CompId as varchar(20),
@BranId as varchar(20),
@UserName as varchar(50),
@nValue as varchar(50)

AS

EXECUTE master.dbo.xp_cmdshell 'DTSRun /S "******" /U "*******" /P "*****"
/N "Client_Update_Mail" /G "{D8BE8C4A-C616-4974-8F6B-C0AA7183F016}" /A
"CompId":"8"=@CompId /A "BranId":"8"=@BranId /A "UserName":"8"=@UserName
/A "nValue":"8"= @nValue /W "0" '
GO


Reply With Quote
  #4  
Old   
John Peach
 
Posts: n/a

Default Re: global Variables - 07-31-2008 , 08:47 AM



don't worry all sorted now, ta

"John Peach" <john.r.peach (AT) ntlworld (DOT) com> wrote

Quote:
Can anyone please advise what i am doing wrong, I am trying to pass
variables to a DTS package using the following stored procedure, but the
variables do not look available in the DTS package (********* sensitive
information removed)

CREATE PROCEDURE client_update_jp

@CompId as varchar(20),
@BranId as varchar(20),
@UserName as varchar(50),
@nValue as varchar(50)

AS

EXECUTE master.dbo.xp_cmdshell 'DTSRun /S "******" /U "*******" /P "*****"
/N "Client_Update_Mail" /G "{D8BE8C4A-C616-4974-8F6B-C0AA7183F016}" /A
"CompId":"8"=@CompId /A "BranId":"8"=@BranId /A "UserName":"8"=@UserName
/A "nValue":"8"= @nValue /W "0" '
GO


Reply With Quote
  #5  
Old   
John Peach
 
Posts: n/a

Default Re: global Variables - 07-31-2008 , 08:47 AM



don't worry all sorted now, ta

"John Peach" <john.r.peach (AT) ntlworld (DOT) com> wrote

Quote:
Can anyone please advise what i am doing wrong, I am trying to pass
variables to a DTS package using the following stored procedure, but the
variables do not look available in the DTS package (********* sensitive
information removed)

CREATE PROCEDURE client_update_jp

@CompId as varchar(20),
@BranId as varchar(20),
@UserName as varchar(50),
@nValue as varchar(50)

AS

EXECUTE master.dbo.xp_cmdshell 'DTSRun /S "******" /U "*******" /P "*****"
/N "Client_Update_Mail" /G "{D8BE8C4A-C616-4974-8F6B-C0AA7183F016}" /A
"CompId":"8"=@CompId /A "BranId":"8"=@BranId /A "UserName":"8"=@UserName
/A "nValue":"8"= @nValue /W "0" '
GO


Reply With Quote
  #6  
Old   
John Peach
 
Posts: n/a

Default Re: global Variables - 07-31-2008 , 08:47 AM



don't worry all sorted now, ta

"John Peach" <john.r.peach (AT) ntlworld (DOT) com> wrote

Quote:
Can anyone please advise what i am doing wrong, I am trying to pass
variables to a DTS package using the following stored procedure, but the
variables do not look available in the DTS package (********* sensitive
information removed)

CREATE PROCEDURE client_update_jp

@CompId as varchar(20),
@BranId as varchar(20),
@UserName as varchar(50),
@nValue as varchar(50)

AS

EXECUTE master.dbo.xp_cmdshell 'DTSRun /S "******" /U "*******" /P "*****"
/N "Client_Update_Mail" /G "{D8BE8C4A-C616-4974-8F6B-C0AA7183F016}" /A
"CompId":"8"=@CompId /A "BranId":"8"=@BranId /A "UserName":"8"=@UserName
/A "nValue":"8"= @nValue /W "0" '
GO


Reply With Quote
  #7  
Old   
John Peach
 
Posts: n/a

Default Re: global Variables - 07-31-2008 , 08:47 AM



don't worry all sorted now, ta

"John Peach" <john.r.peach (AT) ntlworld (DOT) com> wrote

Quote:
Can anyone please advise what i am doing wrong, I am trying to pass
variables to a DTS package using the following stored procedure, but the
variables do not look available in the DTS package (********* sensitive
information removed)

CREATE PROCEDURE client_update_jp

@CompId as varchar(20),
@BranId as varchar(20),
@UserName as varchar(50),
@nValue as varchar(50)

AS

EXECUTE master.dbo.xp_cmdshell 'DTSRun /S "******" /U "*******" /P "*****"
/N "Client_Update_Mail" /G "{D8BE8C4A-C616-4974-8F6B-C0AA7183F016}" /A
"CompId":"8"=@CompId /A "BranId":"8"=@BranId /A "UserName":"8"=@UserName
/A "nValue":"8"= @nValue /W "0" '
GO


Reply With Quote
  #8  
Old   
John Peach
 
Posts: n/a

Default Re: global Variables - 07-31-2008 , 08:47 AM



don't worry all sorted now, ta

"John Peach" <john.r.peach (AT) ntlworld (DOT) com> wrote

Quote:
Can anyone please advise what i am doing wrong, I am trying to pass
variables to a DTS package using the following stored procedure, but the
variables do not look available in the DTS package (********* sensitive
information removed)

CREATE PROCEDURE client_update_jp

@CompId as varchar(20),
@BranId as varchar(20),
@UserName as varchar(50),
@nValue as varchar(50)

AS

EXECUTE master.dbo.xp_cmdshell 'DTSRun /S "******" /U "*******" /P "*****"
/N "Client_Update_Mail" /G "{D8BE8C4A-C616-4974-8F6B-C0AA7183F016}" /A
"CompId":"8"=@CompId /A "BranId":"8"=@BranId /A "UserName":"8"=@UserName
/A "nValue":"8"= @nValue /W "0" '
GO


Reply With Quote
  #9  
Old   
John Peach
 
Posts: n/a

Default Re: global Variables - 07-31-2008 , 08:47 AM



don't worry all sorted now, ta

"John Peach" <john.r.peach (AT) ntlworld (DOT) com> wrote

Quote:
Can anyone please advise what i am doing wrong, I am trying to pass
variables to a DTS package using the following stored procedure, but the
variables do not look available in the DTS package (********* sensitive
information removed)

CREATE PROCEDURE client_update_jp

@CompId as varchar(20),
@BranId as varchar(20),
@UserName as varchar(50),
@nValue as varchar(50)

AS

EXECUTE master.dbo.xp_cmdshell 'DTSRun /S "******" /U "*******" /P "*****"
/N "Client_Update_Mail" /G "{D8BE8C4A-C616-4974-8F6B-C0AA7183F016}" /A
"CompId":"8"=@CompId /A "BranId":"8"=@BranId /A "UserName":"8"=@UserName
/A "nValue":"8"= @nValue /W "0" '
GO


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.