October 13, 2005 at 8:00 am
I am executing a DTS package with DTSRUN. It has Global Variables that are an Int type. In the DTSRUN command I am passing a month number for one variable and a year number for another. The problem is that I am getting the following error for the SQL Tasks in the package......Invalid character value for cast specification.
I am passing a valid number. Here is the syntax of the variable portion of the dtsrun command. Let me know if anyone has any ideas of what is wrong.
/A "month":"22"=5 /A "year":"22"=2005
I have also tried
/A "month":"22"="5" /A "year":"22"="2005"
both failed with the same error
Please help, Adam
October 14, 2005 at 6:15 am
Change both "22" type values with a "3" for a type Integer.
-Mike Gercevich
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy