This blog show how to alter an existing view in sql using the query analyser
Syntax:
ALTER VIEW schemaname.viewname ( Columns)
WITH [ ENCRYPTION ] [ SCHEMABINDING ] [ VIEW_METADATA ]
AS selectStatement
GO
Example:
ALTER VIEW dbo.vemptable
AS
SELECT Empname, Empsal, Empstate from emptable
GO
SQL Server Transact Basic to Expert - Create to alter an existing view
SQL Server Transact Basic to Expert - Create to alter an existing view


Join the conversation! Your thoughts help the community grow.