Create Custom Audit Specifications using SQL Server Audit
In this tip, we will create custom audit specifications using SQL and show how to attach these to an audit in SQL Server.
In this tip, we will create custom audit specifications using SQL and show how to attach these to an audit in SQL Server.
In this we look at how you can run Python scripts using SQL Server Agent jobs.
This tip introduces neural networks and shows how we can use SQL Server and R to codify data, create and train an R-based neural network, store the definition of a neural network for re-use and create stored procedures to make predictions.
In this tip we look at how to automatically anonymize data in your databases to create test and development databases from your production databases.
In this tip we present a solution to import data directly from DynamoDB within SQL Server 2017 by using in-line, natively-supported Python scripting to communicate with the AWS service using access key pairs.
This tip will define the key terms of an Azure DB and provide more information on the levels of service each combination provides.
In this tip we will look at how to use R functions, in memory settings and mapping data with R.
In this tip, we will follow on from SQL Server Data Access using R – Part 1 and show how to perform further data analysis and refinements, demonstrate more R functions, and show how to overlay and multi-plot R graphs.
In this tip, we will look at RStudio, an integrated development environment for R, and use it to connect, extract, transform, plot and analyze data from a SQL Server database.
This tip will demonstrate how to secure SQL Server in Azure using a real, deployed virtual machine by configuring the endpoint ports and Access Control Lists (ACLs) on each endpoint.
Learn how to analyze and remodel poorly designed SQL Server database tables including First, Second and Third normal form as well as design best practices.
Learn about the risks of storing passwords in a SQL Server database and how to do so properly without compromising your overall application.
Learn how to build quick and efficient data input forms using InfoPath to access SQL Server data in a step by step example.
In this tip we look at using Luhn's Algorithm to validate numbers such as valid credit card numbers. We walk through how this Algorithm works along with how to create a T-SQL function to validate the numbers.
You wish to access OLE or COM objects, such as file system objects (files, folders) and their properties directly from SQL Server. This might be, for example, to load data automatically from a raw data source; to check for the existence of a directory bef
You are a DBA or developer mulling over data compression options in SQL Server. You wish to know how much space compressing a particular index will save; you need to know how this will affect query performance. In this tip we compare the impact of compres
You are looking to retrieve a random sample from a query result set. In this tip we look at different approaches using T-SQL.
Recently, I noticed this intriguing message in one of my SQL Server 2008 R2 error logs: Warning: Failure to calculate super-latch promotion threshold. In this tip we review locking and latching and this is used by SQL Server.
SQL is derided by modern developers as 'Scarcely Qualifies as a Language'. But just how efficient are the new wave of NoSQL languages touted by bleeding-edge skunk works? This tip is a defense of SQL and of the relational model, and argues for the efficie
You are tasked with examining poor performance for queries on a certain table, or range of tables. Perhaps a sales report is timing out or running unacceptably slow; perhaps your web application is failing to return the result set before the application t
You have a task to undertake the scripting out of many individual T-SQL statements. For example, you need to rename a number of SQL Server database files. You need to automate the creation of T-SQL statements rather than manually script out the solution.
You are seeing evidence of an excessive number of query compilations or recompilations in SQL Server. This may be manifesting itself as high CPU load, or longer transaction execution times. You need to identify which queries are causing this behavior and
You are looking at ways of ensuring atomicity and consistency in your database by ensuring transactional integrity. You may want to avoid locks, or ensure problems such as lost updates or dirty reads cannot occur, or otherwise ensure the quality of your d
You need to configure alerts to notify your DBA or out-of-hours team if there is a problem with your SQL Server replication or high-availability groups; for example if an automatic failover occurs, or an unacceptable number of queued transactions builds u