<?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>Question Re: Rows updated in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834281#M4865124</link>
    <description>&lt;P&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1775/gchq"&gt;&lt;/A&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1775/gchq"&gt;@gchq&lt;/A&gt;: Sorry, I still don't get the point. - If you relate to Interactive SQL, then where exactly do you notice a "0 row(s) updated" notification when more rows have been updated?&lt;/P&gt;
&lt;P&gt;As said, I agree that v17 misses the former "Messages" tab and the display of those messages within the according "History" tab is confusing but the number of rows should be correct, as in Ilia's sample (and my own experience).&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2017 02:42:18 GMT</pubDate>
    <dc:creator>VolkerBarth</dc:creator>
    <dc:date>2017-01-18T02:42:18Z</dc:date>
    <item>
      <title>Rows updated</title>
      <link>https://community.sap.com/t5/technology-q-a/rows-updated/qaq-p/13834275</link>
      <description>&lt;P&gt;I've just noticed that v17 Central doesn't return the number of rows updated after an UPDATE... It gives you a warm fuzzy feeling that you did the right thing when you see 'one row(s) updated' and it's what you intended to do... Is there a hidden checkbox somewhere that restores this feature?&lt;/P&gt;
&lt;P&gt;On the same subject if I wanted to add that to one of our utilities (outside of Sybase Central) what method can be used to return the number of rows updated?&lt;/P&gt;
&lt;P&gt;Say &lt;/P&gt;
&lt;LI-CODE lang="sql"&gt;  UPDATE Customers SET Customer_Name = 'Smith' WHERE Customer_Name = 'Jones'&lt;/LI-CODE&gt;


&lt;P&gt;and return a integer of 3 if three rows were effected?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 18:20:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rows-updated/qaq-p/13834275</guid>
      <dc:creator>former_SQLA_member1694879</dc:creator>
      <dc:date>2017-01-16T18:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rows updated</title>
      <link>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834276#M4865119</link>
      <description>&lt;P&gt;I don't know about the Sybase Central part but there are several ways to get the number of rows affected by a statement depending on your client. For ESQL, there is a field set in your SQLCA: &lt;A href="http://dcx.sap.com/index.html#sqla170/en/html/3be2f5e26c5f101499c1907455d3c6be.html"&gt;http://dcx.sap.com/index.html#sqla170/en/html/3be2f5e26c5f101499c1907455d3c6be.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In ODBC, there is a SQLRowCount function: &lt;A href="https://msdn.microsoft.com/en-us/library/ms711835(v=vs.85).aspx"&gt;https://msdn.microsoft.com/en-us/library/ms711835(v=vs.85).aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can also just execute "select @@rowcount".&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 18:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834276#M4865119</guid>
      <dc:creator>johnsmirnios</dc:creator>
      <dc:date>2017-01-16T18:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rows updated</title>
      <link>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834278#M4865121</link>
      <description>&lt;P&gt;Hm, how do you update data directly in SQL Central via UPDATE statements? (I'd think you can edit data interactively within SC's Data View grids...) - Or are you relating to DBISQL? - Note, for v17, those "statistics" and messages have been merged into the history window, unfortunately, as discussed &lt;A href="http://sqlanywhere-forum.sap.com/questions/27157"&gt;here&lt;/A&gt;...&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 01:02:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834278#M4865121</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2017-01-17T01:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rows updated</title>
      <link>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834277#M4865120</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;v17 Central doesn't return the number of rows updated after an UPDATE&lt;BR /&gt;
Look, please, History Tab:  &lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Re Rows updated"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/189523iA4F2342D2E83206A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Re Rows updated" alt="Re Rows updated" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 17 Jan 2017 08:01:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834277#M4865120</guid>
      <dc:creator>former_SQLA_member326303</dc:creator>
      <dc:date>2017-01-17T08:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rows updated</title>
      <link>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834279#M4865122</link>
      <description>&lt;P&gt;Yep, but that's the DBISQL tool, not SQL Central...&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 07:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834279#M4865122</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2017-01-17T07:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Rows updated</title>
      <link>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834280#M4865123</link>
      <description>&lt;P&gt;That is actually what I meant - tend to think of Sybase Central as the overall application and Interactive SQL as just another tool within that app... The rows updated information in Results was very useful in prior versions and seeing '0 row(s) updated' is a major red flag that generally means user error.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 10:36:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834280#M4865123</guid>
      <dc:creator>former_SQLA_member1694879</dc:creator>
      <dc:date>2017-01-17T10:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rows updated</title>
      <link>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834281#M4865124</link>
      <description>&lt;P&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1775/gchq"&gt;&lt;/A&gt;&lt;A href="http://sqlanywhere-forum.sap.com/users/1775/gchq"&gt;@gchq&lt;/A&gt;: Sorry, I still don't get the point. - If you relate to Interactive SQL, then where exactly do you notice a "0 row(s) updated" notification when more rows have been updated?&lt;/P&gt;
&lt;P&gt;As said, I agree that v17 misses the former "Messages" tab and the display of those messages within the according "History" tab is confusing but the number of rows should be correct, as in Ilia's sample (and my own experience).&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 02:42:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834281#M4865124</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2017-01-18T02:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rows updated</title>
      <link>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834282#M4865125</link>
      <description>&lt;P&gt;It's just a handy reference without opening another tab - 
40 row(s) updated - probably good
0 rows(s) updated - probably wrong criteria or wrong table
48,000000 row(s) updated - probably time to restore from the last backup.&lt;/P&gt;
&lt;P&gt;Having said that when you run a SELECT in prior versions, then an UPDATE you have to open another tab in any event as the SELECTED rows are still in the results pane&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 08:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834282#M4865125</guid>
      <dc:creator>former_SQLA_member1694879</dc:creator>
      <dc:date>2017-01-18T08:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rows updated</title>
      <link>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834283#M4865126</link>
      <description>&lt;P&gt;Well, the old DBISQLC utility (still available with v17, and still heavily used by the SQL Anywhere engineers themselves...) has a separate Statistics pane, and therefore SQL statements, result sets (only one!) and statistics are shown in their respective panes just beneath each other. Good old times:)&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;I'd love to show an image but unfortunately, my upload attempts are failing today...:(&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 08:24:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834283#M4865126</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2017-01-18T08:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Rows updated</title>
      <link>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834284#M4865127</link>
      <description>&lt;P&gt;FWIW, here's what v16 and v17 DBISQL show when doing a simple UPDATE within the same v17 demo database.&lt;/P&gt;
&lt;P&gt;As stated, I do think that it's no improvement that v17 shows the row count within the History tab, but besides that, in my tests both v16 and v17 &lt;EM&gt;do&lt;/EM&gt; show the real number of modified rows...&lt;/P&gt;
&lt;P&gt; &lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Re Rows updated"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/189524i7F9AF610651CA123/image-size/large?v=v2&amp;amp;px=999" role="button" title="Re Rows updated" alt="Re Rows updated" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 12:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834284#M4865127</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2017-01-19T12:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rows updated</title>
      <link>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834285#M4865128</link>
      <description>&lt;P&gt;Probably just me clicking the SQL statement and not getting feedback in the results tab that I am used to seeing that's a little unnerving &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 09:45:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/rows-updated/qaa-p/13834285#M4865128</guid>
      <dc:creator>former_SQLA_member1694879</dc:creator>
      <dc:date>2017-01-20T09:45:18Z</dc:date>
    </item>
  </channel>
</rss>

