Quantcast
Channel: CodeSection,代码区,SQL Server(mssql)数据库 技术分享 - CodeSec
Browsing all 3160 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Calculating odds ratio with T-SQL and R

What are the odds of ... In this post am attempting to explore what can be deemed to be the most commonly used statistical concept - the odds ratio. We use this all the time when we examine what are...

View Article


Image may be NSFW.
Clik here to view.

SQL Server Default Port

In this article, we are going to explore the default port number of SQL Server required for getting connected to different applications. What is a Port?It is an endpoint of communication in an...

View Article


Image may be NSFW.
Clik here to view.

Events By Feature

Within the world of SQL Server there are a few things one can be certain of things will change. This is true of the features in SQL Server. Additionally, Extended Events is constantly evolving which...

View Article

Image may be NSFW.
Clik here to view.

What’s New in SQL Server 2016 Analysis Services

When Microsoft first included OLAP Services (the precursor of today’s SQL Server Analysis Services) in SQL Server 7, the company totally changed the enterprise database landscape. The introduction of...

View Article

Image may be NSFW.
Clik here to view.

Learn T-SQL with the StackOverflow Database

Background: acompany came to uswith a request: they had a lot of smart people who wanted to learn the basics of T-SQLin a day. Could webuild an intro-to-T-SQL course that didn’t suck? Well, sure as...

View Article


Image may be NSFW.
Clik here to view.

Telco Customer Churn with R in SQL Server 2016

by Fang Zhou, Data Scientist at Microsoft andWee Hyong Tok, Senior Data Scientist Manager at Microsoft In today’s fast-paced world, mobile phone customers have many choices and can easily switch...

View Article

Image may be NSFW.
Clik here to view.

SQL Server 数据库还原

数据库恢复大多是让人很头痛的部分。比如我,经常需要把生成环境的数据备份下来还原到测试环境中进行新功能的测试。 带我的前辈告诉我的方式是在SSMS中直接右键还原源选择恢复数据的来源数据库,目标选择要还原的数据库。 这种方式的成功率很低!经常会数据库使用中的错误提示:Exclusive access could not be obtained because the database is in use...

View Article

Image may be NSFW.
Clik here to view.

Configure SQL Server Merge Replication with Web Syncronization

Problem One of the things that needs to occur for SQL Server replication is the synchronization of data between the publisher and subscribers. In some cases machines may not be on the same network, so...

View Article


Image may be NSFW.
Clik here to view.

Upcoming SQL Server 2018 Features

If you think that’s big, you should see the size of the drink I happened to be in Seattle this week after finishing up an Alaska cruise, and I had the chance to sit down with some of the PMs...

View Article


Image may be NSFW.
Clik here to view.

ForumSurfer a RSS reader for the SQL Server online community

Today I published the first release of ForumSurfer , a RSS reader designed explicitly to be a tool for the SQL Server online community. Here is a screenshot: ForumSurfer has some unique features that...

View Article

Microsoft SQL Server: Advantages and Challenges from the Virtualization...

Databases help the business access information more quickly. This, in turn, allows employees to get more done in less time, which allows businesses to grow more rapidly. When businesses grow more...

View Article

Image may be NSFW.
Clik here to view.

Compare Repeatable Read and Serializable SQL Server Transaction Isolation Levels

By:Sergey Gigoyan || Related Tips:More >Locking and Blocking Problem Experienced SQL Server DBAs know that the Repeatable Read transaction isolation level protects queries from dirty reads and...

View Article

Image may be NSFW.
Clik here to view.

Calculating Median Absolute Deviation with T-SQL Code in SQL Server

Problem We're currently analyzing a data set and using median to find the central point of the data, but we think that based on some extreme values, this may not actually be the central point. We think...

View Article


FIX: The unattended execution account cannot be set at this time

I ran into this one today and it’s the in the category of things that I’m likely to run into again one day so it’s worth recording it here. I was trying to configure an unattended execution account for...

View Article

Managing SQL Server Backup and Restore History Information

Every time you backup or restore a database SQL Server keeps history information about the backup or restore operation. The backup and restore information is captured and stored in the msdb database....

View Article


Image may be NSFW.
Clik here to view.

Schedule Backup SQL Server 2008 R2

[Total: 1 Average: 5/5] If your locking for a way to make schedule backup SQL Server 2008 R2, then useSqlBak. This simple tool will make SQL Server database backups according to your schedule. Nowadays...

View Article

Importance of Database Backup In SQL Server

Overview To save any organisation from any big future loss, one needs make a proper strategy or disaster plan that will save them in their hard time. When working with critical data it becomes very...

View Article


Masking Your Data with SQL Server 2016

There are times when you want some users to see part of a column value but not the whole thing, but you want other users to see the complete column value without any masking. For example you may want...

View Article

Image may be NSFW.
Clik here to view.

Default Sessions Back to Basics

Remember When… Back in late December of 2015, a challenge of sorts was issued by Tim Ford ( twitter ) to write a blog post each month on a SQL Server Basic. Some have hash-tagged this as #backtobasics....

View Article

No 32-bit for SQL Server 2016 Express

I’ve learned that SQL Server 2016 Standard and Enterprise Editions no longer provide 32-bit. But I do wonder about SQL Server 2016 Express Edition. It’s different in that it’s free, and mostly geared...

View Article
Browsing all 3160 articles
Browse latest View live