This SQL statement type cannot be used in a view.

A view definition must be a SELECT statement (rather than an INSERT, UPDATE, DELETE, or CREATE TABLE statement). Alter the view definition accordingly.

See Also

Concepts

Error Messages in Visual Database Tools

Help and Information

Getting SQL Server 2005 Assistance