<?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 Is the key to OBJECT flags somewhere on the documentation. in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/is-the-key-to-object-flags-somewhere-on-the/m-p/191828#M10860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to find what each of the codes for the OBJECT_FLAGS column in the COLUMN REGISTRY table mean.&amp;nbsp;&amp;nbsp; The documentiation does not seem to have the codes it only states the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores the column properties, which include the following: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has a row ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Row ID column controlled by ArcSDE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Allows NULLs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores Oracle LONG RAW data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores BLOB data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores CLOB data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores ST_Geometry geometry data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores binary geometry data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores user-defined type geometry data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores Oracle LOB geometry data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores binary raster data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores user-defined type raster data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores XML data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores dates&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores time&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores a timestamp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores a Unicode string&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But where can I find a key to the codes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is greatly appreaciated.&amp;nbsp; Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2011 19:10:37 GMT</pubDate>
    <dc:creator>OvidioRivero</dc:creator>
    <dc:date>2011-04-04T19:10:37Z</dc:date>
    <item>
      <title>Is the key to OBJECT flags somewhere on the documentation.</title>
      <link>https://community.esri.com/t5/data-management-questions/is-the-key-to-object-flags-somewhere-on-the/m-p/191828#M10860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to find what each of the codes for the OBJECT_FLAGS column in the COLUMN REGISTRY table mean.&amp;nbsp;&amp;nbsp; The documentiation does not seem to have the codes it only states the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores the column properties, which include the following: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has a row ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Row ID column controlled by ArcSDE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Allows NULLs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores Oracle LONG RAW data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores BLOB data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores CLOB data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores ST_Geometry geometry data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores binary geometry data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores user-defined type geometry data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores Oracle LOB geometry data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores binary raster data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores user-defined type raster data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores XML data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores dates&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores time&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores a timestamp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stores a Unicode string&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But where can I find a key to the codes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is greatly appreaciated.&amp;nbsp; Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 19:10:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/is-the-key-to-object-flags-somewhere-on-the/m-p/191828#M10860</guid>
      <dc:creator>OvidioRivero</dc:creator>
      <dc:date>2011-04-04T19:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is the key to OBJECT flags somewhere on the documentation.</title>
      <link>https://community.esri.com/t5/data-management-questions/is-the-key-to-object-flags-somewhere-on-the/m-p/191829#M10861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I doubt the bit masks in OBJECT_FLAGS are meant for public consumption.&amp;nbsp; I know the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;meaning of the LAYERS flags have evolved over time, so you'd be setting yourself up&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for a nasty case of "I just upgraded and my app no longer works".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 20:08:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/is-the-key-to-object-flags-somewhere-on-the/m-p/191829#M10861</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-04-04T20:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is the key to OBJECT flags somewhere on the documentation.</title>
      <link>https://community.esri.com/t5/data-management-questions/is-the-key-to-object-flags-somewhere-on-the/m-p/191830#M10862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There would not be programmers without tweaking and prodding into applications and databases... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll stay off that table as you recommend.&amp;nbsp; Then I have to ask another question. I have a large feature class where I want to remove a not null constraint. This is very easy to do at the database level. Can we somehow do it in ArcSDE or do it in the database and make ArcSDE see it?&amp;nbsp;&amp;nbsp; I am trying to avoid reloading all the data only to accomodate a small subset.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 12:42:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/is-the-key-to-object-flags-somewhere-on-the/m-p/191830#M10862</guid>
      <dc:creator>OvidioRivero</dc:creator>
      <dc:date>2011-04-05T12:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is the key to OBJECT flags somewhere on the documentation.</title>
      <link>https://community.esri.com/t5/data-management-questions/is-the-key-to-object-flags-somewhere-on-the/m-p/191831#M10863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tweak and prod at will.&amp;nbsp; Just keep in mind that bitmasks are the most likely means of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;implementing subtle changes in behavior between releases, and are therefore least&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;likely to be reverse-engineered safely.&amp;nbsp; Read-only is the safest use of a bitmask, but is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;still not without risk (mostly errors of omission).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are three ways to access spatial data through ArcGIS:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+ Via ArcObjects&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+ Via the ArcSDE API&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+ Via SQL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcObjects uses ArcSDE uses SQL, so the safest way to manipulate database objects&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;registered with ArcGIS is AO.&amp;nbsp; Simple feature classes which are only registered with &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE are safe to manipulated with ArcSDE, and databse objects which have not been&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;registered with ArcSDE are safe to be manipulated with SQL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nothing in the ArcSDE data model addresses constraints, but ALLOWS NULL/NOT NULL is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a fundamental column property.&amp;nbsp; Both the ArcSDE API and the 'sdetable' command allow&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alteration of the allows_null property.&amp;nbsp; If the table is registered with ArcGIS I'd recommend&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;using ArcGIS to make the change, otherwise 'sdetable -o alter_column -x ALLOW_NULLS -t ...'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;will make sure that ArcSDE sets the correct bitmask in the columns table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Altering tables through database interfaces is a common part of spatial database &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;maintenance, though some alterations are riskier than others (especially with regard &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to versioned tables).&amp;nbsp; Since, in the end, most of ArcSDE is implemented as SQL, most &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;anything you break can be fixed again (just make sure you have a verified backup/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;recovery procedure and a fresh snapshot before you venture into unsupported realms).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is also important to keep causality in mind -- changing the bitmask flag which &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;indicates a column's 'allows_null' property does not change the target column's&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;null behavoir in the database.&amp;nbsp; This option should only be pursued if an 'sdetable&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-o describe' as the owner reflects different information than a DESCRIBE does&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(and it still might not alter ArcGIS's interpretation of the same column).&amp;nbsp; The few&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;times I've needed to hack the column registry, I usually wound up reloading the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;table anyway, making it a moot exercise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 14:28:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/is-the-key-to-object-flags-somewhere-on-the/m-p/191831#M10863</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-04-05T14:28:00Z</dc:date>
    </item>
  </channel>
</rss>

