'sdetable -o describe' output for the 'M' table
Table counties_map_status_data:
Column name Attribute type Null? Length,DPs RowID Column?
-------------------------------------------------------------------------------
OBJECTID SE_INT32 NOT NULL 10
ST_NAME SE_STRING NULL 30
CNTY_NAME SE_STRING NULL 30
STCNTY SE_STRING NULL 6
AGMT_TYPE SE_STRING NULL 3
INCOMPLETE_LEGAL SE_FLOAT64 NULL 38,10
ARCMAP_REQUESTED SE_FLOAT64 NULL 38,10
UPDATE_REQUESTED SE_FLOAT64 NULL 38,10
NEEDS_REVIEW SE_FLOAT64 NULL 38,10
POLYGEN_ERROR_GENERAL SE_FLOAT64 NULL 38,10
POLYGEN_ERROR_NO_GRID SE_FLOAT64 NULL 38,10
POLYGEN_ERROR_NO_LEGAL SE_FLOAT64 NULL 38,10
POLYGEN_ERROR_NO_LOT SE_FLOAT64 NULL 38,10
'sdetable -o describe' output for the '1' table
Table counties_tobin:
Column name Attribute type Null? Length,DPs RowID Column?
-------------------------------------------------------------------------------
OBJECTID SE_INT32 NOT NULL 10 SDE Set
SNAME SE_NSTRING NULL 20
CNAME SE_NSTRING NULL 40
STATE SE_INT16 NULL 2
COUNTY SE_INT16 NULL 3
CLASS SE_INT16 NULL 2
TYPE SE_INT16 NULL 2
STCTY SE_INT32 NULL 5
MODDATE SE_DATE NULL 0
SHAPE SE_SHAPE NULL 0
'sdelayer -o describe_long' output for the feature class
ArcSDE 9.3.1 for Oracle10g Build 1632 Thu Feb 26 12:05:37 2009
Layer Administration Utility
-----------------------------------------------------
Layer Description ....: <None>
Table Owner ..........: BOUNDARY
Table Name ...........: COUNTIES_TOBIN
Spatial Column .......: SHAPE
Layer Id .............: 3060
SRID .................: 329
Minimum Shape Id .....: 1
Offset ...............:
falsex: -400.000000
falsey: -400.000000
System Units .........: 1000000000.000000
Z Offset..............: 0.000000
Z Units ..............: 1.000000
Measure Offset .......: <None>
Measure Units ........: <None>
XY Cluster Tolerance .: 0.000000008983
Spatial Index ........:
parameter: SPIDX_GRID,GRID0=3.3,FULL
exist: Yes
array form: 3.3,0,0
Layer Envelope .......:
minx: -179.22783, miny: 24.54290
maxx: -66.88582, maxy: 71.46868
Entities .............: nac+
Layer Type ...........: SDE-LOB
Creation Date ........: 09/24/10 16:11:28
I/O Mode .............: NORMAL
Autolocking ..........: Enabled
Precision.............: High
User Privileges ......: SELECT, UPDATE, INSERT, DELETE
Coordinate System ....: GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
Layer Configuration ..: GIS_DATA_BLOB
'sdelayer -o describe_long' output for the view
ArcSDE 9.3.1 for Oracle10g Build 1632 Thu Feb 26 12:05:37 2009
Layer Administration Utility
-----------------------------------------------------
Layer Description ....: <None>
Table Owner ..........: LEASE
Table Name ...........: COUNTIES_MAP_STATUS_VW
Spatial Column .......: SHAPE
Layer Id .............: 3176
SRID .................: 329
Minimum Shape Id .....: 1
Offset ...............:
falsex: -400.000000
falsey: -400.000000
System Units .........: 1000000000.000000
Z Offset..............: 0.000000
Z Units ..............: 1.000000
Measure Offset .......: <None>
Measure Units ........: <None>
XY Cluster Tolerance .: 0.000000008983
Spatial Index ........:
parameter: SPIDX_GRID,GRID0=3.3,FULL
exist: Yes
array form: 3.3,0,0
Layer Envelope .......:
minx: -179.22783, miny: 24.54290
maxx: -66.88582, maxy: 71.46868
Entities .............: nac+
Layer Type ...........: SDE-LOB
Creation Date ........: 11/02/10 09:24:56
I/O Mode .............: NORMAL
Autolocking ..........: Enabled
Precision.............: High
User Privileges ......: SELECT
Coordinate System ....: GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
Layer Configuration ..: GIS_DATA_BLOB
I'm using a script to create the view (see below), which I have used to recreate the view many times.
set SDESERVER=ftwuxsdetst
set SDEINSTANCE=5154
set SDEUSER=BOUNDARY
set SDEPASS=%1
REM## The owner of the schema containing the view must have the privileges
REM## necessary to either select, insert, update, or delete rows from all the
REM## tables or views on which the view is based that are not in the same schema.
REM## The owner must be granted these privileges directly, rather than through a
REM## role. Also, the grant needs to include the WITH GRANT option (the -I
REM## parameter in SDE syntax).
sdetable -o grant -t COUNTIES_TOBIN -I -U LEASE -A SELECT -s %SDESERVER% -i %SDEINSTANCE% -u %SDEUSER% -p %SDEPASS%
REM## Change user to LEASE
set SDEUSER=lease
set SDEPASS=%2
REM## Delete the view if it exists
sdetable -o delete -t COUNTIES_MAP_STATUS_VW -s %SDESERVER% -i %SDEINSTANCE% -u %SDEUSER% -p %SDEPASS% -N
REM## Create map status view
sdetable -o create_view -T COUNTIES_MAP_STATUS_VW -t "BOUNDARY.COUNTIES_TOBIN c ,COUNTIES_MAP_STATUS_DATA d" -c
d.OBJECTID,d.ST_NAME,d.CNTY_NAME,d.STCNTY,d.AGMT_TYPE,d.INCOMPLETE_LEGAL,d.ARCMAP_REQUESTED,d.UPDATE_REQUESTED,d.NEEDS_REVIEW,d.POLYGEN_ERROR_GENERAL,d.POLYG
EN_ERROR_NO_GRID,d.POLYGEN_ERROR_NO_LEGAL,d.POLYGEN_ERROR_NO_LOT,c.SHAPE -w "c.STCTY=d.STCNTY" -s %SDESERVER% -i %SDEINSTANCE% -u %SDEUSER% -p %SDEPASS%
REM## Grant SELECT on the new views to LAND_USER
sdetable -o grant -t COUNTIES_MAP_STATUS_VW -U LAND_USER -A SELECT -s %SDESERVER% -i %SDEINSTANCE% -u %SDEUSER% -p %SDEPASS%
Do you think our Oracle version is the cause of our issue?