Retrieve Part of XML File

Posted by on Jan 24, 2011 in Scripting | No Comments

Today I faced a question on changing style of an xml file and fetch desired result as another xml file,  The XML file has lots of un-necessary tags which should be removed , I tried to do this with C#.NET code. This is the input xml: <?xml version="1.0" encoding="utf-16"?><DataTable>  <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">    <xs:element ...

Read More

Great New Year 2011 Gift – Microsoft MVP Award

Posted by on Jan 1, 2011 in Awards | No Comments

Today at the first day of 2011, I received a great gift from Microsoft. Microsoft Most Valuable Professional Award ( MVP ). I believe that this award is related to my contribution of technical communities such as MSDN and Exprets-Exchange , and also my posts in this blog in SSIS field. So I want to ...

Read More

Dynamic Row Delimiter and Column Delimiter in SSIS

Posted by on Dec 10, 2010 in SSIS | No Comments

There are times that you want to make Row Delimiter and Column Delimiter dynamic in Flat File source, and you want to change these values dynamically with package variables. usually you can use EXPRESSION properties for making things dynamic in SSIS, such as ConnectionString and bind it to a package variable. As you may know ...

Read More

Update / Insert ( UPSERT ) MySQL Table From SQL Server Table – SSIS

Posted by on Nov 11, 2010 in ETL, SQL Server, SSIS | No Comments

There are lots of links which described how to UPSERT( Update / Insert ) between two SQL Server tables. which mostly used Lookup Transform with OLEDB Command, like this:http://www.insideit.fr/post/2010/06/17/Lookup-simple-sur-SSIS But when you work with MySQL there is a limitation, you can not use OLEDB Connections, you can use ODBC or ADO.NET Connectors from .NET to ...

Read More

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