<?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 Converting GDB to SQL, drawing error in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/converting-gdb-to-sql-drawing-error/m-p/317068#M3342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm working on converting the template gdb to our sql server.&amp;nbsp; I had no problem tranfering the schema and data via the XML conversion, but I do have a problem with the RoadCenterline layer in the template mxd. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error I get is in the ArcMap Drawing Errors window:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Underlying DBMS error [Micorsoft SQL Server Native Client 10.0:'CHAR_LENGTH' is not a recognized built-in function name.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[-feature name-]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts?&amp;nbsp; I've looked at the schema and all of the attributes for the RoadCenterlines layer and cannot find anything that says 'CHAR_LENGTH' anywhere.&amp;nbsp; I'm assuming it has to do with the difference between the File GDB and the SQL GDB.&amp;nbsp; The roads are still drawing and labeling, so I do not even know what is really going wrong with this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jul 2011 11:08:52 GMT</pubDate>
    <dc:creator>ScottSnider</dc:creator>
    <dc:date>2011-07-25T11:08:52Z</dc:date>
    <item>
      <title>Converting GDB to SQL, drawing error</title>
      <link>https://community.esri.com/t5/mapping-questions/converting-gdb-to-sql-drawing-error/m-p/317068#M3342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm working on converting the template gdb to our sql server.&amp;nbsp; I had no problem tranfering the schema and data via the XML conversion, but I do have a problem with the RoadCenterline layer in the template mxd. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error I get is in the ArcMap Drawing Errors window:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Underlying DBMS error [Micorsoft SQL Server Native Client 10.0:'CHAR_LENGTH' is not a recognized built-in function name.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[-feature name-]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts?&amp;nbsp; I've looked at the schema and all of the attributes for the RoadCenterlines layer and cannot find anything that says 'CHAR_LENGTH' anywhere.&amp;nbsp; I'm assuming it has to do with the difference between the File GDB and the SQL GDB.&amp;nbsp; The roads are still drawing and labeling, so I do not even know what is really going wrong with this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 11:08:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/converting-gdb-to-sql-drawing-error/m-p/317068#M3342</guid>
      <dc:creator>ScottSnider</dc:creator>
      <dc:date>2011-07-25T11:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Converting GDB to SQL, drawing error</title>
      <link>https://community.esri.com/t5/mapping-questions/converting-gdb-to-sql-drawing-error/m-p/317069#M3343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;CHAR_LENGTH is a SQL Function that is being used in the SQL query for most of the RoadCenterline label classes that include road shields.&amp;nbsp; These label classes and their associated SQL queries are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Interstate_Shield - "RoadClass"&amp;nbsp; IN (1 , 2) AND "HIGHWAYTYPE" = 1 AND CHAR_LENGTH ( "HWY" ) &amp;lt; 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;US Highway_Shield - "RoadClass"&amp;nbsp; IN (1 , 2&amp;nbsp; ) AND "HIGHWAYTYPE" = 2 AND CHAR_LENGTH ( "HWY" ) &amp;lt; 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;State Highway_Shield - "RoadClass"&amp;nbsp; IN (1 , 2&amp;nbsp; ) AND "HIGHWAYTYPE" = 3&amp;nbsp; AND CHAR_LENGTH ( "HWY" ) &amp;lt; 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Interstate_WideShield - "RoadClass"&amp;nbsp; IN (1 , 2) AND "HIGHWAYTYPE" = 1 AND CHAR_LENGTH ( "HWY" ) &amp;gt;= 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;US Highway_WideShield - "RoadClass"&amp;nbsp; IN (1 , 2) AND "HIGHWAYTYPE" = 2 AND CHAR_LENGTH ( "HWY" ) &amp;gt;= 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;State Highway_WideShield - "RoadClass"&amp;nbsp; IN (1 , 2) AND "HIGHWAYTYPE" = 3 AND CHAR_LENGTH ( "HWY" ) &amp;gt;= 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These queries control the shield symbol that will be used for various route numbers.&amp;nbsp; Any route numbers that are less than 3 characters will use the smaller shields and any that are 3 or more characters will use the wide shields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can find the Label classes and SQL queries in the Label properties tab.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if you need any other information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Kate&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 20:07:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/converting-gdb-to-sql-drawing-error/m-p/317069#M3343</guid>
      <dc:creator>KateBorland</dc:creator>
      <dc:date>2011-07-26T20:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Converting GDB to SQL, drawing error</title>
      <link>https://community.esri.com/t5/mapping-questions/converting-gdb-to-sql-drawing-error/m-p/317070#M3344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perfect, thank you very much!!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For documentation's sake:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I went through each map level and checked the SQL Queries for all of the Classes w/ the name "Shield" in them.&amp;nbsp; I Changed the "CHAR_LENGTH" statement to "LEN" and that fixed the problem.&amp;nbsp; Now I see that I was missing highway shields!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 12:40:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/converting-gdb-to-sql-drawing-error/m-p/317070#M3344</guid>
      <dc:creator>ScottSnider</dc:creator>
      <dc:date>2011-08-09T12:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Converting GDB to SQL, drawing error</title>
      <link>https://community.esri.com/t5/mapping-questions/converting-gdb-to-sql-drawing-error/m-p/317071#M3345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm working on converting the template gdb to our sql server.&amp;nbsp; I had no problem tranfering the schema and data via the XML conversion, but I do have a problem with the RoadCenterline layer in the template mxd. &lt;BR /&gt;&lt;BR /&gt;The error I get is in the ArcMap Drawing Errors window:&lt;BR /&gt;"Underlying DBMS error [Micorsoft SQL Server Native Client 10.0:'CHAR_LENGTH' is not a recognized built-in function name.]&lt;BR /&gt;[-feature name-]&lt;BR /&gt;&lt;BR /&gt;Any thoughts?&amp;nbsp; I've looked at the schema and all of the attributes for the RoadCenterlines layer and cannot find anything that says 'CHAR_LENGTH' anywhere.&amp;nbsp; I'm assuming it has to do with the difference between the File GDB and the SQL GDB.&amp;nbsp; The roads are still drawing and labeling, so I do not even know what is really going wrong with this error.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Scott&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks you for the post.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 02:12:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/converting-gdb-to-sql-drawing-error/m-p/317071#M3345</guid>
      <dc:creator>SeikiAlice</dc:creator>
      <dc:date>2011-11-28T02:12:22Z</dc:date>
    </item>
  </channel>
</rss>

