<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wikitech.raphaelbrenet.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wikitech.raphaelbrenet.com/feed.php">
        <title>WikiTech - DataBI - ssis</title>
        <description></description>
        <link>https://wikitech.raphaelbrenet.com/</link>
        <image rdf:resource="https://wikitech.raphaelbrenet.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-06-13T10:04:16+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wikitech.raphaelbrenet.com/doku.php?id=ssis:ssis_run_sql_queries_in_script_task&amp;rev=1651486074&amp;do=diff"/>
                <rdf:li rdf:resource="https://wikitech.raphaelbrenet.com/doku.php?id=ssis:ssis_display_info_from_script_task_component_fireinformation&amp;rev=1644663968&amp;do=diff"/>
                <rdf:li rdf:resource="https://wikitech.raphaelbrenet.com/doku.php?id=ssis:ssis_sql_query_on_excel_file&amp;rev=1610553998&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wikitech.raphaelbrenet.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>WikiTech - DataBI</title>
        <link>https://wikitech.raphaelbrenet.com/</link>
        <url>https://wikitech.raphaelbrenet.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wikitech.raphaelbrenet.com/doku.php?id=ssis:ssis_run_sql_queries_in_script_task&amp;rev=1651486074&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-05-02T10:07:54+00:00</dc:date>
        <dc:creator>Raphael (rafadmin@undisclosed.example.com)</dc:creator>
        <title>ssis_run_sql_queries_in_script_task - created</title>
        <link>https://wikitech.raphaelbrenet.com/doku.php?id=ssis:ssis_run_sql_queries_in_script_task&amp;rev=1651486074&amp;do=diff</link>
        <description>SSIS - Run SQL queries from a Script Task

Using OLEDB connection

Run a query that returns data (SELECT):


string connectionString = Dts.Connections[&quot;SqlServerConnectionName&quot;].ConnectionString;
string queryString = &quot;SELECT col, COUNT(*) FROM schema.MyTable GROUP BY col&quot;

using (OleDbConnection connection = new OleDbConnection(connectionString))
{
	OleDbCommand command = new OleDbCommand(queryString, connection);
	connection.Open();

	OleDbDataReader reader = command.ExecuteReader();
	while (re…</description>
    </item>
    <item rdf:about="https://wikitech.raphaelbrenet.com/doku.php?id=ssis:ssis_display_info_from_script_task_component_fireinformation&amp;rev=1644663968&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-02-12T11:06:08+00:00</dc:date>
        <dc:creator>Raphael (rafadmin@undisclosed.example.com)</dc:creator>
        <title>ssis_display_info_from_script_task_component_fireinformation - created</title>
        <link>https://wikitech.raphaelbrenet.com/doku.php?id=ssis:ssis_display_info_from_script_task_component_fireinformation&amp;rev=1644663968&amp;do=diff</link>
        <description>SSIS - Raise event: FireInformation

Display info from the script task in the output logs:




bool fireAgain = true;

Dts.Events.FireInformation(0, &quot;Script Task Example&quot;, &quot;Internet connection detected.&quot;, String.Empty, 0, ref fireAgain);






Display info from the script</description>
    </item>
    <item rdf:about="https://wikitech.raphaelbrenet.com/doku.php?id=ssis:ssis_sql_query_on_excel_file&amp;rev=1610553998&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-13T16:06:38+00:00</dc:date>
        <dc:creator>Raphael (rafadmin@undisclosed.example.com)</dc:creator>
        <title>ssis_sql_query_on_excel_file</title>
        <link>https://wikitech.raphaelbrenet.com/doku.php?id=ssis:ssis_sql_query_on_excel_file&amp;rev=1610553998&amp;do=diff</link>
        <description>SSIS - SQL query on Excel file

The general syntax is as follow:


SELECT * FROM [SheetName$Range] WHERE condition


If the option “first columns contains headers” is specified in the connection, the column names available in the query will be the ones from the Excel sheet. 
Otherwise, the dataset columns will be named F1, F2, F3</description>
    </item>
</rdf:RDF>
