![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Yes, yes I have read the article on SQLDTS regarding output parameters in Execute SQL Task. Well, it aint so easy!! Since there is no visibility into the processes involved, I can not debug it. Here is what I am trying to do: Execute a proc with two input parameters, and return the ReturnStatus and PropertyImportId. Should be really, really simple. DECLARE @Retstat int, @PropertyImportId int EXEC @Retstat = dbo.DeedsImport ?, ?, @PropertyImportId output SELECT @Retstat as Retstat, @PropertyImportId as PropertyImportId |
|
I tried to spoof the DTS designer with: select PropertyId as PropertyImportId, PropertyparcelId as Retstat from propertyparcel where propertyid = ? and propertyparcelId = ? Looks nearly OK for me. |
![]() |
| Thread Tools | |
| Display Modes | |
| |