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

Sql Server 2008 Nesting Views

Is there a general best practice on whether or not to use nested views? Is there a performance hit when using nested views? Is there a best practice that says there really isn't a performance hit until...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER Parallelism for Heap Scan

Every consulting engagement is different and I enjoy interacting with different people while I am working with different experts. Earlier this week, here is what I heard during one of the...

View Article


Three Easy SQL Server Performance Wins

As any veteran production DBA knows, you are often under significant pressure to diagnose and alleviate database performance issues as quickly as possible. Here are three things you might be able take...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Execution Plan Operators Part 3

In theof this series, we discussed a group of SQL Server Execution Plan operators that you will face when studying the SQL Execution Plan of different queries. We showed the Table Scan, Clustered Index...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Execution Plan Operators Part 4

In theof this series, we went through three sets of SQL Server Execution Plan operators that you will meet with while working with the different Execution Plan queries. We described the Table Scan,...

View Article


Image may be NSFW.
Clik here to view.

T-SQL Tuesday 108 Invitation- Non SQL Server Technologies

T-SQL Tuesday 108 Invitation- Non SQL Server Technologies Diligentdba 46159 Posted on 29 October 2018 Comments I am proud and honored to be hosting T-SQL Tuesday again. This monthly blog party started...

View Article

Image may be NSFW.
Clik here to view.

Amazon Redshift Unexpected Commit

If you are familiar withsqlhammer.com, then you know that I heavily specialize in the Microsoft Data Platforms. My experiences with Microsoft, and specifically the SQL Server products, established an...

View Article

Image may be NSFW.
Clik here to view.

What Is SQLPSX?

I was and still am a big fan of SQLPSX (SQL PowerShell Extensions). Its is a complete PowerShell library for SQL Server written by Chad Miller and Mike Shepard, and I was one of the developers on some...

View Article


Image may be NSFW.
Clik here to view.

Data Science in SQL Server: Unpivoting Data

In this article, in the series, we’ll discuss understanding and preparing data by using SQL unpivot. As I announced in my previous article, Data science in SQL Server: pivoting and transposing data ,...

View Article


Consolidated view of interface states

We are in process of designing different interfaces for our system. We need to pull information from 3rd party systems into our own system which runs on SQL Server 2008 R2. We want to be able to view...

View Article

Image may be NSFW.
Clik here to view.

Bug: Script Task - Cannot load script for execution

Case My Script Tasks are running fine in Visual Studio 2017, but when deployed to the catalog I get an error in all Script Tasks:Cannot load script for execution Error: Cannot load script for...

View Article

Image may be NSFW.
Clik here to view.

The request channel timed out while waiting for a reply after...

We have SSIS jobs which retrieve incremental data from Dynamics CRM 365 and run every 2 hours. Recently we observed few jobs were failing with request channel timed out error. We figured out that these...

View Article

Image may be NSFW.
Clik here to view.

SSIS Unable to cast COM object of type ‘System.__ComObject’ to class type ‘Sy...

This post giving one of the possible solution to resolve the error above. You have a Script Task in SSIS and utilizing the Connection Manager. The Connection Manager Provider type is Native OLE DB\SQL...

View Article


Image may be NSFW.
Clik here to view.

Overview of SQL Server 2019 Features

By: Rajendra Gupta || Related Tips:More >SQL Server 2019 Problem Microsoft recently announced the preview of SQL Server 2019 on September 24 at the Ignite 2018 Conference. Really! Yes, Microsoft is...

View Article

Image may be NSFW.
Clik here to view.

Adding a Primary Key to a Prepopulated Table using SQL Server Object Explorer...

By: Haroon Ashraf || Related Tips:More >Database Design Problem A SQL Server table was created without a primary key and is populated with data. I have been tasked to a add primary key to this...

View Article


How do I perform the EXEC task in a & ldquo; Loop & rdquo ...

How do I perform the EXEC task in a "loop" with MSBuild ItemGroups? Instead of repeating this command over and over, like so: <Exec ContinueOnError="false" Command="sqlcmd -S $(ServerName)...

View Article

Image may be NSFW.
Clik here to view.

Zombie Spids A true SQL Server horror story

Reading Time: 2 minutes Intro Since it’s Halloween this week I thought I would cover a true SQL Server horror story in this post, zombie spids. What are zombie spids? Well they are basically spids...

View Article


How SQL Server Implements Index Spooling

Hugo Kornelis has a long article which dives into the way SQL Server handles index spooling : A Table Spool operator stores its data in a worktable that is structured as a clustered index. The index...

View Article

SQL Interview Questions on SQL Server replication Part 1

The following is the first part of SQL interview questions series, covering the topic of SQL Server Replication SQL Interview Questions 1: What are the new features added in SQL Server 2008...

View Article

SQL Interview Questions on SQL Server replication Part 2

The following is the second part of SQL interview questions series, focusing mostly on the replication monitoring, most common SQL Server Replication errors and different replication scenarios. SQL...

View Article
Browsing all 3160 articles
Browse latest View live