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

Image may be NSFW.
Clik here to view.

SQL SERVER Unable to Recycle ERRORLOG Using sp_cycle_errorlog

There are many DBAs who create jobs in SQL Server to recycle ERRORLOG files every midnight. They also increase the files from 6 to a bigger number so that they have data for more than 6 days. Here is...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2014 Database Mail重复发送邮件特殊案例

在一数据库服务器(Microsoft SQL Server 2014 (SP2) (KB3171021) - 12.0.5000.0 (X64))发现有个作业调用Database Mail发送邮件时,有时候出现同样的邮件发送两封的情况,经过详细检查,排除了该作业里面业务逻辑有问题的情况,确实存在重复发送邮件的情况, 检查Database Mail日志,发现在0:00~0.03报“The mail...

View Article


Image may be NSFW.
Clik here to view.

SQL Server install error Wait on the Database Engine Recovery Handle Failed

By:Manvendra Singh || Related Tips:More > Install and Uninstall Problem Last week I was installing a SQL Server 2014 standalone instance. I did all the prerequisites and then started installing SQL...

View Article

Image may be NSFW.
Clik here to view.

Backup Compression Performance Enhancements for SQL Server 2016 TDE Enabled...

Problem Typically backup compression on a TDE enabled SQL Server database is not recommended as backup compression is not able to significantly compress the backup file. Starting with SQL Server 2016,...

View Article

Image may be NSFW.
Clik here to view.

Detecting outliers and fraud with R and SQL Server on my bank account data Pa...

Detecting outliers and fraudulent behaviour (transactions, purchases, events, actions, triggers, etc.) takes a large amount of experiences and statistical/mathetmatical background. One of the samples...

View Article


Image may be NSFW.
Clik here to view.

#0392 SQL Server SSIS OLE DB Destination Table Fast Load Check Co ...

Developing SSIS packages is quite easy it’s mostly drag and drop and some minor configuration, which is a really boon for someone who is new to SSIS. However, when it comes to tuning the package, one...

View Article

VMware CPU Co-Stop and SQL Server Performance

You’ll need access into VMware’s vCenter Server to see this metric. It’s not visible from inside the VM. At least read-only access is advised, and if you’re a DBA, you need access into this layer...

View Article

Writing loops in T-SQL

The topic is quite old, but I found it really helpful, so be warned. Scenario: Iterate over a result set and insert it in a new table in T-SQL I had to write a SQL migration script to move date from an...

View Article


Image may be NSFW.
Clik here to view.

Watch my PASS Summit Session on PASS TV

Devin Knight Devin is a BI consultant at Pragmatic Works Consulting. Previously, he has tech edited the book Professional Microsoft SQL Server 2008 Integration Services and was an author in the book...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER Unable to Bring SQL Online DoSQLDataRootApplyACL : Failed to Cr ...

Here is one of email which I received from one of my clients where he mentioned that he was unable to bring SQL Online. Pinal, I need assistance in getting the failed SQL Server resource online on the...

View Article

Monitoring and Alerting for Availability Groups

I have returned from my eighth PASS Summit and, as in years past, they just keep getting better. I am amazed and humbled that I am a part of the PASS community. PASS has given me the opportunity to...

View Article

Image may be NSFW.
Clik here to view.

How to run the Technical Preview of Power BI Reports in SQL Server Reporting...

What a week! With the announcement and release this week of the Technical Preview of SQL Server Reporting Services in Microsoft Azure , it’s been a whirlwind of activity and excitement. And while...

View Article

Image may be NSFW.
Clik here to view.

Ten things you might have missed in the Technical Preview of Power BI Reports...

Whew this is my fourth (and final!) blogpost in four days around the Technical Preview for SQL Server Reporting Services . It’s been a lot of work, but also a lot of fun putting these together. For my...

View Article


Image may be NSFW.
Clik here to view.

PASS Summit 2016 Wrapup

Last week I had one of the best experiences of my career attending this year’s PASS Summit in Seattle . I felt like this event came up suddenly, as this last year has been a blur with the move to...

View Article

Image may be NSFW.
Clik here to view.

The Importance of a Quality Job Description for SQL Server Professionals

By:Erica Woods || Related Tips:More > Professional Development Management Problem When we hear managers expressing frustration at the caliber or level of candidates they want for their open...

View Article


Image may be NSFW.
Clik here to view.

Drop table from a published SQL Server database

By:Rajendra Gupta || Related Tips:More >Replication Problem Sometimes there is a need to drop a SQL Server table from a database that is published for transactional replication. In this tip we will...

View Article

Image may be NSFW.
Clik here to view.

CISL 1.4.0 is released

Another happy release of the CISL (Columnstore Indexes Script Library) is live this time it is 1.4.0 ! This release is focusing on the addition of the Extended Events, so that a user of CISL can...

View Article


SSAS Documentation With Squarehouse Commentary

A few months ago I found out about a new tool for managing and viewing Analysis Services Multidimensional documentation called Squarehouse Commentary . I’ve now had the chance to play around with it...

View Article

Image may be NSFW.
Clik here to view.

New Server Timings features in DAX Studio 2.5.0 #dax #powerbi #ssas #tabular

Last week, a new version of DAX Studio (2.5.0) has been released. You can find a summary of the new features in the blog post from Darren Gosbell - thanks Darren for your wonderful job with this tool!...

View Article

Image may be NSFW.
Clik here to view.

[原]全废话SQL Server统计信息(1)――统计信息简介

当心空无一物,它便无边无涯。树在。山在。大地在。岁月在。我在。你还要怎样更好的世界?――张晓风《我在》 为什么要写这个内容? 随着工作经历的积累,越来越感觉到,大量的关系型数据库的性能问题,其根源在于统计信息。这里说的是根源,其实很多时候大家觉得的那些什么索引失效等都只是表象。当然,不能一概而论,还有很多问题如配置问题、设计问题等等,甚至电源也会影响性能。...

View Article
Browsing all 3160 articles
Browse latest View live