Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Char Data Type Value Automatic converting to ASCII in SSIS

$
0
0

Hi Experts,

Please help,

I will appreciate your feedback. I am facing a issue in ssis package. I made a ssis variable Var1 with data type CHAR and assigned the value B in this variable but when i assigning this variable to other variable Var2 string type, Then Var2 getting the ACCII value of B that is 66 rather than B. And if i am showing the value of Var1 in Message Box using the script task however it is showing 66 rather than B. And Database table getting blank when inserting the value from Var1 using Execute SQL Task. But i want to insert B as it is with CHAR data type of Var1. I Used this expression : @[User::Var2]= (DT_WSTR,5)(DT_STR, 5,65001) @[User::Var1] 

to assign the value in Var2 . I Tried using code page : 65000, 1252 but getting same issue

          And one more question : How to convert the ACCII value to Character in SSIS.

With Warm Regards,

Raghvendra Rajak


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>