Laden...
|
|
|
|
|
|
Question of the Day |
Today's question (by Steve Jones - SSC Editor): | |
Azure SQL Database Differential Backup Frequency | |
How often does Azure run an automated differential backup of your Azure SQL Database or Managed Instance database? | |
Think you know the answer? Click here, and find out if you are right. |
Yesterday's Question of the Day (by Steve Jones - SSC Editor) |
Breaking Dynamic Data Masking I have a table where there is a date of birth column (dob) with the date datatype that is protected by Dynamic Data Masking and the default mask in SQL Server 2019. If this non-privileged (without the UNMASK permission) user runs this query and there is a row with this date in it, what is returned? SELECT dob FROM dbo.DDMTest AS dt WHERE dob = '1967-04-01' GOAnswer: A single row result set with the date , '1900-01-01' Explanation: The default data masking filter for dates shows 1900-01-01. If a non-privileged user uses a WHERE clause that contains data that matches a row, that row is returned, and then the masking is applied to the data. Ref: Dynamic data masking - https://docs.microsoft.com/en-us/sql/relational-databases/security/dynamic-data-masking?view=sql-server-ver15 Datatypes and the Default Mask with Dynamic Data Masking - Step 2 of the Stairway to Dynamic Data Masking - https://www.sqlservercentral.com/steps/datatypes-and-the-default-mask-with-dynamic-data-masking |
Database Pros Who Need Your Help |
Here's a few of the new posts today on the forums. To see more, visit the forums. |
SQL Server 2017 - Administration |
Always on Failover - In our environment we have about 10 Always on Set up. The application has configured to connect using listener. The applications are didn't hard coded with server (They are using listner name) still whenever we did the fail over, few applications are not working on one server. |
Cummulative Updates in SQL 2017 & Free space calculataions - Since SQL 2017 doesn't have any service packs, is there any difference in the process to apply CUs? How do we know how much free space on the drive is required to apply the cumulative updates on SQL Server RTM? Thanks |
SQL Server 2017 - Development |
how to get text from hashed text value by sql server 2017 ? - How to extract data from hashbyte text after hash or encrypted on SQL how to extract data from hashbyte text after hash or encrypted on sql server 2017 ? I work on sql server 2017 i have field nvarchar(max) store values hashbytes suppose i have text as username:sayed password:321 and i hash it by using […] |
JSON String invalid - Hi All, Have query regarding a nested array in JSON file, previously raised a ticket on how to retrieve the data but due to the number of JSON files involved using JSON_VALUE is leading to poor performance. Decided to try to name the array myself in the JSON string but coming across problems, below is […] |
Administration - SQL Server 2014 |
I/O errors in SQL - Hello!! I have a McAfee ePO setup where we use SQL for database. I noticed few monitors/say tables are not displaying properly in dashboards. . When I went through the sql logs I found below errors. Could these errors be a reason for not seeing the tables getting populated ? 2022-03-21 02:00:26.35 spid16s SQL Server […] |
Connect SQL Server using local IP - Dears ! Good Day ! I have using SQL Server. I write the server name for login as "192.168.10.2\SQLSRVR2008" but I want to use server name only as "192.168.10.2" How can I do so ? Anybody plz help me in this matter. |
SQL Server 2019 - Administration |
Can't copy login to one server in a cluster - We have a SQL job that we run to copy all logins from the Primary node to all (3) Secondary nodes. For this one particular cluster, we can copy the logins to 2 of the secondary nodes, but not to one of them. I tried adding a new user to Primary and when I ran […] |
SEARCH FOR AND REPLACE - I have a wordpress database, and I want to search the post table for all the words that are between double brackets and replace it with that same word, but duplicating it. What I'm looking for is something like this: before: [[my text]] after: [[my text || my text]], or [[my text // my text]], […] |
Minimum Permissions for Conflict Viewer - Hi, I'm looking to find the minimum permissions necessary to give a user access to the Replication Conflict Viewer and allow user to view and resolve conflicts in Management Studio. |
SQL Server 2019 - Development |
restore to a new database using full and differential back in one backup file - Hello, Is there a way to restore to a new database using Full and differential backup packed in one file? The Differential backup that I have from the corrupted server has a full backup in it the day I started the backup. I first did a full backup manually and on it I started differential […] |
Trouble with the PIVOT - I am attempting to pivot some data but need to have the columns across populate based on date variables so that each day in the sequence is a column. While the regular PIVOT logic seems to work fine, when I add the dynamic feature to spread the dates depending on the date window given I […] |
SQL 2012 through 2019 in-place - I've downloaded SQL Server Standard 2019 to upgrade our database because we have a Microsoft Campus Agreement, but I'm being asked for a license for SQL Server 2019 Reporting Services. MECM is an entitlement, however I can't seem to find a license for it on the Microsoft Volume Licensing Site. Anyone know anything about this? […] |
Working with Oracle |
backup database in SQL Server VS Oracle - I would like to know the difference of full back up between Oracle and SQL server. In SQL server, for a medium size database, If I do a full backup, then I can use to restore to another database that is exactly the same as the original database. I don't need to do online transaction […] |
Reporting Services |
Author "notes" in SSRS? - At my company I've come across a variety of SSRS reports where none of my current colleagues know who either created a given report, or who last made changes to it and why those changes were made. Apparently, "version control" isn't a concept at work. With that said, how do you choose to leave "notes" […] |
Integration Services |
ISNULL question - I am trying to use ISNULL in derived Column in SSIS. I have tried using this code ISNULL(MiddleName)? "FirstName + ' ' + LastName": FirstName + ' ' + MiddleName + ' ' + LastName It shows error message please correct |
| |
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. webmaster@sqlservercentral.com |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Laden...
Laden...
© 2024