SQL Server Central
The Voice of the DBA

I’m In Charge of Books Online

I'm in charge of Books Online. Well, not just me, but Microsoft has appointed a select group of MVPs to become the moderators of the Books Online documentation on GitHub. This is the official repo where the source for the online docs and downloadable help are stored, and anyone can submit a potential change. I've written about how to do this and many people have submitted changes over the last year.

This creates a problem. As with many large Open Source projects, the maintainers soon become overwhelmed with submissions and start to spend more time triaging and evaluating submissions than making their own changes. In addition, people change roles inside Microsoft quite often with many of the owners of a particular topic moving on to a new area inside Microsoft. They don't want to go back, try to understand, re-evaluate, and test changes in another part of SQL Server, so the pull requests get delayed. Microsoft also sees documentation as a necessary item, but not one they'd like to put resources into managing.

Microsoft recognizes that there are experts in the community and has awarded some of us with the MVP designation. They also realize that many of us passionately care about SQL Server, with plenty of expertise that we can use to evaluate pull requests and decide if they add to the documentation. As a result, they asked a number of MVPs to apply and at the recent MVP Summit, they gathered some of us together and told us we would be given rights to the GitHub repo to approve requests.

We have to do this in a controlled fashion, so we were given internal Microsoft contractor email addresses and access that we can use to approve changes. I assume this is also to ensure that Microsoft can quickly revoke access if necessary. It's not a big deal to me since I'm already using 4 emails, so what's another one?

I don't know if I can announce who else is participating in this, but I was given special permission to announce that I am a part of this project. I can also disclose that this is an April Fool's prank and I'm not in change of anything. Well, I am in charge of my volleyball team, but that's about it. Maybe Microsoft will use MVPs to triage some requests at some point, but I wouldn't hold my breath.

I hope you got caught up in the excitement and enjoyed this short piece. Don't believe much of what you read today. Keep your head down and focus on code that you know is true.

Steve Jones - SSC Editor

Redgate SQL Compare
  Featured Contents

SQL Server 2019 Adds CosmosDB Support

SQLServerCentral.com | SQL Server 2019

SQL Server 2019 will bring more than graph query languages. We will be able to use a document query engine and a specific JSON engine.

Converting a History Table into a System-Versioned Temporal Table

SimpleTalk | SQL Server 2016

Temporal tables were introduced with SQL Server 2016. To take advantage of this feature, you might start fresh with a brand new table. It is possible, however, to convert an existing table with accumulated history to the new functionality. In this article, Mala Mahadevan explains how to create temporal tables for both scenarios.

Customizing Statistics Histogram in SQL Server 2019

SQLServerCentral.com | statistics

The use of statistics in SQL Server is tightly embedded in the query optimizer and query processor. The creation and maintenance of statistics is usually handled by the SQL Server engine, though many DBAs and developers know that periodically we might need to update those statistics to ensure good performance of queries. SQL Server 2019 gives us more options.

SQL in the City Summits – UK, US & Down Under

Redgate | event

Redgate are inviting senior data professionals to attend one of the upcoming SQL in the City Summit events taking place in April, May and June. If you’re interested in learning how your business can benefit from implementing Compliant Database DevOps this event is for you. Find out who’s presenting and register for a Summit near you today. Register now


  Question of the Day

Today's question (by Steve Jones - SSC Editor):


Sneakers Quotes

Sneakers was a thriller movie released in 1992. Finish this quote from the movie: "The world isn't run by weapons anymore, or energy, or money. It's run by little ones and zeroes, little bits of data. It's all _________."

Think you know the answer? Click here, and find out if you are right.


Redgate Webinars


  Yesterday's Question of the Day (by Steve Jones - SSC Editor)

Dynamic SQL calls

I have this code:

DECLARE @cmd NVARCHAR(1000) = N'SELECT oh.OrderKey,
FROM dbo.OrderHeader AS oh WHERE CustomerKey = @CustomerKey'; DECLARE @params NVARCHAR(1000) = '@CustomerKey int'; EXEC sp_executeSQL @cmd, @params

What's wrong with it?

Answer: There should be a third parameter for sp_executesql that includes the value to be used for @customerkey

Explanation: The way sp_executesql works is by taking a statement to execute and then a parameter list to pass into the first statement. Each parameter can be included as the 3rd, 4th, etc. parameter, or the values can be in the second parameter embedded. Ref: sp_executesql.

Discuss this question and answer on the forums


Database Pros Who Need Your Help

Here's a few of the new posts today on the forums. To see more, visit the forums.

Connect to Oracle and perdoem bulk insert - Hello, I have a regular ssis package that as a source to Oracle and that inserts data into a table. No transformations on this. This has now 600 million rows in the source and I need to insert it into my stage. Regular insert in now taking hours and I would like instead to do […]
Hello new world! - Just checking out the new forums…
Question Regarding Adding a Secondary Data File. - Hi All, I have a situation and hoping to have a right guidance. I have just recently inherited DB. the DB is of size of 200GB  on a drive of size 225 GB. Here we are talking about data drive with a mdf file. Since the growth of the DB we need more space and […]
Cannot Create a Connection To Data Source - I have Reporting Services installed on one server and the databases for it are hosted on another instance of SQL which is on a different server. I can run reports just fine when I’m on the server in which Reporting Services is installed. However, when I navigate to the Report Manager on my local machine […]
Difference in value from yesterday - I have a small table which collects disk size information and insert the data into a table. Now I see the disk size has changed from what it was yesterday to today. I am trying to figure out how to get the difference. For example, if the available GB yesterday was 16 and today is […]
SQLServerCentral v3 coming tomorrow - Comments posted to this topic are about the item
SQLServerCentral v3 is being released Mar 30, 2019 - Barring any major issues, we will release v3 of this site on Mar 30, 2019, early in the morning, UTC time. There will be an hour of downtime around 9-10am UTC. If you experience any issues or data loss, please post a note in the Website Issues forum or contact the webmaster (webmaster@ this domain). […]
Design Fact Table for survey - Hi AllI’m trying to design a model in PowerBi.I’ve developped a model with a fact table like this. 1- SurveyFact asThe difficulty I encounter is that I have to develop a report that is filtered based on the brand.  Could I create a dimension Brand in this model ??    Thank you for your help.
Restore VERIFYONLY vs RESTORE HEADERONLY WITH CHECKSUM - I have a combination sql/powershell script I’ve been using to do restore headeronly to verify the LSN chain is intact and it alerts if there is a break in it.  I was having it run after each log backup but these were bumping into each other and causing problems, so I’m moving to do one […]
Three-part check - This one has vexed me for quite some time now.  I inherited a three-part check form, two stubs followed by the check.  The only problem is that it doesn’t work.  Any time a check has more than four lines the check gets a page break and the check continues to print on the next page.  […]
Week Number with custom dates - Hi All I’m trying to pull out a week number but instead of using the default 01-Jan, I want to use a custom year and start date (in my case the year runs from 01-Aug to 31-Jul).  Therefore 01-Aug becomes week number 1.Anyone have a clue on how to do that?
Always On Availability Group Backup Question - Hi, I have AOAG set up with one of my databases. I only have a primary and secondary replica. For a while now, I’ve had my backup preferences for the AG set to “Primary” and I’ve been taking backups successfully using Ola Hallengren’s scripts. I’m actually at a point where I have the resources to […]
Double Sum in Pivot - I’m using this select to get pivot for column Prices. It’s fine, but I also want to do sum for columns M1,M2, and M3,M4. SELECT *,25 M1Cijena, 25 M2Cijena, 16 M3Cijena, 16 M4CijenaFROM (        select u.pin Pin,u.firstname Name,u.lastname,sum(tmt.Price) Prices, tmt.type MealType         from TA_Meals tm         left outer join […]
Memory Issue in Report Server - Hi Team,We have configured Replication from Prod — Report Server SQL Report Server is having  40 GB memory. We have set SQL server Max Memory to 24 GB. The report server configured to fetch the data from Prod server and we are not yet Pointed reports to Report server. My report server hitting  95% memory some times. […]
Dynamic SQL calls - Comments posted to this topic are about the item


RSS FeedTwitter

This email has been sent to {email}. 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.
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -