Ok, I am trying to create the stub of a spatial view in 9.3.1 ArcSDE running on top of SQL2008 using the GEOMETRY option versus the SDEBINARY.
So I can run this command:
sdetable -o create_view -T v_Parcels -t "PARCEL" -c "PARCEL.OBJECTID,PARCEL.POLYID" -i 5151 -s DEVGISSQL -u <username> -p <password>
This will create a view just fine, so I know I am talking to the SDE Engine and SQL Server just fine.
But if I try to add the SHAPE field like this:
sdetable -o create_view -T v_Parcels -t "PARCEL" -c "PARCEL.OBJECTID,PARCEL.POLYID,PARCEL.SHAPE" -i 5151 -s DEVGISSQL -u <username> -p <password>
I get a 'Error: Invalid entity type (-29).' with the error unable to create view v_Parcels.
Is there some switch I am missing? Or am I not able to create a view like this because I am using SQL2008 with MSGeometry?
I can create a view no problem using the SDE objects, but we want to access our data from more than just ESRI.
Any thoughts?