在 Oracle 中,我可以用一条语句重新创建一个视图,如下所示:
CREATE OR REPLACE VIEW MY_VIEW AS
SELECT SOME_FIELD
FROM SOME_TABLE
WHERE SOME_CONDITIONS
As the syntax implies, this will drop the old view and re-create it with whatever definition I've given.
在 MSSQL (SQLServer2005或更高版本)中是否有等效的方法来做同样的事情?