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

Updates to Azure Hybrid Benefit for SQL Server VMs

Recently Microsoft announced some exciting news in relation to Azure Hybrid Use Benefit (AHB) for SQL Server VMs. If you’re not familiar with Hybrid Benefit, it basically allows customers with...

View Article


Image may be NSFW.
Clik here to view.

Parallel package execution in Azure-SSIS Runtime

By:Koen Verbeeck | Last Updated: 2018-11-29 || Related Tips:More > Azure Problem I have created an SSIS project in Visual Studio. In this project, I have a master package starting multiple child...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2019 Memory Grant Feedback Example and Data Collection

By:Eduardo Pivaral | Last Updated: 2018-11-29 || Related Tips:More > SQL Server 2019 Problem One of the new features in SQL Server 2019 is the row mode memory grant feedback , that expands the...

View Article

Another alternative in SQL Server

I want to get results from the following table. Get all ID and treetypes except Apple having Id=102. Id TreeType --------------------- 99 Apple 99 Mango 102 Orange 101 Blackberry 102 Apple Result will...

View Article

SQL Server Guide To NULL Handling

Every language handles null equality differently and understanding this is crucial as a misunderstanding here can lead to some quite nasty unexpected results. In some languages NULL == NULL will be...

View Article


Image may be NSFW.
Clik here to view.

Testing Scalar UDF Performance on SQL Server 2019

One of the more compelling features (so far) in SQL Server 2019 (starting with the recently released CTP 2.1) is inlining of scalar user-defined functions . This feature has the potential to...

View Article

驱动获取SSDT表代码

#include <ntddk.h>typedef struct _SERVICE_DESCRIPTOR_TABLE { /* * Table containing cServices elements of pointers to service handler * functions, indexed by service ID. */ PULONG ServiceTable; /*...

View Article

Implementing A Change Tracking Solution In SQL Server

Jon Shaulis shows us how we can use Change Tracking to detect when rows get modified : This allows you to detect changes in a lightweight manner via the Transaction Log in SQL Server in combination...

View Article


Connection Failed With Error 772

Question:I’ve upgraded an application with a built in Database API . When attempting to establish a SQL Server database connection this error appears Connection failed SQL Server Error 772 TCPIP...

View Article


Image may be NSFW.
Clik here to view.

Treating SQL Server as an Object with PowerShell

In my previousarticle, I showed you how to use PowerShell to create a script to dump out all the tables of your databases to files. One concept that was introduced at the time was that PowerShell...

View Article

Power BI Introduction: Visualizing SQL Server Audit Data ― Part 9

The series so far: Power BI Introduction: Tour of Power BI ― Part 1 Power BI Introduction: Working with Power BI Desktop ― Part 2 Power BI Introduction: Working with R Scripts in Power BI Desktop ―...

View Article

Gruntj stops intermittently

The Android wire stops intermittently? I am writing a game for Android. One style of the game is for the user to play against the machine. In each iteration of play, the user or machine much place a...

View Article

Image may be NSFW.
Clik here to view.

Things I Learned at Summit v20 - Trace Flag 4199

Part of a series of posts on cool stuff I learned at PASS Summit v20 (2018) - in this first post we'll look at a trace flag I had never even heard of, let alone deployed - 4199....

View Article


Image may be NSFW.
Clik here to view.

Disable Data Sync for SQL Server Merge Replicated Table via Publisher

By:Jignesh Raiyani | Last Updated: 2018-11-30 || Related Tips:More > Replication Problem SQL Server replication enables synchronization of data between tables across databases on different...

View Article

Image may be NSFW.
Clik here to view.

Configure a Dedicated Network Adapter for SQL Server Always On Distributed...

By:Edwin Sarmiento | Last Updated: 2018-11-30 || Related Tips:More > Availability Groups Problem We are exploring SQL Server Always On Distributed Availability Group as our disaster recovery (DR)...

View Article


Checking the item status in the main detail in MSSQL

I have three tables, namely: Product ProductVariant SizeVariant Product is the master table , productvariant is its child table of it and sizevariant is productvariant's child table. All these tables...

View Article

Do You Have Trace Flag 4199 Enabled?

Andy Galbraith recommends that you enable trace flag 4199 in SQL Server : The session was titled “Modernize Your SQL Server with Bob Ward, the Tiger Team, and CSS Escalation Engineers” and...

View Article


Image may be NSFW.
Clik here to view.

Golden Records are Key to Solid Data Quality

Noted SQL Server MVP and founder/editor of SSWUG.org Stephen Wynkoop shares his take on the challenge to achieve quality data, and the importance of the "Golden Record" to an effective data quality...

View Article

Image may be NSFW.
Clik here to view.

My Book Contributions

It’s a Wonderful Life One of the really super cool things about the SQL community is the frequent opportunity one could have to get involved. One of my favorite methods of getting involved is the...

View Article

Updated First Responder Kit for November 2018: Get Into Sports Dummy

I dunno, I just like this picture. You can download the updated FirstResponderKit.zip here . sp_Blitz Improvements #1786 @dallyhorton made a good point: if we’re gonna warn you about Change Tracking,...

View Article
Browsing all 3160 articles
Browse latest View live