Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 import date field with the use of DTS

Author  Topic 

yipchunyu
Yak Posting Veteran

80 Posts

Posted - 2002-06-25 : 00:01:22
I tried to import data from a text file with the use of DTS. However, when the field (date type) is null, it gots problem as it can't import with DTS. How can i handle this? any tips?
thx in advance.
Yu

shallu1_gupta
Constraint Violating Yak Guru

394 Posts

Posted - 2002-06-25 : 03:31:09
While importing data using DTS u have to pass the value as blank if it contain NULL value like
for importing a row containing null
1,name,null,address
do it like
1,name,,address
so replace all null by blank


Go to Top of Page
   

- Advertisement -