📜  sql drop view if exists - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:55.761000             🧑  作者: Mango

代码示例2
if exists(select 1 from sys.views where name='tst' and type='v')
drop view tst;
go

create view tst
as
select * from test