Geoprocessing a Database View

497
0
11-01-2012 05:19 AM
MortenHjelmsmark
New Contributor II
Thanks for the CreateDatabaseView_management tool, creating sde view's is now quite easy.

But how can I use the view in my script tools?

If I work in ArcMAP I'm asked to identify the OID column, which then enables further use.

How do I avoid getting the ERROR 000339 (view has no OID column) in my script tool? I need to make a selectbylocation..
My tool workes in 10 with view's created with the sdetable create_view command.

Is there a solution or do I have to go back to SDE commands?
0 Kudos
0 Replies