prevost999
Programmer
I am attempting, through a DTS transformation, to bring delimited data from a text file into a SQL Server database. My problem is that I cannot bring "empty" fields over without getting the following error:
Insert error, column 2('tcit',DBTYPE_STR),status 10: Integrity violation; attempt to insert NULL data or data which violates contraints.
Now, when I go into design mode for the table I am inserting into, and set Allow Nulls to true, the data
comes over fine, but it sets every blank field to <NULL>.
But I do not want to populate every
blank field with a value of <NULL>. I want them to be truly blank or "empty" fields.(except for dates)
Is there anyway to achieve this through an ActiveX Script function or some other script in the transformation?
Insert error, column 2('tcit',DBTYPE_STR),status 10: Integrity violation; attempt to insert NULL data or data which violates contraints.
Now, when I go into design mode for the table I am inserting into, and set Allow Nulls to true, the data
comes over fine, but it sets every blank field to <NULL>.
But I do not want to populate every
blank field with a value of <NULL>. I want them to be truly blank or "empty" fields.(except for dates)
Is there anyway to achieve this through an ActiveX Script function or some other script in the transformation?