SQL VIEW Unsupported Data Type

12,287

Check out this bug report - http://connect.microsoft.com/SQLServer/feedback/details/464339/unsupported-data-type-reported-for-supported-data-types-in-nested-query

It appears to be a long standing issue from SQL 2005 which they still havent fixed.

The work around appears to be to not work with your view in design mode, you will have to develop this view manually in query analyzer.

Share:
12,287

Related videos on Youtube

user1842828
Author by

user1842828

Updated on June 14, 2022

Comments

  • user1842828
    user1842828 about 2 years

    I'm trying to create a SQL View that pulls 2 tables together each from a different DB. The SQL works fine in the query editor but when I try to run it as a view all the columns from the MSP_EpmProject table say "Unsupported DataType".

    SELECT     TOP (200) dbo.Project.ProjectID, dbo.Project.ProjectGUID, dbo.Project.ProjectName, dbo.Project.DefaultBaselineID, 
                          FMM_ProjectServer_Reporting.dbo.MSP_EpmProject.ProjectName AS Expr1
    FROM         dbo.Project INNER JOIN
                          FMM_ProjectServer_Reporting.dbo.MSP_EpmProject ON dbo.Project.ProjectGUID = FMM_ProjectServer_Reporting.dbo.MSP_EpmProject.ProjectUID