How to compare strings based on ASCII code in SSIS

Posted by on Oct 14, 2010 in SSIS | No Comments

there were two thread in this week which has issue when compare two strings in SSIS Expressions, for example request was "9:9" < "99" . if you try the above expression in SSIS, you will get True as result. this may seems OK, but requests was to compare them by ASCII character, if you look ...

Read More

SSIS – Sql Server to XML – Save to file

Posted by on Oct 5, 2010 in SSIS | No Comments

As you know there is no XML destination in SSIS. so how you can save result of a query from sql server to XML file? Solution is: First Of all you can use FOR XML to get result of query in XML , look at our sample query : SELECT EmployeeID,NationalIDNumber,ContactIDFROM HumanResources.Employee FOR XML RAW(‘Facility’),Root(‘Extract’),Elements  ...

Read More