Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!
create table dbo.tTest(id int identity(1,1), LastName varchar(80) COLLATE Latin1_General_BIN, FirstName varchar(80) COLLATE Latin1_General_BIN) GO create unique clustered index tx0 on dbo.tTest(id) GO insert into dbo.tTest select 'Doe','John' insert into dbo.tTest select 'Doe','Jane' insert into dbo.tTest select 'Bach','Hellen' insert into dbo.tTest select 'Smith','Jane' insert into dbo.tTest select 'Smith','Mike' insert into dbo.tTest select 'Jones','Mike' GO create view dbo.vTest WITH SCHEMABINDING as select id, (LastName COLLATE SQL_Latin1_General_CP1_CI_AS) as LastName, (FirstName COLLATE SQL_Latin1_General_CP1_CI_AS) as FirstName from dbo.tTest GO create unique clustered index vx0 on dbo.vTest(id) GO create unique index vx1 on dbo.vTest(LastName,FirstName,id) GO select id, FirstName, LastName from dbo.vTest -- with (index=vx1) where LastName = 'BACH' GO -- drop view dbo.vTest -- truncate table dbo.tTest -- drop table dbo.tTest GO
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.