View definition includes no output columns or no items in the FROM clause.

A view definition must have at least one table or table-structured object in the FROM clause, and must have at least one column in the select list. The view definition is missing one or both. Modify the view definition accordingly.

The following example is a simple view definition. The select list contains four columns and the FROM clause references two tables.

CREATE VIEW hiredate_view
AS 
SELECT c.FirstName, c.LastName, e.EmployeeID, e.HireDate
FROM HumanResources.Employee AS e 
JOIN Person.Contact c on e.ContactID = c.ContactID;

See Also

Concepts

Error Messages in Visual Database Tools

Other Resources

CREATE VIEW (Transact-SQL)
How to: Create Views (Visual Database Tools)
Understanding Views

Help and Information

Getting SQL Server 2005 Assistance