<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Azure Synapse reading csv file in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Azure-Synapse-reading-csv-file/m-p/1844523#M29439</link>
    <description>&lt;P&gt;You can try to directly connect to this csv file from within Power BI. Open Power BI -&amp;gt; Get Data -&amp;gt; Azure -&amp;gt; Azure Data Lake Storage Gen 2 -&amp;gt; Put the URL of the CSV and then sign in. This should be the easiest and most straight forward way.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gdarakji_0-1621180680576.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/515033i5C1C7949FEFD7618/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gdarakji_0-1621180680576.png" alt="gdarakji_0-1621180680576.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 16 May 2021 15:58:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-16T15:58:10Z</dc:date>
    <item>
      <title>Azure Synapse reading csv file</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Azure-Synapse-reading-csv-file/m-p/1836962#M29385</link>
      <description>&lt;P&gt;Referring to Youtube video (&lt;A href="https://www.youtube.com/watch?v=vOSzw40TohM&amp;amp;t=539s" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=vOSzw40TohM&lt;/A&gt;) and attempting to utilze a csv file uploaded to Azure Blob/Gen2 datalake, and execute a SQL Script against a CSV file. Attempted many combinations to query but only returns the filename.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;base query&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SELECT&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;    &lt;/SPAN&gt;&lt;SPAN&gt;TOP&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;100&lt;/SPAN&gt;&lt;SPAN&gt; *&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FROM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;    &lt;/SPAN&gt;&lt;SPAN&gt;OPENROWSET&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;        &lt;/SPAN&gt;&lt;SPAN&gt;BULK&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;'&lt;A href="https://example.dfs.core.windows.net/exampledatalakeg2/.../filename_example.csv" target="_blank" rel="noopener"&gt;https://example.dfs.core.windows.net/exampledatalakeg2/.../filename_example.csv&lt;/A&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;        &lt;/SPAN&gt;&lt;SPAN&gt;FORMAT&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'CSV'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;        &lt;/SPAN&gt;&lt;SPAN&gt;FIELDTERMINATOR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;';'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ROWTERMINATOR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;''&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;        PARSER_VERSION=&lt;/SPAN&gt;&lt;SPAN&gt;'2.0'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;) &lt;/SPAN&gt;&lt;SPAN&gt;AS&lt;/SPAN&gt;&lt;SPAN&gt; [result]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Tried defining all the columns, data types, and data row start which should return 6 columns with 100k rows of data.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 May 2021 20:08:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Azure-Synapse-reading-csv-file/m-p/1836962#M29385</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-11T20:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Synapse reading csv file</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Azure-Synapse-reading-csv-file/m-p/1842273#M29427</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/sql/t-sql/functions/openrowset-transact-sql?view=sql-server-ver15" target="_blank"&gt;OPENROWSET (Transact-SQL) - SQL Server | Microsoft Docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please refer to the link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Lionel Chen&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 08:00:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Azure-Synapse-reading-csv-file/m-p/1842273#M29427</guid>
      <dc:creator>v-lionel-msft</dc:creator>
      <dc:date>2021-05-14T08:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Synapse reading csv file</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Azure-Synapse-reading-csv-file/m-p/1844523#M29439</link>
      <description>&lt;P&gt;You can try to directly connect to this csv file from within Power BI. Open Power BI -&amp;gt; Get Data -&amp;gt; Azure -&amp;gt; Azure Data Lake Storage Gen 2 -&amp;gt; Put the URL of the CSV and then sign in. This should be the easiest and most straight forward way.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gdarakji_0-1621180680576.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/515033i5C1C7949FEFD7618/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gdarakji_0-1621180680576.png" alt="gdarakji_0-1621180680576.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2021 15:58:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Azure-Synapse-reading-csv-file/m-p/1844523#M29439</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-16T15:58:10Z</dc:date>
    </item>
  </channel>
</rss>

