USE [GDB_ANR_DDEV] GO /****** Object: View [ANR_Admin].[ANRL_UVAInspectionsDue] Script Date: 9/12/2013 7:26:31 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER VIEW [ANR_Admin].[ANRL_UVAInspectionsDue] AS SELECT a.PSPAN, yearoflastinspection as [Year Of Last Inspection] FROM [ANR_Admin].[CADASTRAL_UVAEDIT_POLY] as a INNER JOIN lands.dbo.[anrvw_InspectionsDue] as b ON a.PSPAN = b.SPAN
Perhaps this has been solved on a different thread by now, but I hit this while I was searching yesterday. The problem in my case, and likely in the example at the top of the thread, is the aliasing of the fields in the view. Spaces, symbols and reserved words cannot be used to alias the fields. In the example above, spaces are used. In my case, I was using symbols, and also had one field aliased as [Percent], a reserved word. I ran a test with spaces, and it failed, too. Once I changed the symbols to underscores and the reserved word to [Pct], it worked just fine.
The funny thing is that even though no rows are returned in the table view in ArcMap, the columns are aliased as specified in the view, so it is not readily apparent that the alias is the problem. This is still a problem at 10.3.
You just helped me fix a problem I have been working on all week. I had spaces in my field aliases and it was causing the exact same issues you described. I could see the column names but no data.