Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / DTS / July 2008

Tip: Looking for answers? Try searching our database.

global Variables

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Peach - 31 Jul 2008 11:14 GMT
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
John Peach - 31 Jul 2008 14:47 GMT
don't worry all sorted now, ta

> 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
[quoted text clipped - 15 lines]
> /A "nValue":"8"= @nValue /W "0" '
> GO
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.