<?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: Update cell data to Database Table in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/update-cell-data-to-database-table/m-p/13593457#M88842</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;PRE&gt;UPDATE Test2 SET C1 = :C1, C2 = :C2, C3 = &amp;nbsp;:C3 WHERE ID == :ID&lt;/PRE&gt;&lt;P&gt;Requires to bind the ID column value as a parameter as well to be able to find the matching row in the WHERE clause.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 03 Jul 2023 07:07:17 GMT</pubDate>
    <dc:creator>moehlmann_fe</dc:creator>
    <dc:date>2023-07-03T07:07:17Z</dc:date>
    <item>
      <title>Update cell data to Database Table</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/update-cell-data-to-database-table/m-p/13593454#M88839</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.1.2 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello. I want to export data from FlexSim GlobalTable to Database Table (SQL Server).&lt;/P&gt;&lt;P&gt;Now I can use this script to INSERT data to Database Table. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1688314242482.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1518022i2DFBFEFE4B333979/image-size/large?v=v2&amp;amp;px=999" role="button" title="1688314242482.png" alt="1688314242482.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But INSERT It will be add new row in Database Table everytime when execute the script.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1688314365451.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1518023i96EF08DAF0AE84F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="1688314365451.png" alt="1688314365451.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, I has change from INSERT to UPDATE for update new data only. (I won't to add new row). So that invalid. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1688314394040.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1518025iF7758143DA3DF385/image-size/large?v=v2&amp;amp;px=999" role="button" title="1688314394040.png" alt="1688314394040.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1688314405987.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1518026iCF6304C8D6BD8FC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="1688314405987.png" alt="1688314405987.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can I just update new data to old row and won't to add new row in Database Table. Thank You.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 02 Jul 2023 16:17:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/update-cell-data-to-database-table/m-p/13593454#M88839</guid>
      <dc:creator>anutt_k</dc:creator>
      <dc:date>2023-07-02T16:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Update cell data to Database Table</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/update-cell-data-to-database-table/m-p/13593455#M88840</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Either DELETE * FROM test2 and then perform inserts for the whole table, or update based on a unique field combination (key ) using the WHERE clause.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 02 Jul 2023 19:00:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/update-cell-data-to-database-table/m-p/13593455#M88840</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-07-02T19:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Update cell data to Database Table</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/update-cell-data-to-database-table/m-p/13593456#M88841</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Can you give some exam script ?&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Jul 2023 06:36:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/update-cell-data-to-database-table/m-p/13593456#M88841</guid>
      <dc:creator>anutt_k</dc:creator>
      <dc:date>2023-07-03T06:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Update cell data to Database Table</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/update-cell-data-to-database-table/m-p/13593457#M88842</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;PRE&gt;UPDATE Test2 SET C1 = :C1, C2 = :C2, C3 = &amp;nbsp;:C3 WHERE ID == :ID&lt;/PRE&gt;&lt;P&gt;Requires to bind the ID column value as a parameter as well to be able to find the matching row in the WHERE clause.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Jul 2023 07:07:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/update-cell-data-to-database-table/m-p/13593457#M88842</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2023-07-03T07:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Update cell data to Database Table</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/update-cell-data-to-database-table/m-p/13593458#M88843</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/37658/anuttk.html" nodeid="37658"&gt;@Anutt K&lt;/A&gt;, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;
 &lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Jul 2023 13:59:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/update-cell-data-to-database-table/m-p/13593458#M88843</guid>
      <dc:creator>julie_weller</dc:creator>
      <dc:date>2023-07-07T13:59:23Z</dc:date>
    </item>
  </channel>
</rss>

