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

how to handled postgres boolean values into sql server using ssis package

$
0
0

Hi I have one question in ssis ,
source : postgres sql
table : Emp 
column: status and datatype is Bollean
and values like true/false
Target: Sql Server 
table : emp
column: Status and datatype is Bollean

in derived column I used expression : (Dt_bool)(DT_STR,255,1252)(DT_WSTR,255)current

Here I create odbc connection for postgres server 
and  used adonetsource transformation.here datatype is showing DT_NText for Status column (actual postgres side its bollean)

while loading data from postgres database table to sql server using ssis package 
side I am getting error.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Derived Column" (47) failed with error code 0xC0209029 while processing input "Derived Column Input" (48). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.
I am unable to load  postgress bollean values into sql server using ssis package.
please tell me how to avoide above error to resolve this issue in ssis


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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