SSIS package Query results Error

  • When i run a query in SQL Server Management Studio it returns correct results.

    When i paste the same query in OLE DB Source component in SSIs and preview the result the result set shows new line character for some of the records.

    Is there any reason why this happens?

  • my guess it that it exists in the data but just not displayed in Mgnt studio results.

    If you open the table not query it you should see those characters.

    Other thing you could do to confirm is check for these in your where clause.

    Where myField = Char(14) or whatever the ASCII code is for the characters you are seeing.

    or display the value of the non-print characters

    - ASCII(myField) (returns ascii value of first character in field)

    that should clear things up.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply