Results 1 to 3 of 3

Thread: DTS Job Urgent

  1. #1
    Join Date
    Nov 2003
    Location
    Mars
    Posts
    115

    Unanswered: DTS Job Urgent

    Hi All,

    SQL Server 7
    Is their anyway to replace null values in all the fields being replicated to blanks in a DTS Job?

    Waiting for reply
    TIA
    Adil

  2. #2
    Join Date
    Feb 2002
    Posts
    2,232
    You can either have a staging table(and update the nulls) or use the activex script task and test for null and set that field to ''.

  3. #3
    Join Date
    Feb 2002
    Posts
    2,232
    In dts:

    if IsNull(DTSSource("ghi")) then
    DTSDestination("ghi") = ""
    else
    DTSDestination("ghi") = DTSSource("ghi")
    end if

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •