<?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: Reverse Engineering PowerDesigner 16.5 - SQLServer 2012 tables Extended Properties in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431876#M4249166</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;I have finally been able to find where the problem was. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you&amp;nbsp; perform a reverse engineering of the MSSQL&amp;nbsp; 'AdventureWorks' demo database, which tables have plenty of extended properties, the extended property value is available in the diagram in : table properties-&amp;gt;General-&amp;gt;Comments Section (picture below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding is you need to name your SQL Server&amp;nbsp; table Extended Property : &lt;STRONG&gt;'MS_Description'&lt;/STRONG&gt;,&amp;nbsp; and define only one entry. That way, the PowerDesigner Reverse enginering function will&amp;nbsp; interpret it correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your SQL Server table holds multiple extended properties, or if you have only one, named differently than the standard 'MS_Description', it won't be interpreted by PowerDesigner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There may be a way to import multiple extended properties with any name you want, but I don't know how to configure PowerDesigner to do so. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, this is the answer I was looking for, and I will recommend my customer to strictly follow the standard rules Microsoft implemented in SQL Server when they document their tables using extended properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your answers and time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/834845" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Nov 2015 15:43:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-11-20T15:43:12Z</dc:date>
    <item>
      <title>Reverse Engineering PowerDesigner 16.5 - SQLServer 2012 tables Extended Properties</title>
      <link>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaq-p/11431871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry in advance if this basic question has already been asked. I have had a look at the forums first, as well as the documentation, without finding the answer I am looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to PowerDesigner 16.5, currently testing the reverse engineering function with a SQL Server 2012 database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to find how to import the table extended properties that were applied to the sql server tables (sp_addextendedproperties)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it has already been imported with the reverse engineering default options, I can't see it anywhere in the resulting diagram. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_emote jive_macro" src="https://community.sap.com/1348/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 16:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaq-p/11431871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-12T16:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Engineering PowerDesigner 16.5 - SQLServer 2012 tables Extended Properties</title>
      <link>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431872#M4249162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not familiar with SQL Server, so I'm not sure what you mean by extended properties, but here goes anyway &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.sap.com/1348/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked the PowerDesigner help topic?&lt;/P&gt;&lt;P&gt;&lt;A class="bcNavLink" title=""&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data Modeling&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; &amp;gt; &lt;A class="bcNavLink" title="The chapters in this part provide information specific to the DBMSs supported by PowerDesigner."&gt;DBMS Definition Reference&lt;/A&gt; &amp;gt; &lt;/SPAN&gt;&lt;A class="bcNavLink" title="To create a PDM with support for features specific to the MS SQL Server DBMS family, select the appropriate version in the DBMS field of the New Model dialog. To view these extensions to the PowerDesigner metamodel in the Resource Editor, select Database &amp;gt; Edit Current DBMS and expand the Profile node."&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Microsoft SQL Server&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a SQL Server database, every Table and Column has an extra tab on the property sheet, called 'Microsoft', which is where you'll find properties that are specific to SQL Server. They will probably not appear on a diagram by default, though you could display them if you want to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 08:12:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431872#M4249162</guid>
      <dc:creator>GeorgeMcGeachie</dc:creator>
      <dc:date>2015-11-13T08:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Engineering PowerDesigner 16.5 - SQLServer 2012 tables Extended Properties</title>
      <link>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431873#M4249163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thierry&lt;/P&gt;&lt;P&gt;When you open a table in your reversed model, have you clicked the "more&amp;gt;&amp;gt;" button&lt;/P&gt;&lt;P&gt;on the down/left side of the tableproperties-window ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should see then see&amp;nbsp; a tab with the Extended properties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can make a prinscreen now because i have only PD Reader here, but i used These Features a year or so ago and it worked fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;DJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 11:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431873#M4249163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-13T11:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Engineering PowerDesigner 16.5 - SQLServer 2012 tables Extended Properties</title>
      <link>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431874#M4249164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for taking the time to answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure, I have checked the Powerdesigner help topic you mention (and the vast majority of online ressources provided by SAP) without finding any clue of what's going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made sure to review the physical model after the reverse engineering is completed, and every tab in the table properties&amp;nbsp; (the Microsoft tab gives information about partitioned tables, filegroups, filestream and compression. No trace of table extended properties).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also reviewed the different database options and tabs available when you configure the reverse engineering process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a chance I miss something, since I am an absolute beginner with PowerDesigner, but I can't say what.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your information, you will find an example of SQL Server extended properties in the image below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your answer, very appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thierry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/830512" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 20:53:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431874#M4249164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-13T20:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Engineering PowerDesigner 16.5 - SQLServer 2012 tables Extended Properties</title>
      <link>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431875#M4249165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dirk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Very interesting. Checking the table properties after reverse engineering is the first thing I have checked, but I have not seen any 'extended properties' tab, which may suggest that they were not imported during the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another explanation could be that the version of PowerDesigner I'm using (PowerAMC, the PowerDesigner's french version) does not support that feature. To be honest, I would be more than surprised if it were the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your information, you will find below a screen capture of what I'm seeing (in french). No trace of 'Propriétés étendues' (extended properties)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/830522" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Thierry &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 21:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431875#M4249165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-13T21:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Engineering PowerDesigner 16.5 - SQLServer 2012 tables Extended Properties</title>
      <link>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431876#M4249166</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;I have finally been able to find where the problem was. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you&amp;nbsp; perform a reverse engineering of the MSSQL&amp;nbsp; 'AdventureWorks' demo database, which tables have plenty of extended properties, the extended property value is available in the diagram in : table properties-&amp;gt;General-&amp;gt;Comments Section (picture below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding is you need to name your SQL Server&amp;nbsp; table Extended Property : &lt;STRONG&gt;'MS_Description'&lt;/STRONG&gt;,&amp;nbsp; and define only one entry. That way, the PowerDesigner Reverse enginering function will&amp;nbsp; interpret it correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your SQL Server table holds multiple extended properties, or if you have only one, named differently than the standard 'MS_Description', it won't be interpreted by PowerDesigner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There may be a way to import multiple extended properties with any name you want, but I don't know how to configure PowerDesigner to do so. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, this is the answer I was looking for, and I will recommend my customer to strictly follow the standard rules Microsoft implemented in SQL Server when they document their tables using extended properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your answers and time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/834845" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 15:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431876#M4249166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-20T15:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Engineering PowerDesigner 16.5 - SQLServer 2012 tables Extended Properties</title>
      <link>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431877#M4249167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With that small clue, I was able to find the places to configure reverse-engineering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the database definition file for SQL Server 2014, look in the section &lt;STRONG&gt;Script - Objects - Table - SqlListQuery&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It contains the following code, which you could probably configure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{OWNER, TABLE, TABLE_TYPE, COMMENT}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; u.name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; o.name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; case (o.type) when 'S' then 'SYSTEM TABLE' else 'TABLE' end,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; convert(varchar(8000), p.value)&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; [%CATALOG%.]sys.sysobjects o&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; join [%CATALOG%.]sys.schemas&amp;nbsp; u on (u.schema_id = o.uid)&lt;/P&gt;&lt;P&gt;left outer join [%CATALOG%.]sys.extended_properties p on (p.major_id = o.id and p.minor_id = 0 and p.name = '&lt;STRONG&gt;MS_Description&lt;/STRONG&gt;')&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; o.type in ('U', 'S')&lt;/P&gt;&lt;P&gt;[&amp;nbsp; and u.name = %.q:OWNER%]&lt;/P&gt;&lt;P&gt;order by 1, 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's also mention of it in TableComment and ColumnComment, and in the View section - you can use the 'Find in Items' tool on the toolbar to find references to MS_Description.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Nov 2015 21:05:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431877#M4249167</guid>
      <dc:creator>GeorgeMcGeachie</dc:creator>
      <dc:date>2015-11-22T21:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Engineering PowerDesigner 16.5 - SQLServer 2012 tables Extended Properties</title>
      <link>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431878#M4249168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you George for your answer and your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will have a look at it today, and will try to configure the reverse engineering the way you described.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will send you an update with the results I have obtained, whatever they are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your precious help. Have a good day!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thierry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 14:53:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reverse-engineering-powerdesigner-16-5-sqlserver-2012-tables-extended/qaa-p/11431878#M4249168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-25T14:53:08Z</dc:date>
    </item>
  </channel>
</rss>

