-- Collection of code snippets by Arne Vajhøj 
-- (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
set quoted_identifier on
go
set arithabort on
go
select * from t1
go
create view v1 with schemabinding as select f1,f2 from dbo.t1
go
select * from v1
go
create unique clustered index ixv1f1 on v1(f1)
go
select * from v1
go
drop view v1
go
