SQL SERVER – CREATE OR ALTER Supported in Service Pack 1 of SQL Server 2016
There are many enhancements which were introduced in Service Pack 1 of SQL Server 2016. If you are a developer, then you can easily understand this productivity improvement. Does below code looks...
View ArticleSQL SERVER – CLONEDATABASE: Generate Statistics and Schema Only Copy of the...
I have been writing about how some of the interesting enhancements made with SQL Server 2016 SP1 have caught my attention. This one is a killer feature that can be of great value when you are trying to...
View ArticleSQL Server Identity Values Check on GitHub
Last year I blogged about a script that Karen López (blog | @datachick) and I wrote together to help you determine if you were running out of identity values.The post SQL Server Identity Values Check...
View ArticleAzure SQL Data Warehouse with Improved Loading and Monitoring in Azure Portal...
Azure SQL Data Warehouse has received some significant changes in the Azure Portal, including Azure Data Factory integration, a new troubleshooting blade, and changes to the query drill-down bladeRead...
View ArticleSQL Server – PowerShell Script – Getting Properties and Details
I write and play around a lot with SQL Server Management Studio and I love working with them. Having said that, I also explore the ways people want to run code to achieve certain objectives. In the...
View ArticleThat Time We Fixed Prod Without Admin Credentials
Merry Christmas readers! It’s story time. This is about a problem I encountered a few weeks ago. We were looking at a production site using sp_whoisactive and we noticed a lot of blocking on one...
View ArticleSQL SERVER – SqlServerWriter Missing from an Output of VSSadmin List Writers...
One of a DBA from my client contacted me for a quick suggestion when I was working with them on a performance tuning exercise. I always ask for some time to explain the exact problem and behavior. As...
View ArticlePoint in Time Recovery with SQL Server
Read my latest article on Point in Time Recovery. http://www.sqlshack.com/point-in-time-recovery-with-sql-serverhttp://dbfriend.blogspot.com/feeds/posts/default?alt=rss
View ArticleWhat is Memory Grants Pending in SQL Server? – Interview Question of the Week...
Question: What is Memory Grants Pending in SQL Server?Answer: Very interesting question and this subject is so long, it will be difficult to cover in a single blog post. I will try to answer this...
View ArticleSQL SERVER – FIX – Error – Msg 4928, Level 16, State 1. Cannot Alter Column...
One of my Facebook followers sent me an interesting situation, where he faced error related replication or change data capture.Hi Pinal, We have a database in our QA environment which is restored from...
View ArticleHow to Find Number of Times Function Called in SQL Server? – Interview...
Question: How to Find Number of Times Function Called in SQL Server?Answer: This is not a real interview question, but it was asked to me during my performance tuning consultancy recently. We were...
View ArticleSQL SERVER 2016 – Trace Flag 1117 is Discontinued. Use the Options Provided...
While doing performance tuning for one of my clients, I was looking at ERRORLOG files to understand about their system. I saw that trace flag 1117 and 1118 are enabled via startup parameter. 2016-12-05...
View Article16 Things That Didn’t Happen to Me in 2016
It’s that time of year again. The time when we find many “year-2016-in-review”, “what-to-expect-when-you’re-expecting-2017”, and “resolutions-you-will-not-follow-in-2017” articles littered about the...
View ArticleSQL SERVER – Why Does Encrypted Column Show NULL on Subscriber?
While I was online on Skype last night, one of my old customers pinged me and wanted to know my opinion of a special issue which he was facing when Encrypted Column Show NULL on Subscriber.He said that...
View ArticleLooking Back At 2016
When this blog started back in 2011 I had no idea that it would continue to grow to where it has gotten to today. There have been many learning curves along the way – some fun and some not so fun, but...
View ArticleSQL SERVER – Cannot initialize the data source object of OLE DB provider...
As you might have seen, along with performance tuning related work, I also help community in getting answers to questions and troubleshoot issue with them. A few days ago, one of community leader and...
View ArticleSQL SERVER Puzzle – Conversion with Date Data Types
Over the years, every time I have worked with Date and time data types, I have learnt something new. There are always tons of tight corners where a number of exceptions happen. Though these are known,...
View ArticleSQL SERVER – Fix Error Msg 13603 working with JSON documents
Working with new data types is something we need to evolve. In this blog, I have written on a number of articles on JSON which you can take a look at. I wanted to write about some of the interesting...
View ArticleChecking DBCC CHECKDB
I hope you run consistency checks on your databases, if you are not currently doing this you probably will want to. For this post I want to show you how you can check whether or not CHECKDB has been...
View ArticleMy Interview published on Microsoft Technet Blog
Wish you a Happy New Year to all the readers and technical enthusiasts!!!https://blogs.technet.microsoft.com/wikininjas/2017/01/02/interview-with-a-sql-server-expert-and-wiki-ninja-prashanth-jayaram/My...
View Article