t sql delete view if exists

Solutions on MaxInterview for t sql delete view if exists by the best coders in the world

showing results for - "t sql delete view if exists"
Aarón
11 Jan 2021
1if exists(select 1 from sys.views where name='tst' and type='v')
2drop view tst;
3go
4
5create view tst
6as
7select * from test