Four New Table Level Security Features of SQL Server Karen Lopez, Data Evangelist & Architect

Size: px
Start display at page:

Download "Four New Table Level Security Features of SQL Server Karen Lopez, Data Evangelist & Architect"

Transcription

1 Four New Table Level Security Features of SQL Server 2016 Karen Lopez, Data Evangelist & Architect

2 Karen López Data Evangelist Karen was born this way: loving data. She wants you to love your data, too,, as part of TeamData. She specializes in database design, architecture, and data modeling for SQL Server and other engines, including NoSQL solutions. She blogs at Linkedin.com/in/karenlopez Microsoft Data Platform MVP She is a chronic volunteer, frequent speaker, PASS Speaker Idol Judge, and Microsoft Imagine Cup Judge. She is also the leader of the PASS Toronto Data Platform User Group (@TorPASS) NASA Datanaut Mentor Karen is a mentor on the NASA Datanaut program, which helps new and established data professionals learn about NASA Open Data and technologies to gain insight into that data.

3

4 Every design decision comes down to cost, benefit and risk. - me

5 Security Features

6 Always Encrypted

7 Encryption BitLocker et al Nothing new until SQL 2016 SQL 2005 gave us celllevel encryption SQL 2008 gave us TDE

8 Security & Privacy SQL 2016 Cell level TDE Always Encrypted New! Data Masking* Row Level Security*

9 Security Always Encrypted How it works Enabled at column level Protects data at rest *AND* in memory Uses Column Master Key (client) and Column Encryption Key (server)

10 Security Always Encrypted

11 Always Encrypted

12

13 Security Always Encrypted Deterministic same value, same encryption. Must use binary2 collation order ALLOWED: Equality JOINs, Grouping Indexing Point lookups Randomized better security; cannot be indexed, many restrictions NOT ALLOWED: JOINs, Grouping Indexing Filtering Many constraints

14 Security Always Encrypted Not supported (partial list) text/ntext/image XML/hierarchyid/geography/geometry alias types/user-defined data types SQL_VARIANT rowversion (timestamp) System alias (SYSNAME) Computed columns* Identity columns Sparse column sets Temporal tables Triggers (partial support) Full text search Replication CDC In Memory OLTP Stretch database

15 Security Always Encrypted Foreign keys must match encryption types (key types & algorithms) Client code needs to support AE (currently this means.net 4.6)

16 Always Encrypted Wizard in SSMS Task -> Encrypt Columns

17 Insert / Query Example

18 Note: VIEW Permssions Default VIEW permissions for Encrypted Columns vary for SQL Server 2016 and Azure SQL Database: Public role defaults to grant VIEW permission in SQL Server 2016 Public role defaults to no VIEW permissions in SQL DB

19 Why would a DB Designer love it? Always Encrypted *Always* Encrypted, yeah. Allows designers to not only specify which columns need to be protected, but how. Parameters are encrypted as well Built in to the engine, easier for Devs

20 Row Level Security

21 Security Row Level Security

22 Security Row Level Security No indication that results have been filtered If all rows are filtered than NULL set returned For block predicates, an error returned Works even if you are dbo or db_owner role

23 Security Row Level Security Filtering result sets (predicate based access) Predicates applied when reading data Can be used to block write access User defined policies tied to inline table functions

24 Security Row Level Security DBCC SHOW_STATISTICS Not Allowed FILESTREAM Polybase Indexed views CDC nor change tracking

25 Row Level Security: Use Cases Departmental Segregation of Access Multi-Tenant Security Celebrity/VIP Snooping anyplace you want to use Predicate-based access controls. Customer Support Human Resources Accounting SaaS Websites Hospitals Tax Organizations Movie Rental WHERE clause based filtering

26 Warning SELECT 1/(SALARY ) FROM PAYROLL WHERE NAME='John Doe' Do the math here if John s salary is actually $100,000

27 Security Row Level Security Tips Recommended to create schema for RLS objects (predicate functions and security policies) Use ALTER ANY SECURITY POLICY permissions; this does not require SELECT on the columns Avoid type conversions in predicate functions to avoid runtime errors

28 Why would a DB Designer love it? Row Level Security You don t have hand-develop a solution There s a standard way to do this in your project SQL Server knows what these tables are and can optimize itself when it uses them.

29 Why would a DB Designer love it? Row Level Security Allows a designer to do this sort of data protection IN THE DATABASE, not just rely on code. Many, many pieces of code.

30 Privacy Feature

31 Privacy Dynamic Data Masking

32 Dynamic Data Masking limits exposure of sensitive data

33 Security Dynamic Data Masking CREATE TABLE Membership( MemberID int IDENTITY PRIMARY KEY, FirstName varchar(100) MASKED WITH (FUNCTION = 'partial(1,"xxxxxxx",0)') NULL, LastName varchar(100) NOT NULL, Phone# varchar(12) MASKED WITH (FUNCTION = 'default()') NULL, varchar(100) MASKED WITH (FUNCTION = ' ()') NULL); INSERT Membership (FirstName, LastName, Phone#, ) VALUES ('Roberto', 'Tamburello', ' ', 'RTamburello@contoso.com'), ('Janice', 'Galvin', ' ', 'JGalvin@contoso.com.co'), ('Zheng', 'Mu', ' ', 'ZMu@contoso.net');

34 Dynamic Data Masking How it works. Done at column level Data in the database, at rest, has no protection. It s not encryption Meant to complement other methods Performed at the end of a database query right before data returned, so Performance impact small

35 Security Dynamic Data Masking 4 functions available. today Default Custom String Random

36 DDM Functions Function Mask Example Default Based on Datatype String XXX Numbers Date & Times :00: Binary Single Byte 0 xxxx :00: First character of , then Xs, then.com Always.com Kxxx@xxxx.com Custom First and last values, with Xs in the middle kxxxn Random For numeric types, with a range 12

37 Security Dynamic Data Masking Data in database is not changed Ad-hoc queries *can* expose data Does not aim to absolutely prevent users from exposing pieces of sensitive data If you can query temp table, you can see unmasked data CAST can unmask data

38 Security Dynamic Data Masking Cannot mask an encrypted column (AE) Cannot be configured on computed column But if computed column depends on a mask, then mask is returned Using SELECT INTO or INSERT INTO results in masked data being inserted into target (also for import/export)

39 Warning.

40 Best Thing about DDM? Defining a: Standard Consistent Researched Recognized Architected Enterprise data privacy method

41 Why would a DB Designer love it? Dynamic Data Masking Allows central, reusable design for standard masking Offers more reliable masking and more usable masking Removes whining about we can do that later

42 Security & Privacy - Summary Key differences TDE AE DDM RLS Encryption Y Y N N Protect data in memory N Y N N Overhead Low High Low Low Block updates N N N Y

43 Security & Privacy - Summary Which ones are right for your project? Data quality? Data availability? Data recovery? Query performance? Legal requirements?

44 But wait there s more.

45 System Version Tables

46

47 Temporal Tables System-Versioned Temporal Tables ANSI SQL 2011 based Current data Access to historical data Point-in-time analysis Uses period columns

48

49 System Versioned Table: Temporal Table

50 Temporal Tables Current Data Previous Data

51 System Versioned Table: Temporal Table

52 System Versioned Table: Temporal Table Can be a type of informal auditing I prefer tracking Not a security feature Can be helpful to track changes to data in troubleshooting If you need security auditing, look to more robust solutions

53 Why would a DB Designer love it? System Versioned Tables Don t have hand-develop a solution, because that s really hard to do SQL Server knows what these tables are and can optimize itself when it uses them. There s a standard method for doing temporal / history tables.

54 Launch! Get out there to see which features can help you love your data better.

55 Karen López Linkedin.com/in/karenlopez Thank you! You ve all been great! Don t forget to thank the organizers and moderators! Yes, you should submit to speak next time.! toronto.sqlpass.org Join your local PASS user group Join PASS open.nasa.gov Reach out to learn about out of this world data and technologies.

56 THANK YOU FOR ATTENDING

57

SQL Server 2016 New Security Features. Gianluca Sartori

SQL Server 2016 New Security Features. Gianluca Sartori SQL Server 2016 New Security Features Gianluca Sartori Our Sponsors Gianluca Sartori Independent SQL Server consultant SQL Server MVP, MCTS, MCITP, MCT Works with SQL Server since version 7 DBA @ Scuderia

More information

Ooops, data breach? Not with Always Encrypted. Daniel de Sousa, BI Specialist, Dominos Pizza Enterprise Moderated By: Shane O'Neill

Ooops, data breach? Not with Always Encrypted. Daniel de Sousa, BI Specialist, Dominos Pizza Enterprise Moderated By: Shane O'Neill Ooops, data breach? Not with Always Encrypted Daniel de Sousa, BI Specialist, Dominos Pizza Enterprise Moderated By: Shane O'Neill Technical Assistance If you require assistance during the session, type

More information

Hacking SQL Server. André, Melancia, Developer/DBA, LunarCat.PT Moderated By: Jody Roberts

Hacking SQL Server. André, Melancia, Developer/DBA, LunarCat.PT Moderated By: Jody Roberts Hacking SQL Server André, Melancia, Developer/DBA, LunarCat.PT Moderated By: Jody Roberts Technical Assistance If you require assistance during the session, type your inquiry into the question pane on

More information

SQL Server 2014/2016 Enhancements for Developers. Wylie Blanchard Lead IT Consultant; SQL Server DBA

SQL Server 2014/2016 Enhancements for Developers. Wylie Blanchard Lead IT Consultant; SQL Server DBA SQL Server 2014/2016 Enhancements for Developers Wylie Blanchard Lead IT Consultant; SQL Server DBA About Great Tech Pros Great Tech Pros was founded in 2012 Specialties include: IT Consulting Database

More information

Securing SQL Server Processes with Certificates. Robert, Davis, Database Engineer, BlueMountain Capital Management Moderated By: Ivan Sanders

Securing SQL Server Processes with Certificates. Robert, Davis, Database Engineer, BlueMountain Capital Management Moderated By: Ivan Sanders Securing SQL Server Processes with Certificates Robert, Davis, Database Engineer, BlueMountain Capital Management Moderated By: Ivan Sanders Technical Assistance If you require assistance during the session,

More information

SQL Server 2016 Row-level security & Dynamic Data Masking. Goran Milanov MVP, MCP, MCSA, MCT, PSM-I

SQL Server 2016 Row-level security & Dynamic Data Masking. Goran Milanov MVP, MCP, MCSA, MCT, PSM-I SQL Server 2016 Row-level security & Dynamic Data Masking Goran Milanov MVP, MCP, MCSA, MCT, PSM-I gmilanov@live.com www.goranmilanov.rs SQL Server UG http://sqlserverugbg.azurewebsites.net/ unesite u

More information

Introducing Microsoft SQL Server Preview Edition Better Security. Stacia Varga, Denny Cherry, Joseph D Antoni

Introducing Microsoft SQL Server Preview Edition Better Security. Stacia Varga, Denny Cherry, Joseph D Antoni Introducing Microsoft SQL Server 2016 Preview Edition Better Security Stacia Varga, Denny Cherry, Joseph D Antoni This is a pre-release chapter of a forthcoming ebook entitled Microsoft SQL Server 2016:

More information

Technology Enhancements for SQL Server 2014/2016 Developers. Wylie Blanchard Lead IT Consultant; SQL Server DBA

Technology Enhancements for SQL Server 2014/2016 Developers. Wylie Blanchard Lead IT Consultant; SQL Server DBA Technology Enhancements for SQL Server 2014/2016 Developers Wylie Blanchard Lead IT Consultant; SQL Server DBA About Great Tech Pros Great Tech Pros was founded in 2012 Specialties include: IT Consulting

More information

6232B: Implementing a Microsoft SQL Server 2008 R2 Database

6232B: Implementing a Microsoft SQL Server 2008 R2 Database 6232B: Implementing a Microsoft SQL Server 2008 R2 Database Course Overview This instructor-led course is intended for Microsoft SQL Server database developers who are responsible for implementing a database

More information

New features in SQL Server 2016

New features in SQL Server 2016 New features in SQL Server 2016 Joydip Kanjilal Microsoft MVP (2007 till 2012), Author and Speaker Principal Architect (SenecaGlobal IT Services Private Limited) Agenda SQL Server 2016 Enhancements Improved

More information

Seven Awesome SQL Server Features

Seven Awesome SQL Server Features Seven Awesome SQL Server Features That You Can Use for Free Allison Benneth @SQLTran www.sqltran.org SQL Server Editions SQL2005 SQL2008 SQL2008R2 SQL2012 SQL2014 SQL2016 * Free starting with SQL Server

More information

MySQL Database Administrator Training NIIT, Gurgaon India 31 August-10 September 2015

MySQL Database Administrator Training NIIT, Gurgaon India 31 August-10 September 2015 MySQL Database Administrator Training Day 1: AGENDA Introduction to MySQL MySQL Overview MySQL Database Server Editions MySQL Products MySQL Services and Support MySQL Resources Example Databases MySQL

More information

ITS. MySQL for Database Administrators (40 Hours) (Exam code 1z0-883) (OCP My SQL DBA)

ITS. MySQL for Database Administrators (40 Hours) (Exam code 1z0-883) (OCP My SQL DBA) MySQL for Database Administrators (40 Hours) (Exam code 1z0-883) (OCP My SQL DBA) Prerequisites Have some experience with relational databases and SQL What will you learn? The MySQL for Database Administrators

More information

Sql Server 2005 Change Schema For All Tables

Sql Server 2005 Change Schema For All Tables Sql Server 2005 Change Schema For All Tables Associated with each securable are a set of permissions that we can grant to a From SQL Server 2005 onwards, every database object such as a procedure, view,

More information

70-459: Transition Your MCITP: Database Administrator 2008 or MCITP: Database Developer 2008 to MCSE: Data Platform

70-459: Transition Your MCITP: Database Administrator 2008 or MCITP: Database Developer 2008 to MCSE: Data Platform 70-459: Transition Your MCITP: Database Administrator 2008 or MCITP: Database Developer 2008 to MCSE: Data Platform The following tables show where changes to exam 70-459 have been made to include updates

More information

Many-to-Many One-to-One Limiting Values Summary

Many-to-Many One-to-One Limiting Values Summary page 1 Meet the expert: Andy Baron is a nationally recognized industry expert specializing in Visual Basic, Visual C#, ASP.NET, ADO.NET, SQL Server, and SQL Server Business Intelligence. He is an experienced

More information

20762B: DEVELOPING SQL DATABASES

20762B: DEVELOPING SQL DATABASES ABOUT THIS COURSE This five day instructor-led course provides students with the knowledge and skills to develop a Microsoft SQL Server 2016 database. The course focuses on teaching individuals how to

More information

ColumnStore Indexes UNIQUE and NOT DULL

ColumnStore Indexes UNIQUE and NOT DULL Agenda ColumnStore Indexes About me The Basics Key Characteristics DEMO SQL Server 2014 ColumnStore indexes DEMO Best Practices Data Types Restrictions SQL Server 2016+ ColumnStore indexes Gareth Swanepoel

More information

C Examcollection.Premium.Exam.58q

C Examcollection.Premium.Exam.58q C2090-610.Examcollection.Premium.Exam.58q Number: C2090-610 Passing Score: 800 Time Limit: 120 min File Version: 32.2 http://www.gratisexam.com/ Exam Code: C2090-610 Exam Name: DB2 10.1 Fundamentals Visualexams

More information

Microsoft. [MS20762]: Developing SQL Databases

Microsoft. [MS20762]: Developing SQL Databases [MS20762]: Developing SQL Databases Length : 5 Days Audience(s) : IT Professionals Level : 300 Technology : Microsoft SQL Server Delivery Method : Instructor-led (Classroom) Course Overview This five-day

More information

SQL Server Internals: The Practical Angle Sneak Peek. Dmitri Korotkevitch Moderated by Roberto Fonseca

SQL Server Internals: The Practical Angle Sneak Peek. Dmitri Korotkevitch Moderated by Roberto Fonseca SQL Server Internals: The Practical Angle Sneak Peek Dmitri Korotkevitch Moderated by Roberto Fonseca Technical Assistance Maximize your screen with the zoom button on the top of the presentation window

More information

PASS SQL DBA Virtual Chapter

PASS SQL DBA Virtual Chapter PASS SQL DBA Virtual Chapter Wed, 7:00 PM - 8:00 PM GMT Lecture By Ronen Ariely Implementing new Security Features in SQL Server 2016, Part 2 SQL Server 2016 provides several new data security features

More information

Get Table Schema In Sql Server 2005 Modify. Column Datatype >>>CLICK HERE<<<

Get Table Schema In Sql Server 2005 Modify. Column Datatype >>>CLICK HERE<<< Get Table Schema In Sql Server 2005 Modify Column Datatype Applies To: SQL Server 2014, SQL Server 2016 Preview Specifies the properties of a column that are added to a table by using ALTER TABLE. Is the

More information

Ebook : Overview of application development. All code from the application series books listed at:

Ebook : Overview of application development. All code from the application series books listed at: Ebook : Overview of application development. All code from the application series books listed at: http://www.vkinfotek.com with permission. Publishers: VK Publishers Established: 2001 Type of books: Develop

More information

Successfully migrate existing databases to Azure SQL Database. John Sterrett Principal Consultant

Successfully migrate existing databases to Azure SQL Database. John Sterrett Principal Consultant Successfully migrate existing databases to Azure SQL Database John Sterrett Principal Consultant Common Migration failures Plan Test Execute Manage Free Reference Material Videos, Reference Links, Tips,

More information

Consistency The DBMS must ensure the database will always be in a consistent state. Whenever data is modified, the database will change from one

Consistency The DBMS must ensure the database will always be in a consistent state. Whenever data is modified, the database will change from one Data Management We start our studies of Computer Science with the problem of data storage and organization. Nowadays, we are inundated by data from all over. To name a few data sources in our lives, we

More information

Exam code: Exam name: Database Fundamentals. Version 16.0

Exam code: Exam name: Database Fundamentals. Version 16.0 98-364 Number: 98-364 Passing Score: 800 Time Limit: 120 min File Version: 16.0 Exam code: 98-364 Exam name: Database Fundamentals Version 16.0 98-364 QUESTION 1 You have a table that contains the following

More information

Developing SQL Databases

Developing SQL Databases Course 20762B: Developing SQL Databases Page 1 of 9 Developing SQL Databases Course 20762B: 4 days; Instructor-Led Introduction This four-day instructor-led course provides students with the knowledge

More information

MySQL for Database Administrators Ed 3.1

MySQL for Database Administrators Ed 3.1 Oracle University Contact Us: 1.800.529.0165 MySQL for Database Administrators Ed 3.1 Duration: 5 Days What you will learn The MySQL for Database Administrators training is designed for DBAs and other

More information

Oracle Database 10g Express

Oracle Database 10g Express Oracle Database 10g Express This tutorial prepares the Oracle Database 10g Express Edition Developer to perform common development and administrative tasks of Oracle Database 10g Express Edition. Objectives

More information

Number: Passing Score: 800 Time Limit: 120 min File Version:

Number: Passing Score: 800 Time Limit: 120 min File Version: 70-465 Number: 000-000 Passing Score: 800 Time Limit: 120 min File Version: 1.0 http://www.gratisexam.com/ Exam A QUESTION 1 You need to recommend a backup process for an Online Transaction Processing

More information

MCSE Data Management and Analytics. A Success Guide to Prepare- Developing Microsoft SQL Server Databases. edusum.com

MCSE Data Management and Analytics. A Success Guide to Prepare- Developing Microsoft SQL Server Databases. edusum.com 70-464 MCSE Data Management and Analytics A Success Guide to Prepare- Developing Microsoft SQL Server Databases edusum.com Table of Contents Introduction to 70-464 Exam on Developing Microsoft SQL Server

More information

One Schema In Sql Server 2005 Management >>>CLICK HERE<<<

One Schema In Sql Server 2005 Management >>>CLICK HERE<<< One Schema In Sql Server 2005 Management Studio 2008 Database As a database increases in size full database backups take more time to finish and require more When you specify a back up task by using SQL

More information

Three methods compared

Three methods compared Querying SQL Data Changes Three methods compared eric@berkflow.com (561) 914-2097 Eric Berkowitz SQL Saturday South Florida 6/9/18 World s Greatest Credentials Eric Berkowitz First developed with SQL Server

More information

Transition Your MCITP: Database Administrator 2008 or MCITP: Database Developer 2008 to MCSE: Data Platform (by Silence20)

Transition Your MCITP: Database Administrator 2008 or MCITP: Database Developer 2008 to MCSE: Data Platform (by Silence20) Transition Your MCITP: Database Administrator 2008 or MCITP: Database Developer 2008 to MCSE: Data Platform (by Silence20) Number: 70-459 Passing Score: 700 Time Limit: 180 min File Version: 1.0 http://www.gratisexam.com/

More information

An Information Asset Hub. How to Effectively Share Your Data

An Information Asset Hub. How to Effectively Share Your Data An Information Asset Hub How to Effectively Share Your Data Hello! I am Jack Kennedy Data Architect @ CNO Enterprise Data Management Team Jack.Kennedy@CNOinc.com 1 4 Data Functions Your Data Warehouse

More information

Course Outline. Upgrading Your Skills to SQL Server 2016 Course 10986A: 3 days Instructor Led

Course Outline. Upgrading Your Skills to SQL Server 2016 Course 10986A: 3 days Instructor Led Upgrading Your Skills to SQL Server 2016 Course 10986A: 3 days Instructor Led About this course This three-day instructor-led course provides students moving from earlier releases of SQL Server with an

More information

exam.100q. Number: Passing Score: 800 Time Limit: 120 min Provisioning SQL Databases

exam.100q. Number: Passing Score: 800 Time Limit: 120 min Provisioning SQL Databases 70-765.exam.100q Number: 70-765 Passing Score: 800 Time Limit: 120 min 70-765 Provisioning SQL Databases Sections 1. Implementing SQL in Azure 2. Manage databases and instances 3. Deploy and migrate applications

More information

DESIGNING DATABASE SOLUTIONS FOR MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE

DESIGNING DATABASE SOLUTIONS FOR MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE 70-465 DESIGNING DATABASE SOLUTIONS FOR MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE Designing Database Solutions for Microsoft SQL Server (70-465) WWW.ANALYTICSEXAM.COM Contents Designing

More information

Constraints. Primary Key Foreign Key General table constraints Domain constraints Assertions Triggers. John Edgar 2

Constraints. Primary Key Foreign Key General table constraints Domain constraints Assertions Triggers. John Edgar 2 CMPT 354 Constraints Primary Key Foreign Key General table constraints Domain constraints Assertions Triggers John Edgar 2 firstname type balance city customerid lastname accnumber rate branchname phone

More information

SQL Server New innovations. Ivan Kosyakov. Technical Architect, Ph.D., Microsoft Technology Center, New York

SQL Server New innovations. Ivan Kosyakov. Technical Architect, Ph.D.,  Microsoft Technology Center, New York 2016 New innovations Ivan Kosyakov Technical Architect, Ph.D., http://biz-excellence.com Microsoft Technology Center, New York The explosion of data sources... 25B 1.3B 4.0B There s an opportunity to drive

More information

SQL Server Development 20762: Developing SQL Databases in Microsoft SQL Server Upcoming Dates. Course Description.

SQL Server Development 20762: Developing SQL Databases in Microsoft SQL Server Upcoming Dates. Course Description. SQL Server Development 20762: Developing SQL Databases in Microsoft SQL Server 2016 Learn how to design and Implement advanced SQL Server 2016 databases including working with tables, create optimized

More information

Martin Cairney. Hybrid data platform making the most of Azure plus your onprem

Martin Cairney. Hybrid data platform making the most of Azure plus your onprem Martin Cairney Hybrid data platform making the most of Azure plus your onprem kit Housekeeping Mobile Phones please set to stun during sessions Evaluations complete online to be in the draw for fantastic

More information

Query To Find Table Name Using Column Name In Sql Server

Query To Find Table Name Using Column Name In Sql Server Query To Find Table Name Using Column Name In Sql Server Is there a PostgreSQL query or command that returns the field names and field types of a query, table or view? E.g., a solution if applied to simple

More information

"Charting the Course... MOC C: Developing SQL Databases. Course Summary

Charting the Course... MOC C: Developing SQL Databases. Course Summary Course Summary Description This five-day instructor-led course provides students with the knowledge and skills to develop a Microsoft SQL database. The course focuses on teaching individuals how to use

More information

Code Centric: T-SQL Programming with Stored Procedures and Triggers

Code Centric: T-SQL Programming with Stored Procedures and Triggers Apress Books for Professionals by Professionals Sample Chapter: "Data Types" Code Centric: T-SQL Programming with Stored Procedures and Triggers by Garth Wells ISBN # 1-893115-83-6 Copyright 2000 Garth

More information

Designing Database Solutions for Microsoft SQL Server (465)

Designing Database Solutions for Microsoft SQL Server (465) Designing Database Solutions for Microsoft SQL Server (465) Design a database structure Design for business requirements Translate business needs to data structures; de-normalize a database by using SQL

More information

Microsoft Developing SQL Databases

Microsoft Developing SQL Databases 1800 ULEARN (853 276) www.ddls.com.au Length 5 days Microsoft 20762 - Developing SQL Databases Price $4290.00 (inc GST) Version C Overview This five-day instructor-led course provides students with the

More information

Venezuela: Teléfonos: / Colombia: Teléfonos:

Venezuela: Teléfonos: / Colombia: Teléfonos: CONTENIDO PROGRAMÁTICO Moc 20761: Querying Data with Transact SQL Module 1: Introduction to Microsoft SQL Server This module introduces SQL Server, the versions of SQL Server, including cloud versions,

More information

Db2 Alter Table Alter Column Set Data Type Char

Db2 Alter Table Alter Column Set Data Type Char Db2 Alter Table Alter Column Set Data Type Char I am trying to do 2 alters to a column in DB2 in the same alter command, and it doesn't seem to like my syntax alter table tbl alter column col set data

More information

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

PASS4TEST. IT Certification Guaranteed, The Easy Way!  We offer free update service for one year PASS4TEST \ http://www.pass4test.com We offer free update service for one year Exam : 70-762 Title : Developing SQL Databases Vendor : Microsoft Version : DEMO Get Latest & Valid 70-762 Exam's Question

More information

Eternal Story on Temporary Objects

Eternal Story on Temporary Objects Eternal Story on Temporary Objects Dmitri V. Korotkevitch http://aboutsqlserver.com About Me 14+ years of experience working with Microsoft SQL Server Microsoft SQL Server MVP Microsoft Certified Master

More information

COMP283-Lecture 6 Applied Database Management

COMP283-Lecture 6 Applied Database Management Applied Database Management Introduction Database Administration More Optimisation Maintaining Data Integrity Improving Performance 1 DB Administration: Full-text index Full Text Index Index large text

More information

Course Outline: Designing, Optimizing, and Maintaining a Database Administrative Solution for Microsoft SQL Server 2008

Course Outline: Designing, Optimizing, and Maintaining a Database Administrative Solution for Microsoft SQL Server 2008 Course Outline: Designing, Optimizing, and Maintaining a Database Administrative Solution for Microsoft SQL Learning Method: Instructor-led Classroom Learning Duration: 5.00 Day(s)/ 40hrs Overview: This

More information

Data Partitioning. For DB Architects and Mere Mortals. Dmitri Korotkevitch

Data Partitioning. For DB Architects and Mere Mortals. Dmitri Korotkevitch Data Partitioning For DB Architects and Mere Mortals Dmitri Korotkevitch http://aboutsqlserver.com Please silence cell phones Explore Everything PASS Has to Offer FREE ONLINE WEBINAR EVENTS FREE 1-DAY

More information

Are AGs A Good Fit For Your Database? Doug Purnell

Are AGs A Good Fit For Your Database? Doug Purnell Are AGs A Good Fit For Your Database? Doug Purnell About Me DBA for Elon University Co-leader for WinstonSalem BI User Group All things Nikon Photography Bring on the BBQ! Goals Understand HA & DR Types

More information

Updating Your Skills to SQL Server 2016

Updating Your Skills to SQL Server 2016 Updating Your Skills to SQL Server 2016 OD10986B; On-Demand, Video-based Course Description This course provides students moving from earlier releases of SQL Server with an introduction to the new features

More information

Introduction to Databases and SQL

Introduction to Databases and SQL Introduction to Databases and SQL Files vs Databases In the last chapter you learned how your PHP scripts can use external files to store and retrieve data. Although files do a great job in many circumstances,

More information

The Windows DBA s Jump Start for SQL Server on Linux

The Windows DBA s Jump Start for SQL Server on Linux The Windows DBA s Jump Start for SQL Server on Linux Michael Otey, President, TECA, Inc Moderated By: Peter Larsson Presenting Sponsors Thank You to Our Presenting Sponsors Empower users with new insights

More information

MongoDB and Mysql: Which one is a better fit for me? Room 204-2:20PM-3:10PM

MongoDB and Mysql: Which one is a better fit for me? Room 204-2:20PM-3:10PM MongoDB and Mysql: Which one is a better fit for me? Room 204-2:20PM-3:10PM About us Adamo Tonete MongoDB Support Engineer Agustín Gallego MySQL Support Engineer Agenda What are MongoDB and MySQL; NoSQL

More information

SQL Organizational Security & Compliance. George Walters Senior Technical Evangelist for ISV Partners

SQL Organizational Security & Compliance. George Walters Senior Technical Evangelist for ISV Partners Organizational Security & Compliance SQL 2012-2017 George Walters Senior Technical Evangelist for ISV Partners george.walters@microsoft.com @gwalters69 on twitter Why is security important? 4 Progress

More information

The Freedom to Choose

The Freedom to Choose Anat Dror The Freedom to Choose Choosing between SQL Server offerings Anat Dror SQL Server Expert, Quest SQL Server and DB2 domain expert with over 20 years of experience in a long list of IT related roles.

More information

Things I Learned The Hard Way About Azure Data Platform Services So You Don t Have To -Meagan Longoria

Things I Learned The Hard Way About Azure Data Platform Services So You Don t Have To -Meagan Longoria Things I Learned The Hard Way About Azure Data Platform Services So You Don t Have To -Meagan Longoria 2 University of Nebraska at Omaha Special thanks to UNO and the College of Business Administration

More information

SQL Server Security. Marek

SQL Server Security. Marek SQL Server Security Marek Chmel Lead Database Administrator @ AT&T MVP: Data Platform MCSE: Data Management and Analytics MCT: Regional Lead Certified Ethical Hacker CEHv8 marek.chmel@technet.ms @MarekChmel

More information

COMP 430 Intro. to Database Systems. Encapsulating SQL code

COMP 430 Intro. to Database Systems. Encapsulating SQL code COMP 430 Intro. to Database Systems Encapsulating SQL code Want to bundle SQL into code blocks Like in every other language Encapsulation Abstraction Code reuse Maintenance DB- or application-level? DB:

More information

Speaker: Don Vilen. Mark Ginnebaugh, User Group Leader

Speaker: Don Vilen. Mark Ginnebaugh, User Group Leader Microsoft SQL Server Filtered Indexes and Sparse Columns: Together, Separately Speaker: Don Vilen Chief Scientist, i BuySight February 2011 Mark Ginnebaugh, User Group Leader www.bayareasql.org 15 Feb

More information

In-Memory Tables and Natively Compiled T-SQL. Blazing Speed for OLTP and MOre

In-Memory Tables and Natively Compiled T-SQL. Blazing Speed for OLTP and MOre In-Memory Tables and Natively Compiled T-SQL Blazing Speed for OLTP and MOre Andy Novick SQL Server Consultant SQL Server MVP since 2010 Author of 2 books on SQL Server anovick@novicksoftware.com www.novicksoftware.com

More information

SELECT TOP (?) * FROM [50 Things All SQL Server Developers Need To Know] Aaron Bertrand, Senior Consultant

SELECT TOP (?) * FROM [50 Things All SQL Server Developers Need To Know] Aaron Bertrand, Senior Consultant SELECT TOP (?) * FROM [50 Things All SQL Server Developers Need To Know] Aaron Bertrand, Senior Consultant SQL Sentry, LLC Thank You Presenting Sponsors Gain insights through familiar tools while balancing

More information

Natural Born Killers, performance issues to avoid

Natural Born Killers, performance issues to avoid Natural Born Killers, performance issues to avoid Richard Douglas http://sql.richarddouglas.co.uk @SQLRich Natural Born Killer http://www.flickr.com/photos/merille/4747615138/sizes/z/in/photostream/ 2

More information

ETL Best Practices and Techniques. Marc Beacom, Managing Partner, Datalere

ETL Best Practices and Techniques. Marc Beacom, Managing Partner, Datalere ETL Best Practices and Techniques Marc Beacom, Managing Partner, Datalere Thank you Sponsors Experience 10 years DW/BI Consultant 20 Years overall experience Marc Beacom Managing Partner, Datalere Current

More information

Chapter 5: Physical Database Design. Designing Physical Files

Chapter 5: Physical Database Design. Designing Physical Files Chapter 5: Physical Database Design Designing Physical Files Technique for physically arranging records of a file on secondary storage File Organizations Sequential (Fig. 5-7a): the most efficient with

More information

Get Table Schema In Sql Server 2008 Modify. Column Null >>>CLICK HERE<<<

Get Table Schema In Sql Server 2008 Modify. Column Null >>>CLICK HERE<<< Get Table Schema In Sql Server 2008 Modify Column Null SQL Server - Changing a column from NOT NULL to NULL - What's going on under the hood? No problem. SQL Server 2008 R2 INDEX if all the columns part

More information

Get Table Schema In Sql Server 2008 To Add Column If Not Exists >>>CLICK HERE<<<

Get Table Schema In Sql Server 2008 To Add Column If Not Exists >>>CLICK HERE<<< Get Table Schema In Sql Server 2008 To Add Column If Not Exists IF NOT EXISTS ( SELECT * FROM sys.columns WHERE object_id = OBJECT_ID(N'(dbo). Also try catch is easily possible to use in sql serverand

More information

MCSA SQL SERVER 2012

MCSA SQL SERVER 2012 MCSA SQL SERVER 2012 1. Course 10774A: Querying Microsoft SQL Server 2012 Course Outline Module 1: Introduction to Microsoft SQL Server 2012 Introducing Microsoft SQL Server 2012 Getting Started with SQL

More information

How To Export Database Diagram Sql Server 2008 To Excel

How To Export Database Diagram Sql Server 2008 To Excel How To Export Database Diagram Sql Server 2008 To Excel Programming in Excel and MS Access VBA, Crystal Reports, C#, ASP. This article describes using the Database Model Diagram template in Visio 2010.

More information

BI4Dynamics AX/NAV Integrate external data sources

BI4Dynamics AX/NAV Integrate external data sources BI4Dynamics AX/NAV Last update: November 2018 Version: 2.1 Abbreviation used in this document: EDS: External Data Source(s) are data that are not a part of Microsoft Dynamics AX/NAV. It can come from any

More information

Maintaining a Microsoft SQL Server 2005 Database Course 2780: Three days; Instructor-Led

Maintaining a Microsoft SQL Server 2005 Database Course 2780: Three days; Instructor-Led Maintaining a Microsoft SQL Server 2005 Database Course 2780: Three days; Instructor-Led Introduction This three-day instructor-led course provides students with product knowledge and skills needed to

More information

MS-20462: Administering Microsoft SQL Server Databases

MS-20462: Administering Microsoft SQL Server Databases MS-20462: Administering Microsoft SQL Server Databases Description This five-day instructor-led course provides students with the knowledge and skills to maintain a Microsoft SQL Server 2014 database.

More information

Writing Analytical Queries for Business Intelligence

Writing Analytical Queries for Business Intelligence MOC-55232 Writing Analytical Queries for Business Intelligence 3 Days Overview About this Microsoft SQL Server 2016 Training Course This three-day instructor led Microsoft SQL Server 2016 Training Course

More information

WHAT APPLICATION DEVELOPERS SHOULD KNOW ABOUT SQL SERVER?

WHAT APPLICATION DEVELOPERS SHOULD KNOW ABOUT SQL SERVER? WHAT APPLICATION DEVELOPERS SHOULD KNOW ABOUT SQL SERVER? MILOŠ RADIVOJEVIĆ, PRINCIPAL DATABASE CONSULTANT, BWIN.PARTY, AUSTRIA SQL SATURDAY MUNICH, 8 TH OCTOBER 2016 Our Sponsors Miloš Radivojević Data

More information

Lab 4: Tables and Constraints

Lab 4: Tables and Constraints Lab : Tables and Constraints Objective You have had a brief introduction to tables and how to create them, but we want to have a more in-depth look at what goes into creating a table, making good choices

More information

Database Administration for Azure SQL DB

Database Administration for Azure SQL DB Database Administration for Azure SQL DB Martin Cairney SQL Saturday #582, Melbourne 11 th February 2017 Housekeeping Mobile Phones Please set to stun during sessions Evaluations Please complete a session

More information

Oral Questions and Answers (DBMS LAB) Questions & Answers- DBMS

Oral Questions and Answers (DBMS LAB) Questions & Answers- DBMS Questions & Answers- DBMS https://career.guru99.com/top-50-database-interview-questions/ 1) Define Database. A prearranged collection of figures known as data is called database. 2) What is DBMS? Database

More information

Module 9: Managing Schema Objects

Module 9: Managing Schema Objects Module 9: Managing Schema Objects Overview Naming guidelines for identifiers in schema object definitions Storage and structure of schema objects Implementing data integrity using constraints Implementing

More information

WHAT S NEW IN SQL SERVER 2016 REPORTING SERVICES?

WHAT S NEW IN SQL SERVER 2016 REPORTING SERVICES? WHAT S NEW IN SQL SERVER 2016 REPORTING SERVICES? Timothy P. McAliley CISA, CISM, CISSP, ITIL V3, MCSA, MCSE, MCT, PMP Microsoft Account Technology Strategist Try It Yourself! Two TechNet Virtual Labs

More information

EXAMGOOD QUESTION & ANSWER. Accurate study guides High passing rate! Exam Good provides update free of charge in one year!

EXAMGOOD QUESTION & ANSWER. Accurate study guides High passing rate! Exam Good provides update free of charge in one year! EXAMGOOD QUESTION & ANSWER Exam Good provides update free of charge in one year! Accurate study guides High passing rate! http://www.examgood.com Exam : C2090-610 Title : DB2 10.1 Fundamentals Version

More information

Views in SQL Server 2000

Views in SQL Server 2000 Views in SQL Server 2000 By: Kristofer Gafvert Copyright 2003 Kristofer Gafvert 1 Copyright Information Copyright 2003 Kristofer Gafvert (kgafvert@ilopia.com). No part of this publication may be transmitted,

More information

State of the Dolphin Developing new Apps in MySQL 8

State of the Dolphin Developing new Apps in MySQL 8 State of the Dolphin Developing new Apps in MySQL 8 Highlights of MySQL 8.0 technology updates Mark Swarbrick MySQL Principle Presales Consultant Jill Anolik MySQL Global Business Unit Israel Copyright

More information

I am making a database in sql server and it shows an error that "CREATE -3c9ae794a7c4/sql-express-2008-r2-createdatabase-permission-denied-in-

I am making a database in sql server and it shows an error that CREATE -3c9ae794a7c4/sql-express-2008-r2-createdatabase-permission-denied-in- Create Table Permission Denied In Database 'master' In Sql Server 2008 create database permission denied in database 'master'-sql 2008 R2 So I have installed SQL Server 2008 R2 on windows 7 machine. Created

More information

Change Schema For All Tables In Sql Server 2008

Change Schema For All Tables In Sql Server 2008 Change Schema For All Tables In Sql Server 2008 I am trying to understand why changing schema ownership is causing permissions to be revoked. I am having a hard 3.i am able to access now all tables with

More information

Angela Henry. Data Types Do Matter

Angela Henry. Data Types Do Matter Angela Henry Data Types Do Matter Angela Henry Angela is a DBA/BI Developer, living in High Point, NC and loves what she does. She's worked with all versions of SQL Server & worn all the hats that come

More information

TECHNOLOGY: Security Encrypting Tablespaces

TECHNOLOGY: Security Encrypting Tablespaces TECHNOLOGY: Security Encrypting Tablespaces By Arup Nanda Encrypt tablespaces transparently without affecting performance. In an era when data security is critical in almost every type of business, databases

More information

ColdFusion Summit 2016

ColdFusion Summit 2016 ColdFusion Summit 2016 Building Better SQL Server Databases Who is this guy? Eric Cobb - Started in IT in 1999 as a "webmaster - Developer for 14 years - Microsoft Certified Solutions Expert (MCSE) - Data

More information

MySQL for Database Administrators Ed 4

MySQL for Database Administrators Ed 4 Oracle University Contact Us: (09) 5494 1551 MySQL for Database Administrators Ed 4 Duration: 5 Days What you will learn The MySQL for Database Administrators course teaches DBAs and other database professionals

More information

Microsoft Exam Questions and Answers (PDF) Microsoft Exam Questions BrainDumps

Microsoft Exam Questions and Answers (PDF) Microsoft Exam Questions BrainDumps Microsoft 70-535 Dumps with Valid 70-535 Exam Questions PDF [2018] The Microsoft 70-535 Microsoft Architecting Microsoft Azure Solutions Exam exam is an ultimate source for professionals to retain their

More information

Database Table Schema Sql Server 2008 R2 Management Studio

Database Table Schema Sql Server 2008 R2 Management Studio Database Table Schema Sql Server 2008 R2 Management Studio Requires CREATE VIEW permission in the database and ALTER permission on the schema in which the view is being Using SQL Server Management Studio.

More information

SQL Server on Linux and Containers

SQL Server on Linux and Containers http://aka.ms/bobwardms https://github.com/microsoft/sqllinuxlabs SQL Server on Linux and Containers A Brave New World Speaker Name Principal Architect Microsoft bobward@microsoft.com @bobwardms linkedin.com/in/bobwardms

More information

Advanced Constraints SQL. by Joe Celko copyright 2007

Advanced Constraints SQL. by Joe Celko copyright 2007 Advanced Constraints SQL by Joe Celko copyright 2007 Abstract The talk is a short overview of the options a programmer to use DDL (Data Declaration Language) in SQL to enforce a wide range of business

More information

Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course:

Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course: Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course: 20762C Developing SQL 2016 Databases Module 1: An Introduction to Database Development Introduction to the

More information

Duration: 5 Days Course Code: M20764 Version: B Delivery Method: Elearning (Self-paced)

Duration: 5 Days Course Code: M20764 Version: B Delivery Method: Elearning (Self-paced) Administering a SQL Database Infrastructure Duration: 5 Days Course Code: M20764 Version: B Delivery Method: Elearning (Self-paced) Overview: This five-day instructor-led course provides students who administer

More information