<?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: Creating a Materialized View in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/creating-a-materialized-view/qaa-p/13813286#M4844129</link>
    <description>&lt;P&gt;I would assume there must be a setting where it is possible to create a mat. view without changing the setting (options) to create the mat. view and then switch back to the sort_collation ID 51 (in my case). But I really don't know.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Mar 2015 12:59:47 GMT</pubDate>
    <dc:creator>huber1</dc:creator>
    <dc:date>2015-03-04T12:59:47Z</dc:date>
    <item>
      <title>Creating a Materialized View</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-a-materialized-view/qaq-p/13813284</link>
      <description>&lt;P&gt;According to the documentation for creating a materialized view, the sort_collation setting must be Internal. I have set it to the ID 51 to get the proper sorting for Umlaute.
Now I am wondering if there is a way to set this opion to Internal and still have the sort collation behave like if I had set it to 51?&lt;/P&gt;
&lt;P&gt;(SQL Anywhere 12, Version 12.0.1.4201).&lt;/P&gt;
&lt;P&gt;Regards, Robert&lt;/P&gt;
&lt;P&gt; &lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Creating a Materialized View"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/189547i6D47FC4F4ACFC9BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Creating a Materialized View" alt="Creating a Materialized View" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Creating a Materialized View"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/189548iD6944FC302BD4AA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Creating a Materialized View" alt="Creating a Materialized View" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2015 11:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-a-materialized-view/qaq-p/13813284</guid>
      <dc:creator>huber1</dc:creator>
      <dc:date>2015-03-04T11:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Materialized View</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-a-materialized-view/qaa-p/13813285#M4844128</link>
      <description>&lt;P&gt;In my understanding, there's no problem in either setting the sort_collation temporarily to a different setting or to explicitly use SORTKEY(MyColumn, MySortCollation) when you run queries against the mat. view. However, the drawback might be that the mat. view won't be used automatically by the optimizer when you &lt;EM&gt;do not&lt;/EM&gt; refer to it in your queries - that's my understanding of the phrase "for the view to be used by the optimizer" from the &lt;A href="http://dcx.sybase.com/index.html#1201/en/dbusage/workingwdb-s-3924160.html"&gt;v12.0.1 docs&lt;/A&gt; which state:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;The following database options must have the specified settings when a materialized view is created; otherwise, an error is returned. These database option values are also required for the view to be used by the optimizer:  &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;ansinull=On&lt;BR /&gt;
 [...]&lt;/LI&gt;
&lt;LI&gt;sort_collation=Internal&lt;/LI&gt;
&lt;/UL&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 04 Mar 2015 11:52:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-a-materialized-view/qaa-p/13813285#M4844128</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2015-03-04T11:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Materialized View</title>
      <link>https://community.sap.com/t5/technology-q-a/creating-a-materialized-view/qaa-p/13813286#M4844129</link>
      <description>&lt;P&gt;I would assume there must be a setting where it is possible to create a mat. view without changing the setting (options) to create the mat. view and then switch back to the sort_collation ID 51 (in my case). But I really don't know.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2015 12:59:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/creating-a-materialized-view/qaa-p/13813286#M4844129</guid>
      <dc:creator>huber1</dc:creator>
      <dc:date>2015-03-04T12:59:47Z</dc:date>
    </item>
  </channel>
</rss>

