![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I've writen an activeX script to get an xml doc from a url and then assign one of the nodes to a global variable. I then want to pass this variable to a SQL statement and thought I could do this still using the DTS. So I set up a connection to my SQL server and a sql command. The statement is: Declare @partno nvarchar(255) UPDATE productfeed SET Stock = '99' WHERE Manufacturer_Part_Number = @partno Yet when I clcik the parameter button in the DTS for the SQL Command, I get told, 'The SQL statemetn does not contain any parameters' Can someone help me please as I need to pass the global var to this statement as a parameter Keith |
#3
| |||
| |||
|
#4
| |||
| |||
|
| thanks Alan, sorry to be a pain, but how do I have several parameters?? can I just name them ?param1 ?param2 Regards, M3ckon *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
![]() |
| Thread Tools | |
| Display Modes | |
| |