<?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 Add a non modeled Numbering Sequence in MS SQL in Windchill</title>
    <link>https://community.ptc.com/t5/Windchill/Add-a-non-modeled-Numbering-Sequence-in-MS-SQL/m-p/18224#M2073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am configuring a numbering sequence to begin at 10000000 and increment by 1 in SQL. So far I followed the clear steps in the Windchill Customization Guide with no success. If anyone has configured this customization successfully please share.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Here's what I have done.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I created the sql file create_DMT_sequence.sql with the following content in the Windchill\db\sqlServer&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;CREATE TABLE &lt;STRONG&gt;wt_sequence_DMT&lt;/STRONG&gt; (dummy CHAR(1),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;value BIGINT&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;IDENTITY(10000000,1))&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;go&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;CREATE PROCEDURE wt_get_next_sequence_DMT&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;AS&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;INSERT wt_sequence_DMT (dummy) VALUES ('x')&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;RETURN SCOPE_IDENTITY()&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;go&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;And ran the command:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;e:\ptc\Windchill_9.1\Windchill\db\sqlServer&amp;gt;\ptc\Windchill_9.1\Windchill\db\exec&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;ute_sql_script.bat create_DMT_sequence.sql&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;e:\ptc\Windchill_9.1\Windchill\db\sqlServer&amp;gt;echo off&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Connected: datastore=Microsoft SQL Server(Microsoft SQL Server Yukon - 9.00.1399&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;) jdbcVersion=♥. driver=SQLServer(3.70.0 (029604.012900.017403)) driverVersion=&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;♥.F&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;create_DMT_sequence.sql..&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Warnings: 0&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; Errors: 0&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;DONE&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I added the sequence name"DMT" in the OIR. Created a new part in Pro-E, the file name prt0001 was inserted, which tells me it is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2018 16:47:52 GMT</pubDate>
    <dc:creator>rserhan</dc:creator>
    <dc:date>2018-05-02T16:47:52Z</dc:date>
    <item>
      <title>Add a non modeled Numbering Sequence in MS SQL</title>
      <link>https://community.ptc.com/t5/Windchill/Add-a-non-modeled-Numbering-Sequence-in-MS-SQL/m-p/18224#M2073</link>
      <description>I am configuring a numbering sequence to begin at 10000000 and increment by 1 in SQL. So far I followed the clear steps in the Windchill Customization Guide with no success. If anyone has configured this customization successfully please share.Here's what I have done.I created</description>
      <pubDate>Wed, 02 May 2018 16:47:52 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Add-a-non-modeled-Numbering-Sequence-in-MS-SQL/m-p/18224#M2073</guid>
      <dc:creator>rserhan</dc:creator>
      <dc:date>2018-05-02T16:47:52Z</dc:date>
    </item>
  </channel>
</rss>

