Cara memeriksa apakah ada tampilan di SQL Server

IF NOT EXISTS(SELECT 1 FROM sys.views WHERE Name='vwBetLeg')
BEGIN
	SELECT 'View exists...';
END
Fortune Mbulazi