| A community of more than 1,600,000 database professionals and growing |
| | The Nightmare Letter I'm not sure if this imaginary GDPR letter is a nightmare, but I do know that in most of the organizations where I've worked, this type of request would result in a crash project for me. I'd be working long hours, contacting lots of people and trying to manage a complex spreadsheet of information about an individual. I'd like to think that I'd compile this information in a general sense to understand our data better and anticipate future requests, building a process that I could repeat, but I know that under pressure that might not always happen. I'm sure I'd grab some data without capturing and saving the metadata or query. I'd probably have to perform duplicate work when the next request came in. GDPR enforcement begins in a couple months, and organizations receiving this type of letter will have 30 days to respond. Companies can also charge a reasonable fee based on administrative costs for information requested. The fee that's reasonable for getting a few of these letters a month might not be sufficient if hundreds or thousands of individuals start requesting this information, and I'm sure companies and authorities will be arguing about the rates. With the focus on privacy in the media, and the mishandling of data regularly by companies, I wouldn't be surprised if there are going to be large numbers of requests by individuals. In fact, I'm wouldn't be surprised if there are scripts or applications being built now to facilitate the ability for lots of individuals to ask for this information from companies about their data processing. Really all of this information should be documented and any decisions made about securing sensitive data should always be followed. Any organization should know how they handle data, where it's stored, and how it's secured. This is just practical and good administrative practice. The items about how data is processed and used are good business knowledge points. After all, should we be processing data without some justification for the resources involved? I think too often a company decides to implement some process without evaluating if it makes sense in the context of their mission. If it does, we should know why it does and be able to measure that. If it doesn't, we ought to stop. If you do business in the EU or with EU citizens, you might wish to start ensuring you have a way to export the information requested in this letter. Being prepared for some of these items might make it much easier to respond to any or all of these requests. Whether you think this might happen to your organization or not, you might want to just save a copy of this letter. I know I will, with the idea that I might send this off to companies that store my data. Knowledge can help me protect myself by being aware of what's being done with information related to me. If there are issues, having this information might help ensure my rights are protected. I'll also be sure that I have a form letter to ask for removal of information. I've felt this wasn't possible in the past, but at least in the EU, where I regularly travel, I can exert some control over my data. Steve Jones from SQLServerCentral.comJoin the debate, and respond to today's editorial on the forums |
| The Voice of the DBA Podcast Listen to the MP3 Audio ( 3.9MB) podcast or subscribe to the feed at iTunes and Libsyn. The Voice of the DBA podcast features music by Everyday Jones. No relation, but I stumbled on to them and really like the music. | |
|
|
| ADVERTISEMENT | | NEW SQL Provision: Create, protect, & manage SQL Server database copies for compliant DevOps Create and manage database copies effortless and keeps compliance central to the process. With SQL Provisions virtual cloning technology, databases can be created in seconds using just MB of storage, enabling business to move faster. Sensitive data can be anonymized or replaced with realistic data to ensure data is protected as it moves between environments. Download your free trial |
| | The industry standard for comparing and deploying SQL Server database schemas Trusted by 71% of Fortune 100 companies, SQL Compare is the fastest way to compare changes, and create and deploy error-free scripts in minutes. Plus you can easily find and fix errors caused by database differences. Download your free trial |
|
|
|
| | | Mike McQuillan from SQLServerCentral.com Learn how you can move data from your Data Lake to Azure SQL Database with Azure Data Factory. More » |
| Press Release from Redgate In this free eBook Shawn McGehee offers advice on query tuning, cutting stored procedures, and system process design and implementation for high availability. Discover how to perform backup and restore operations using SQL Server Management Studio (SSMS), basic T-SQL scripts and Redgate's SQL Backup tool. More » |
| Additional Articles from MSSQLTips.com With GDPR on the imminent horizon, there are many things that Data Platform engineers need to consider with regards to the rights of data subjects. Primary among these is understanding the impact of requests to be forgotten and updates to a person's data when it comes to restoring databases. If you have data that is within the scope of the GDPR then here are some thoughts on extra processes for your DR planning. More » |
| Grant Fritchey from SQLServerCentral Blogs I’ve been reading the General Data Protection Regulation (GDPR) and discussing the ramifications of the beginning of enforcement with lots... More » |
| david.fowler 42596 from SQLServerCentral Blogs Have you ever had an issue where TempDB was filling up on your secondary replicas? Do those secondaries happen to... More » |
|
|
| | Today's Question (by Steve Jones): I want to represent this path in a string in Python: D:\SQLServerBackup\MSSQL13.SQL2016\MSSQL\Backup However, I don't want to use two backslashes for every element in the path. How can I assign this variable in Python in an easy to read manner? |
Think you know the answer? Click here, and find out if you are right. We keep track of your score to give you bragging rights against your peers. This question is worth 1 point in this category: Python. We'd love to give you credit for your own question and answer. To submit a QOTD, simply log in to the Contribution Center. |
|
|
| |
ADVERTISEMENT | SQL Server T-SQL Recipes is an example-based guide to the Transact-SQL language that is at the core of SQL Server. This edition has been lightly updated for SQL Server 2014 and provides ready-to-implement solutions to common programming and database administration tasks. Learn to create databases, create in-memory tables and stored procedures, insert and update data, generate reports, secure your data, and more. Get your copy from Amazon today. | | |
|
|
|
|
|
| Yesterday's Question of the Day |
| Yesterday's Question (by Thomas Franz): In my little data warehouse database (only clustered indexes, no columnstore; SQL 2014) I have a table with denormalized order data. For reporting issues I have to aggregate a column (e.g. the number of order positions per order), but have to output some order data too (which are equal for the whole order as the order date / customer). To reach my goal, I could either put all equal data in the GROUP BY section or could group only by the order number and use MIN or MAX on the equal columns. A third method would make use of windowing functions and DISTINCT Which of the following statements would be the fastest (CPU wise; the I/O will be the same as the data / results are equal): SET STATISTICS TIME ON; -- Method 1 SELECT t.order_no, t.order_customer, t.order_date, t.order_city, t.order_address, COUNT(*) AS pos_count FROM dwh.orders AS t GROUP BY t.order_no, t.order_customer, t.order_date, t.order_city, t.order_address; -- Method 2 SELECT t.order_no, MIN(t.order_customer) AS order_customer, MIN(t.order_date) AS order_date, MIN(t.order_city) AS order_city, MIN(t.order_address) AS order_address, COUNT(*) AS pos_count FROM dwh.orders AS t GROUP BY t.order_no; -- Method 3 SELECT DISTINCT t.order_no, t.order_customer, t.order_date, t.order_city, t.order_address, COUNT(*) AS pos_count FROM dwh.orders AS t Answer: Method 2 (group only by order_no) Explanation: Method 2 (group only by order_no and use MIN() or MAX() to get the customer name / address / order_date ...) would win this race. On my database the queries would return 4,775 rows each. The first query would take ~ 3.000 ms CPU, the second ~850 ms and the last one ~4.000 ms. Furthermore the third query would go parallel and make intense usage of the tempdb and produces ~800k reads on the worktable (the other queries have only ~22k reads in the main table). PS: many developers seems to prefer method 1, since it is faster to copy / paste a column list in the GROUP BY as to write MIN/MAX functions... » Discuss this question and answer on the forums |
|
|
| | Subhash Chandra from SQLServerCentral.com Its common requirement of Developers to access the Sp_who2, Sp_who3, Sp_whoisactive and SHOWPLAN of executed quires or procedures for check the DB server sessions, health, blocking and execution plan check. But DBA mostly denied granting this access mostly required the sysadmin access to execute this kind of queries. We can grant access to these procedures or SHOWPLAN without granting any sysadmin access. For this you have to grant the VIEW SERVER STATE permission and individually procedure execution permissions. Also, you can make a make a separately db_showplan role for it and can make the member of this group to users. More » |
|
|
| Database Pros Who Need Your Help |
| Here's a few of the new posts today on the forums. To see more, visit the forums. Migration from SQL 2008 to 2017 - Hi All, I need some assistance in the process of migrating from 2008 to 2017. This is the first time doing... Converting varchar to float - Hi, I get error 'Error converting data type varchar to float.' and I have a blind spot, I can't figure out... SQL Server 2016 - Instalallation on Vmware - Good afternoon, I have to install SQL Server 2016 on a Virtual Machine 2016. My question is always the same : How partitionning... SQL Server 2016 Standard Edition - help - I need to encrypt my database and I have the standard edition SP1. With the standard edition I cant use... Does the Enterprise Policy Management (EPM) framework work with SQL 2016\Windows 2012? - Hi all I am trying to set up EPM in my environment to help manage policy based management in by SQL... SSRS and labels - I have a program in VB I have created to print labels. Currently I can print to a label printer... Delete old backup files - I am wondering if someone can help me out here. We have backups in place but since we don't have... Database Restore Failing - I am hoping you can help me out here. Specifications SQL Server 2014 SP2 CU8 Windows Server 2012 3 instances on one server... Use uniqueidentifier field in place of int - Hi All, I'm trying to populate a temp table. Here is the temp table: CREATE TABLE #SESDMVESEnrollData ( ContractNumber nvarchar(50) not null, ... Reverse engineering a duty rate when dealing with small values - I need to compute the Duty Rate on an item by dividing the Duty Paid by the Value of the... deadlock vs. locking - Hello, We have a database transaction. During this transaction, the database is locked so that other process can't access the database.... get date by rank - I have results from my query account value rank fixdate payabledate 22 100 1 01/01/2018 22 200 2 01/01/2018 53 80 1   How to invoke SQL Stored procedure autmatically - Hi All, I am doing the following process manually every week, I would like to automate this as much as... With Execute As Not Working As Expected - Can anyone tell me why this is not working (I obfuscated the password, BTW). I am sysadmin on the server... How to write this query? - Hi, I have this dataset: create Link table return more than record - Hi I have a query that return more than one records can any one help me? My query is select LineItem.Price, document.Date,... What next???? - I have total 5 year exp In Sql, ssrs, ssis, ssas(3 year). I was thinking what to fo for next. Learning new... script error - hi my target server is in 2016 ( 13.0.4206.0) to run sql server agent job . I am using visual studio 2015 to... Error in Metadata Services. Whick Cube does it complain about? - I am getting the error shown below when deploying the project: Errors in the metadata manager. The attribute with ID of... BLOCKING CAUSED BY REORGANIZE OF INDEX JOB IN SQL SERVER 2005 - hi all, need your help on this. i have a job which is reorganizing the index and with that i am having... |
|
| This email has been sent to newsletter@newslettercollector.com. To be removed from this list, please click here. If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com. | This newsletter was sent to you because you signed up at SQLServerCentral.com. Feel free to forward this to any colleagues that you think might be interested. If you have received this email from a colleague, you can register to receive it here. | This transmission is ©2018 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. Contact: webmaster@sqlservercentral.com |
|
|