SQL Server Constraints with Example
Primary key Constraint: A Primary key constraint is applied for uniquely identifying rows in a table. It cannot contain Null values and rest of table data should be unique. While creating a table if we...
View ArticleRetrieving SQL Server Query Execution Plans
One of the most useful tools in SQL Server for analyzing and troubleshooting a query’s performance is the execution plan. An execution plan can tell you how the database engine intends to execute a...
View ArticleSearching Strings in SQL Server is Expensive
In the classic spirit of my How to Think Like the Engine class , let’s go take a look at the StackOverflow.Users table and find all the users named Brent. There’s a DisplayName field, and I’m going to...
View ArticleMonitoring Reports for R on SQL Server 2016
Whenever I talk about R, in the question and answer period I get a lot of questions from DBAs on how to monitor the impact of running R code on SQL Server. Fortunately Microsoft recently created a...
View ArticleSQL SERVER Management Studio Why I am Seeing White Icon Instead of Green or R...
One of my clients faced a strange situation. She was using SQL Server Management Studio and was not seeing SQL server and SQL Agent status. It was showing white circle. When she would right click the...
View ArticleMS SQLServer的关键词BETWEEN的一些注意事项
近段时间在程序中写到有关搜索的功能。其中有使用到MS SQLServer的关键词BETWEEN,它是搜索数值范围(包括本身)之间的数据。 在使用它时,一些情况还需要注意的。如果时间的数据。 搜索时间数据,要看数据库存储时间精度,存储只有日期或带有时间日期就需要注意了。不然搜索出来的数据与预期有有些出入。 如: 根据上面的数据,如果搜索日期17号至18的数据,你可以写的条件如下: ... WHERE...
View ArticleRadically simple guide to SQL Server data types
Today we are going to discuss the types of data in SQL Server and some good practices. One thing before we start, though. It is not possible to exhaust the topic of time representation in one article,...
View ArticleUsing BimlScript to Increase SQL Server Integration Services (SSIS) Productivity
By:Nat Sundar || Related Tips:More > Integration Services Development Problem What is BimlScript and how can I use it to increase SQL Server Integration Services development productivity? Solution...
View ArticleAutomate SQL Server Replication Monitoring
Problem In my environment we have a few servers where we have SQL Server replication setup and we need to make sure replication is always in sync, because business users connect to these servers for...
View ArticleAlways Encrypted feature in SQL Server 2016
With the introduction of SQL Server 2016 in June (Official Final Release), Microsoft had introduced few, new and very useful features in to the SQL Server. One such feature is the ‘Always Encrypted’....
View ArticleInstalling SQLCMD
For anyone who wasn’t aware SQLCMD is a command line tool for running T-SQL statements and scripts. Before anyone says anything I want to point out that yes, I realize that you can use Powershell...
View ArticleCobalt Strike Tapas II
This blog post is a collection of articles and links Cobalt Strike users may find interesting. Let’s jump into it: 1. Redirecting Cobalt Strike DNS Beacons Redirectors are a popular offensive technique...
View ArticleOne Million
Is a million writes/sec a large number? I guess it’s all relative, but I’d consider it a fairly large number. Our peak transfers for SQLServerCentral are in the hundreds/sec, though we’re not really a...
View ArticleFree eBook on Data Science Using Microsoft SQL Server 2016
Just off a fantastic IT/Dev Connections 2016 that delivered a lot of great information from industry experts on SQL Server 2016, analytics, Big Data, and R, this new free eBook from Microsoft Press...
View ArticleData Warehouse Fast Track for SQL Server 2016
Microsoft Data Warehouse Fast Track for SQL Server 2016 is a joint effort between Microsoft and its hardware partners to deliver validated, pre-configured solutions that reduce the complexity of...
View ArticleSQLSweet16!, Episode 10: “I can eat glass …”, but can I load it into a databa...
Sanjay Mishra Reviewed By: Dimitri Furman, Murshed Zaman, Kun Cheng If you have tried to use BULK INSERT or bcp utilities to load UTF-8 data into a table in SQL Server 2014 or in an earlier release...
View ArticleTop 5 Signposts to deep technical expertise at PASS Summit 2016
How do you find deep technical expertise at PASS Summit 2016? Signpost Number 1: Watch Joseph Sirosh’s Day One keynote. Attend in person if you can, or watch the live stream on PASS TV if you can’t.The...
View ArticleBasic Data Manipulation for Relational Data in R
One of the main struggles I had (and still have) while working with R is getting my head around its data structures. R is an object oriented language, and the way it works with data is a little...
View ArticleSQL SERVER How to Avoid Triggers for Multiple Row Operations in a Table
Customers have a unique way to give you challenges that you never faced. It was one of those evenings that I was working late night on some SQL activity when I received a mail from one of my very old...
View Article8 Reasons Why Your Losing SQL Server Candidates You Want to Hire
By:Erica Woods || Related Tips:More > Professional Development Interviewing Problem We're hearing it from Managers and Clients more often"I keep missing out on strong candidates I want to hire" or...
View Article