<?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 SQLTables - TABLE_OWNER in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/SQLTables-TABLE-OWNER/m-p/20058#M1338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;according to help &lt;A href="https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/Scripting/ScriptRegularStatements/SQLTables.htm" title="https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/Scripting/ScriptRegularStatements/SQLTables.htm"&gt;https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/Scripting/ScriptRegularStatements/SQLTables.htm&lt;/A&gt; in outputs of SQLTables function for OLE DB there should be information about table owner - but there si not such field. I have QS November 2017. &lt;/P&gt;&lt;P&gt;Any idea where can I find the information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2018 15:08:12 GMT</pubDate>
    <dc:creator>JaMajka1</dc:creator>
    <dc:date>2018-04-11T15:08:12Z</dc:date>
    <item>
      <title>SQLTables - TABLE_OWNER</title>
      <link>https://community.qlik.com/t5/App-Development/SQLTables-TABLE-OWNER/m-p/20058#M1338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;according to help &lt;A href="https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/Scripting/ScriptRegularStatements/SQLTables.htm" title="https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/Scripting/ScriptRegularStatements/SQLTables.htm"&gt;https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/Scripting/ScriptRegularStatements/SQLTables.htm&lt;/A&gt; in outputs of SQLTables function for OLE DB there should be information about table owner - but there si not such field. I have QS November 2017. &lt;/P&gt;&lt;P&gt;Any idea where can I find the information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 15:08:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SQLTables-TABLE-OWNER/m-p/20058#M1338</guid>
      <dc:creator>JaMajka1</dc:creator>
      <dc:date>2018-04-11T15:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: SQLTables - TABLE_OWNER</title>
      <link>https://community.qlik.com/t5/App-Development/SQLTables-TABLE-OWNER/m-p/20059#M1339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is from the Microsoft SQL Server documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="x-hidden-focus" style="margin-top: 1rem;"&gt;The following &lt;STRONG&gt;columns have been renamed&lt;/STRONG&gt; for ODBC 3&lt;EM&gt;.x&lt;/EM&gt;. The column name changes do not affect backward compatibility because applications bind by column number.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class="table-scroll-wrapper" style="color: #000000; font-family: segoe-ui_normal, 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', Helvetica, sans-serif; font-size: 16px;"&gt;&lt;/P&gt;&lt;TABLE style="font-size: 0.875rem;"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH style="padding: 12px 16px; border-width: 0px 0px 1px; border-style: solid; border-color: #e3e3e3; text-align: left; font-family: segoe-ui_semibold, 'Segoe UI Semibold', 'Segoe WP', 'Helvetica Neue', Helvetica, sans-serif; font-size: 0.875rem;"&gt;ODBC 2.0 column&lt;/TH&gt;&lt;TH style="padding: 12px 16px; border-width: 0px 0px 1px; border-style: solid; border-color: #e3e3e3; text-align: left; font-family: segoe-ui_semibold, 'Segoe UI Semibold', 'Segoe WP', 'Helvetica Neue', Helvetica, sans-serif; font-size: 0.875rem;"&gt;ODBC 3&lt;EM&gt;.x&lt;/EM&gt; column&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 12px 16px; border-width: 1px 0px 0px; border-style: solid; border-color: #e3e3e3;"&gt;TABLE_QUALIFIER&lt;/TD&gt;&lt;TD style="padding: 12px 16px; border-width: 1px 0px 0px; border-style: solid; border-color: #e3e3e3;"&gt;TABLE_CAT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 12px 16px; border-width: 1px 0px 0px; border-style: solid; border-color: #e3e3e3;"&gt;TABLE_OWNER&lt;/TD&gt;&lt;TD style="padding: 12px 16px; border-width: 1px 0px 0px; border-style: solid; border-color: #e3e3e3;"&gt;TABLE_SCHEM&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE_OWNER has been renamed to &lt;STRONG&gt;TABLE_SCHEM&lt;/STRONG&gt; and you will find that after executing SQLTables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be precise you may want to bring in the two extra tables to get more information and current and accurate ownership: msdb.sys.database_principals and msdb.sys.schemas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15234611438793640" jivemacro_uid="_15234611438793640" modifiedtitle="true"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LIB CONNECT TO 'MSSQL';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;PRINCIPALS:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SQL SELECT &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; name,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "principal_id",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "type",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "type_desc",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "default_schema_name",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "create_date",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "modify_date",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "owning_principal_id",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sid,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "is_fixed_role",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "authentication_type",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "authentication_type_desc",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "default_language_name",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "default_language_lcid",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "allow_encrypted_value_modifications"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM msdb.sys."database_principals";&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SCHEMAS:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SQL SELECT &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; name AS TABLE_SCHEM, // to connect it to the correct field in SQLTABLES later&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "schema_id",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "principal_id"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM msdb.sys.schemas;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SQLTABLES:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SQLTables;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 15:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SQLTables-TABLE-OWNER/m-p/20059#M1339</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-04-11T15:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: SQLTables - TABLE_OWNER</title>
      <link>https://community.qlik.com/t5/App-Development/SQLTables-TABLE-OWNER/m-p/20060#M1340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 16:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SQLTables-TABLE-OWNER/m-p/20060#M1340</guid>
      <dc:creator>JaMajka1</dc:creator>
      <dc:date>2018-04-11T16:01:07Z</dc:date>
    </item>
  </channel>
</rss>

