sql server - [OLE DB Source [963]] Error -


i have created data flow task containing oledb source , oledb destination. oledb source has data access mode of: sql command variable. variable called: sqlquery. design time value of sqlquery is:

select '' personno person 

the ssis package throwing following error:

[ole db source [963]] error: "output column "personno" (1051)" failed because truncation occurred, , truncation row disposition on "output column "surname" (1051)" specifies failure on truncation. truncation error occurred on specified object of specified component. 

i not understand error. however, if following seems work:

select '1111111111' personno person

can specify length of personno in sql query?

instead use null like

select null personno person 

Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -