![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello All, I have an Execute SQL task that calls a sproc and sets a parameter of that sproc to a global variable of type String. The global variable will be probably at least 25 characters long. For some reason when it is sent to the sproc it gets cut off at 10 characters. The parameter that it is populating in the sproc is a varchar(8000). Any idea why this gv is getting cut off at 10 once the sproc gets it? It happens immediately, before the sproc does anything with any of the params it is cutoff! I have verified that the gv is its full length within the DTS pkg (I have inserted it into a test table I setup and the whole string shows up there). Thanks for your help in advance - it is much appreciated! Denise |
#3
| |||
| |||
|
|
Hello DeniseMe, It is a strange one. Is there anything special about the value in the variable? So you have checkd that before being passed to the proc it is the correct length but when passed to the proc it is incorrect? How did you check? Did you look at Profiler to see what was passed? Allan Mitchell www.SQLDTS.com www.SQLIS.com www.Konesans.com Hello All, I have an Execute SQL task that calls a sproc and sets a parameter of that sproc to a global variable of type String. The global variable will be probably at least 25 characters long. For some reason when it is sent to the sproc it gets cut off at 10 characters. The parameter that it is populating in the sproc is a varchar(8000). Any idea why this gv is getting cut off at 10 once the sproc gets it? It happens immediately, before the sproc does anything with any of the params it is cutoff! I have verified that the gv is its full length within the DTS pkg (I have inserted it into a test table I setup and the whole string shows up there). Thanks for your help in advance - it is much appreciated! Denise |
![]() |
| Thread Tools | |
| Display Modes | |
| |