<?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: Import Excel in DataTable in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95936#M44327</link>
    <description>Hello Camilla,&lt;BR /&gt;&lt;BR /&gt;The image is not very clear.&lt;BR /&gt;But, there are few things you can check from your side.&lt;BR /&gt;&lt;BR /&gt;1. Is the SQL Server already configured? You can search for "SQL Server Configuration Manager" in your system to verify this.&lt;BR /&gt;&lt;BR /&gt;2. If&amp;nbsp; point 1 is a yes, then is your Use case is testing / research purpose?&amp;nbsp; If you&amp;nbsp; are using the Express edition of the SQL Server, in that case you probably do not have&lt;BR /&gt;a additional security set.&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;Further reading&lt;/STRONG&gt;: &lt;A href="https://serverspace.io/support/help/install-and-configure-ms-sql-server-express/" target="test_blank"&gt;https://serverspace.io/support/help/install-and-configure-ms-sql-server-express/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;3. Is Blue Prism already up and running, with a configured database? if yes.&lt;BR /&gt;Example&lt;BR /&gt;Business Object::&amp;nbsp; Data SQL Server&lt;BR /&gt;Action::&amp;nbsp; Set connection&lt;BR /&gt;&lt;BR /&gt;Inputs:&lt;BR /&gt;ServerName::&amp;nbsp; "localhost/SQLExpress"&lt;BR /&gt;Database::&amp;nbsp; "&amp;lt;database name&amp;gt;" (As configured previously)&lt;BR /&gt;User::&amp;nbsp; &amp;lt;credentials same as SQL Server&amp;gt;&lt;BR /&gt;Password:: &amp;lt;credentials same as SQL Server&amp;gt;&lt;BR /&gt;&lt;BR /&gt;You can also share the error message if you see one.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Anuraag</description>
    <pubDate>Thu, 14 Jan 2021 08:44:03 GMT</pubDate>
    <dc:creator>AnuraagPandey</dc:creator>
    <dc:date>2021-01-14T08:44:03Z</dc:date>
    <item>
      <title>Import Excel in DataTable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95933#M44324</link>
      <description>Hello friends,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I've created a datatable in my SQL Server.&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="34902.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/34963iB8974E4A9D795813/image-size/large?v=v2&amp;amp;px=999" role="button" title="34902.png" alt="34902.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;I would like to connect to SQL Server and import an Excel file into the DataTable.&lt;BR /&gt;How to do that?&lt;BR /&gt;CAn you please provide me the VBO Data -SQL Server?&lt;BR /&gt;&lt;BR /&gt;I don't have it?&lt;BR /&gt;&lt;BR /&gt;Thank you so much,&amp;nbsp;&lt;BR /&gt;CAmilla.&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jan 2021 13:59:09 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95933#M44324</guid>
      <dc:creator>CamillaCattivel</dc:creator>
      <dc:date>2021-01-13T13:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel in DataTable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95934#M44325</link>
      <description>&lt;DIV class="media" style="overflow: hidden"&gt;
&lt;DIV class="media" style="overflow: hidden"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="34899.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/34964iED1F131FF1F8A826/image-size/large?v=v2&amp;amp;px=999" role="button" title="34899.png" alt="34899.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;Hello Camilla,&lt;BR /&gt;&lt;BR /&gt;As per my understanding.&lt;BR /&gt;You are trying to load excel table into database. In that case excel provides an opportunity for us to connect excel and SQL server (refer screenshot).&lt;BR /&gt;&lt;BR /&gt;Further reading: &lt;A href="https://www.mssqltips.com/sqlservertip/1430/import-excel-data-into-sql-server-using-copy-and-paste/" target="test_blank"&gt;https://www.mssqltips.com/sqlservertip/1430/import-excel-data-into-sql-server-using-copy-and-paste/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And if you are trying to connect a database table with Blue Prism, then there exists a VBO - "BPA Object - Data - SQL Server". &lt;BR /&gt;&lt;BR /&gt;You can find the same inside the folder : "VBO" inside the "Blue Prism Automate Folder". &lt;BR /&gt;It can very easily be imported this VBO into Blue Prism.&lt;BR /&gt;&lt;BR /&gt;Using the action "Set connection" -- requires relevant fields as input (Server instance name, name of the database, userID, password) to complete the connection.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Anuraag&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Jan 2021 15:55:41 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95934#M44325</guid>
      <dc:creator>AnuraagPandey</dc:creator>
      <dc:date>2021-01-13T15:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel in DataTable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95935#M44326</link>
      <description>Thank you so much &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1245"&gt;@AnuraagPandey&lt;/a&gt;.&lt;BR /&gt;i've imported the ​&lt;SPAN&gt;&lt;SPAN&gt;BPA Object - Data - SQL Server.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;DIV class="media" style="overflow: hidden"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="34900.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/34962i46F3B31DB3C15D78/image-size/large?v=v2&amp;amp;px=999" role="button" title="34900.png" alt="34900.png" /&gt;&lt;/span&gt;in the following fields:&lt;BR /&gt;&lt;SPAN&gt;Server instance name&lt;BR /&gt;database,&lt;BR /&gt;userID,&lt;BR /&gt;password&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;I've used&lt;BR /&gt;Server name from SQL Server Managment Studio, Database Name created, User with domain, Password&lt;BR /&gt;It doesn't work.&lt;/DIV&gt;
&lt;DIV class="media" style="overflow: hidden"&gt;CAn you please hekp me?&lt;BR /&gt;CAmilla.&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Jan 2021 16:17:30 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95935#M44326</guid>
      <dc:creator>CamillaCattivel</dc:creator>
      <dc:date>2021-01-13T16:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel in DataTable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95936#M44327</link>
      <description>Hello Camilla,&lt;BR /&gt;&lt;BR /&gt;The image is not very clear.&lt;BR /&gt;But, there are few things you can check from your side.&lt;BR /&gt;&lt;BR /&gt;1. Is the SQL Server already configured? You can search for "SQL Server Configuration Manager" in your system to verify this.&lt;BR /&gt;&lt;BR /&gt;2. If&amp;nbsp; point 1 is a yes, then is your Use case is testing / research purpose?&amp;nbsp; If you&amp;nbsp; are using the Express edition of the SQL Server, in that case you probably do not have&lt;BR /&gt;a additional security set.&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;Further reading&lt;/STRONG&gt;: &lt;A href="https://serverspace.io/support/help/install-and-configure-ms-sql-server-express/" target="test_blank"&gt;https://serverspace.io/support/help/install-and-configure-ms-sql-server-express/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;3. Is Blue Prism already up and running, with a configured database? if yes.&lt;BR /&gt;Example&lt;BR /&gt;Business Object::&amp;nbsp; Data SQL Server&lt;BR /&gt;Action::&amp;nbsp; Set connection&lt;BR /&gt;&lt;BR /&gt;Inputs:&lt;BR /&gt;ServerName::&amp;nbsp; "localhost/SQLExpress"&lt;BR /&gt;Database::&amp;nbsp; "&amp;lt;database name&amp;gt;" (As configured previously)&lt;BR /&gt;User::&amp;nbsp; &amp;lt;credentials same as SQL Server&amp;gt;&lt;BR /&gt;Password:: &amp;lt;credentials same as SQL Server&amp;gt;&lt;BR /&gt;&lt;BR /&gt;You can also share the error message if you see one.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Anuraag</description>
      <pubDate>Thu, 14 Jan 2021 08:44:03 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95936#M44327</guid>
      <dc:creator>AnuraagPandey</dc:creator>
      <dc:date>2021-01-14T08:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel in DataTable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95937#M44328</link>
      <description>Thank you so much &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1245"&gt;@AnuraagPandey&lt;/a&gt;.&lt;BR /&gt;I've configured the SQl Server wih SQL identification and it seems working.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I ask you kindly another question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to Read an Excel File , Read the Collection of rows associated to it and insert the rows (without duplicates) in a Datatable inside the Database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do the insertion of rows inside the Datatable?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The collection from the excel has this columns:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Tipo fattura,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Tipo documento&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Numero fattura&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Data emissione&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;while the Datatable has these:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Tipo fattura,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Tipo documento&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Numero fattura&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Data emissione&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;PIVA Società?&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CAn you help me please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CAmilla.&lt;/SPAN&gt;​</description>
      <pubDate>Thu, 14 Jan 2021 13:29:30 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95937#M44328</guid>
      <dc:creator>CamillaCattivel</dc:creator>
      <dc:date>2021-01-14T13:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel in DataTable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95938#M44329</link>
      <description>Hello Camilla,&lt;BR /&gt;&lt;BR /&gt;There can be several ways to approach this.&lt;BR /&gt;My suggestion would be.&lt;BR /&gt;Manually create a new database table to match your requirement, primary key defined, and datatype + plus assigned to each of the fields.&lt;BR /&gt;&lt;BR /&gt;1. In page 1 - fetch values from excel and extract all information inside a collection stage&lt;BR /&gt;2. In page 2 -&amp;nbsp;&lt;BR /&gt;Step A: &lt;STRONG&gt;START STAGE :&amp;nbsp;&lt;/STRONG&gt;here you can fetch the collection from previous page (this is a design choice, you can transfer data from one page to another the way you prefer)&lt;BR /&gt;Step B:&lt;STRONG&gt; ACTION STAGE&lt;/STRONG&gt; : Data SQL server - set connection; here you can set connection with your database&lt;BR /&gt;Step C: &lt;STRONG&gt; ACTION STAGE : &lt;/STRONG&gt;Data SQL server - Execute, &lt;BR /&gt;&lt;STRONG&gt;INPUT&amp;nbsp; :&lt;/STRONG&gt; here you can use an INSERT statement, the table (previously created) along with the fields (values will be fetched in a loop from the collection and written inside data items&amp;nbsp; which will then be picked by the query)&lt;BR /&gt;Example: &lt;CODE&gt;&lt;STRONG&gt;"INSERT INTO &amp;lt;TABLE NAME&amp;gt; VALUES ('"&amp;amp;[itemID]&amp;amp;"', '"&amp;amp;[UserName]&amp;amp;"')"&lt;BR /&gt;&lt;/STRONG&gt;&lt;/CODE&gt;&lt;STRONG&gt;OUTPUT:&amp;nbsp;&lt;/STRONG&gt;here you can fetch success message, just to be sure that the process worked, or capture the error.&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden"&gt;Please let me know if this works.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Anuraag&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="34901.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/34965i18B6FB1167459C3C/image-size/large?v=v2&amp;amp;px=999" role="button" title="34901.png" alt="34901.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Jan 2021 19:34:18 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95938#M44329</guid>
      <dc:creator>AnuraagPandey</dc:creator>
      <dc:date>2021-01-19T19:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel in DataTable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95939#M44330</link>
      <description>Thanks a lot &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;@Anuraag Pandey.&lt;BR /&gt;Now It seems working.&lt;BR /&gt;In case of problems can I write to you?&lt;BR /&gt;cami</description>
      <pubDate>Wed, 20 Jan 2021 08:09:52 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95939#M44330</guid>
      <dc:creator>CamillaCattivel</dc:creator>
      <dc:date>2021-01-20T08:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel in DataTable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95940#M44331</link>
      <description>HI Camilla, &lt;BR /&gt;I am glad it worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;I am happy to help&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Anuraag</description>
      <pubDate>Wed, 20 Jan 2021 09:49:30 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Import-Excel-in-DataTable/m-p/95940#M44331</guid>
      <dc:creator>AnuraagPandey</dc:creator>
      <dc:date>2021-01-20T09:49:30Z</dc:date>
    </item>
  </channel>
</rss>

