How To Create an ArcSDE Spatial View With an Outer Join

by James July 16, 2009

Overview

ArcSDE Spatial Views are a useful tool for organizing information from multiple feature classes and geodatabase tables into a single “virtual feature class” or table at the database level. Similar to a database view, they allow administrators to join commonly used information so that the users do not need to perform the same actions repeatedly in a client (in this case, ArcMap).

Spatial Views are created with the “sdetable –o create_view …” command. When creating a Spatial View in this manner, the default join type is INNER JOIN. This fact cannot be altered via the command line syntax. INNER JOIN is the most restrictive join type and only records that match on both sides of the join will be in the resulting view. But once a default INNER JOIN Spatial View has been created, the join type can be changed after the fact either with the ALTER VIEW SQL statement, or through a database administration tool.

This article demonstrates how to create a Spatial View and then change the join type using SQL Server Management Studio. The same principles can be applied to other databases using whatever management tool you have available. More...

Tags: ,

ArcSDE | How To | Planet GS

Powered by BlogEngine.NET 1.6.0.0
Theme by Mads Kristensen | Modified by Mooglegiant
Creative Commons License This work is licensed under a Creative Commons Attribution 3.0 United States License.

Welcome

El Capitan State Park
My name is James Richards. Over the past few years, I have benefited greatly from other people's technical blogs. Now I'd like to give back to the community. I'm particularly excited about developments in the so called "GeoWeb". As I learn things about programming in this area, I will share them with you. I hope you'll find something of value for whatever you're trying to accomplish in work and in life.