PASS Treffen der Regionalgruppe Karlsruhe, Februar 2016
Speaker: Sascha Götz, inovex GmbH
Weitere Tech-Vorträge: https://www.inovex.de/de/content-pool/vortraege
4. 4
‣ Row-Level Security
SQL Server 2016 CTP 3
Relationale Engine
ID Name Territroy_ID
1 BMW 1
2 VW 1
3 GM 2
Territory Customer Sales
User2Territory
ID Name
1 Europe
2 North America
Customer_ID Amount
1 500
2 12500
3 499
User
ID Name DomainLogin
1 Hans DomainHans
2 Otto DomainOtto
User_ID Territory_ID
1 1
1 2
2 2
5. 5
‣ Row Level Security
SQL Server 2016 CTP 3
Relationale Engine
CREATE SECURITY POLICY [Security].[TerritoryPolicy]
ADD FILTERPREDICATE [Security].[TerritorySecurity](TerritoryID) ON Sales.CustomerPII,
ADD BLOCKPREDICATE [Security].[TerritorySecurity](TerritoryID) ON Sales.CustomerPII
CREATE FUNCTION Security.TerritorySecurity(@TerritoryID int)
RETURNS TABLE
WITH SCHEMABINDING
AS
RETURN
SELECT 1 AS accessResult
FROM [dbo].[User] U
INNER JOIN [dbo].[User2Territory] U2T ON U.[UserID] = U2T.[UserID]
WHERE U.[Login] = CURRENT_USER
ANDU2T.TerritorID = @TerritoryID
7. 7
‣ Data Masking
‣ Maskieren von sensitiven Daten
‣ Mask zu einer Spalte hinzufügen
SQL Server 2016 CTP 3
Relationale Engine
ALTER TABLE Sales.CustomerPII
ALTER COLUMN EmailAddress ADD MASKED WITH
(FUNCTION = 'email()')
9. 9
‣ JSON Support
‣ FOR JSON PATH
Eine Zeile in JSON für jede Zeile
im SQL Resultset
‣ FOR JSON AUTO
Nested JSON Tree
SQL Server 2016 CTP 3
Relationale Engine
10. 10
‣ OPENSJON
SELECT *
FROM OPENJSON (dbo.QueryToJSon())
WITH (
[FirstName] nvarchar(50),
[LastName] nvarchar(50),
[EnglishProductName] nvarchar(50),
[ExtendedAmount] money
)
SQL Server 2016 CTP 3
Relationale Engine
26. 26
‣ HTML5 Renderer
‣ Microsoft Internet Explorer 11 & 10 / Microsoft Edge
‣ Google Chrome
‣ Mozilla Firefox
‣ Apple Safari
‣ Neue Charts: Tree Map & Sunburst
SQL Server 2016 CTP 3 – BI Tools
Reporting Services
27. 27
‣ Active X Printing ersetzt durch PDF Printing – Kein Plugin mehr notwenig!
SQL Server 2016 CTP 3 – BI Tools
Reporting Services
28. 28
‣ Neues Feature: Export to PowerPoint
SQL Server 2016 CTP 3 – BI Tools
Reporting Services
29. 29
‣ Customize Report Parameter Pane (nur Visual Studio!)
SQL Server 2016 CTP 3 – BI Tools
Reporting Services
30. 30
‣ Report Builder aufgehübscht
SQL Server 2016 CTP 3 – BI Tools
Reporting Services
32. 32
Vielen Dank für Ihre Aufmerksamkeit
Kontakt
Sascha Götz
Business Intelligence Consultant
inovex GmbH
Ludwig-Erhard-Allee 6
76133 Karlsruhe
Mobil: 0173 3181115
Mail: sgoetz@inovex.de