Quantcast
Browsing all 3160 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

SQL Server数据库邮件发送异常案例

最近遇到两起关于SQL Server数据库邮件发送异常的案例,这些问题也有点意思,顺便记录一下。方便以后遇到类似问题的人为这些问题抓狂!多提供一点思路。 案例1:我们一台数据库服务器突然发送邮件都不行了,出现问题时,检查邮件发送记录,你会发现发送状态都是failed。 SELECT * FROM msdb.dbo.sysmail_faileditems SELECT * FROM...

View Article


Different Ways to Flush or Clear SQL Server Cache

By:Bhavesh Patel || Related Tips:More >Performance Tuning Problem Sometimes there are issues due to what SQL Server has stored in its cache. Here are some possible reasons which may create caching...

View Article


Image may be NSFW.
Clik here to view.

UPDATE语句中SET部分列赋值的先后顺序有影响么?

昨天研发同事问我个问题,UPDATE语句中SET部分列赋值的先后顺序会影响结果么?以前没考虑过这个问题,因为通常我们都会UPDATE时给列赋予一个确定的值,而不是一个依赖于其他列的值。 测试环境: DROP TABLE TB1001;CREATE TABLE TB1001( ID INT PRIMARY KEY, C1 INT, C2 INT);INSERT INTO TB1001 ( ID,...

View Article

Image may be NSFW.
Clik here to view.

SQL Set Operations in SQL Server

In this puzzle, we’re going to about SQL set operations . Set operations allow us to compare rows from two or more tables to arrive at a result. For several classes of problems, is is much easier to...

View Article

Image may be NSFW.
Clik here to view.

Professional Microsoft SQL Server 2016 Reporting Services and Mobile Reports

A few weeks ago, Wrox Publishers released their book entitled Professional Microsoft SQL Server 2016 Reporting Services and Mobile Reports written by Paul Turley ( B | T ), an independent BI...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER Error 33222, Level 16 Audit ‘MyAudit’ Failed to Start

My learning is always fun. I strongly believe that unless you break something, you can’t learn how to fix them. While writing a new blog about auditing, I faced an interesting error. So, I thought of...

View Article

Image may be NSFW.
Clik here to view.

Concept and basics of DBCC Commands in SQL Server

Many DBA’s and database developers aren’t very familiar with DBCC commands (aka Database Console Commands) because they don’t always have the chance to work with them. In this article, we’ll provide a...

View Article

Image may be NSFW.
Clik here to view.

SSIS Catalog Logging Tables

Making the most of the SSIS catalog requires an understanding of how to access the information stored in the logging tables. Although there are built-in reports to show this information, there are...

View Article


Friday Reading 2017-03-31

I’m Andrew Pruski and I am a SQL Server DBA with 5 years experience in database development and administration. The online SQL Server community has helped me out immensely throughout my career, whether...

View Article


SQL Server tempdb: sort_in_tempdb & -k startup option

Months ago, Jimmy May (@aspiringgeek on Twitter) asked me if I'd used the SQL Server -k startup option. I'd read about it, but never tested it and hadn't seen it deployed on systems I'd worked with....

View Article

Image may be NSFW.
Clik here to view.

How to use Microsoft Assessment and Planning (MAP) Toolkit for SQL Server

As a Microsoft SQL Server Database Consultant, I have to visit multiple companies with variety of SQL Server versions and patch level. Generally speaking, we need to analyze the environment of these...

View Article

All the Masking in the World Can Maybe Cover Your Dirty Laundry….

I have spent the last week learning about new features in SQL Server 2016 and one that I want to play with is Dynamic Data Masking (DDM). What is data masking? It is a way to change or hide sensitive...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Database Schema Synchronization via SQLPackage.exe and PowerShell

By:Jeffrey Yao || Related Tips:More > Comparison Data and Objects Problem There are many times that we may want to update a SQL Server database with another database to achieve schema level...

View Article


Image may be NSFW.
Clik here to view.

T-SQL Tuesday #89 Invitation The times they are a-changing

T-SQL Tuesday is a monthly blog party for the SQL Server community (or Microsoft Data Platform community. Although it’s called T-SQL Tuesday, it’s not limited to SQL Server database engine only). It...

View Article

Image may be NSFW.
Clik here to view.

Performance Myths : Table variables are always in-memory

Guest Author : Derik Hammer ( @SQLHammer ) Recently Aaron Bertrand blogged about Harmful, Pervasive SQL Server Performance Myths . As an extension of this blog series, I am going to disprove this...

View Article


Image may be NSFW.
Clik here to view.

Azure SQL DB What Happened to SQL Server Agent?

I recently presented a webinar introducing Azure Automation, and addressing concerns about how SQL Server Agent is not available in Azure SQL DB. I want to use this post to make my presentation...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Data Warehouse design best practice for Analysis Services (SSAS)

Before jumping into creating a cube or tabular model in Analysis Service, the database used as source data should be well structured using best practices for data modeling. Some might say use...

View Article


Image may be NSFW.
Clik here to view.

How I Became A…SQL Server Data Professional

Last night I saw a tweet from Matt Gordon ( b | t ); the topic caught my eye “How I Became A…SQL Server Data Professional”. The original idea spawned from Kevin who is known as the SQL Cyclist ( b | t...

View Article

Fixing “Possible Date Calculation Spin For Schedule” Error

I recently ran into a strange error when trying to modify a SQL Agent job. This was an existing job that had been created a year or so ago, and I was attempting to update the schedule to make it run...

View Article

VMware: SQL Server VM Performance with VMware vSphere 6.5

Achieving optimal SQL Server performance on vSphere has been a constant focus here at VMware; I’ve published past performance studies with vSphere 5.5 and 6.0 which showed excellent performance up to...

View Article
Browsing all 3160 articles
Browse latest View live