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

Image may be NSFW.
Clik here to view.

#0386 SQL Server Cursor Scope A cursor with the name ‘cursor name’ do ...

It’s a well-known fact that using T-SQL cursors have a significant overhead on the query performance. At the same time, there are applications where one simply cannot use a set-based approach and use...

View Article


Tracking Data Changes of DML Operations In SQL Server

Overview There are three newly introduced features of SQL server 2008, these features are considered as auditing features of the server. List of these features are given below: Change Tracking Change...

View Article


Image may be NSFW.
Clik here to view.

Real-time Operational Analytics in SQL Server 2016 - Part 2

Introduction SQL Server 2016 introduces the Real-time Operational Analytics feature, which allows you to run both transactional/operational and analytics workloads on the same system without having the...

View Article

Image may be NSFW.
Clik here to view.

SQL Server COUNT() Function Performance Comparison

By:Simon Liew || Related Tips:More >Functions - System Problem SQL Server Developers have a variety of innovative ways to use the COUNT function in SQL Server. Often times the assumption is that...

View Article

Image may be NSFW.
Clik here to view.

SQL Server DBCC CLONEDATABASE Example

By:Rajendra Gupta || Related Tips:More >Performance Tuning Problem Microsoft has recently released SQL server 2014 SP2 in which a new DBCC command - DBCC CLONEDATABASE is introduced. I found this...

View Article


Image may be NSFW.
Clik here to view.

Speaking at Suburban Chicago SQL Server Users Group Tomorrow

I willbe presenting a technical session entitled ‘ Virtual SQL Servers. Actual Performance ‘ tomorrow evening forthe Suburban Chicago SQL Server Users Group . Doors open at 5:30pm and the session...

View Article

Image may be NSFW.
Clik here to view.

Query Store and Plan Forcing: What Do You Use It For

If you’re working with Azure SQL Database or you’ve moved into SQL Server 2016, one of the biggest new tools is the Query Store. It provides a mechanism of capturing query performance over time and...

View Article

Monday Morning SQL Break September 19, 2016

It’s Monday and time for this week’s blog and twitter round-up. It’s been a few weeks since the last recap, apparently vacation a month and a half ago slowed my roll on blogging. If you haven’t...

View Article


Amazon RDS for SQL Server now supports Local Time Zone

This feature will enable our customers to match their DB instance time zone to their chosen time zone. To change the time zone while creating a new RDS for SQL Server instance, use the ‘Select your...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER Puzzle Change in Date Format with Function

Last week we had amazing time with an interesting puzzle about Datetime. You can see the puzzle over SQL SERVER Puzzle Playing with Datetime with Customer Data .The puzzle was extremely well received...

View Article

Image may be NSFW.
Clik here to view.

Simple Experiment with SQL Server In-Memory OLTP is 71 Times Faster

By:Artemakis Artemiou || Related Tips:More >In-Memory OLTP Problem In-Memory OLTP in SQL Server is a very powerful feature. In one of my previoustips, I suggested three approaches you can follow in...

View Article

Load SQL Server T-SQL Query Results to Hadoop Using Sqoop

Problem I need to load the results from a SQL Server T-SQL query to a Hadoop Distributed File System. How can I do this? How can I validate the data was loaded correctly? Solution Apache's Sqoop has a...

View Article

Image may be NSFW.
Clik here to view.

Reading the SQL Server log files using TSQL

Problem One of the issues I have is that the SQL Server Error Log is quite large and it is not always easy to view the contents with the Log File Viewer. In a previous tip " Simple way to find errors...

View Article


Image may be NSFW.
Clik here to view.

[原]Sqlcmd导入数据脚本乱码解决方法

这类问题主要针对不同机器上数据交互出现,可能会出现由于脚本文件过大,记事本/查询分析器都无法打开,只能用命令行导入 特定环境下造成乱码时,可尝试以下解决方法 A服务器-->生成单表数据脚本(文件>100MB以上)-->在B服务器导入 1、模拟在A服务器生成脚本方法 操作步骤: Step1、在导入数据库―右健―任务―生成脚本 Step2、选中导出对象表...

View Article

dotConnect for PostgreSQL v7.6发布,新增SSDT-BI项目模板

>>点击下载dotConnect for PostgreSQL最新版试用<< 新功能: Microsoft SQL Server数据工商务智能分析服务(SSDT-BI)项目模板,报告服务以及集成服务(映射向导)都在 Visual Studio 2015中支持。 在SSIS数据流组件中支持Microsoft SQL Server 2016 关于Entity Developer:...

View Article


SSMS Keeps Crashing

All About SQL I am a Senior DBA with interest in MS technology especially SQL Server and Azure. During 2015 I was mentored by Paul Randal Data Platform (SQL Server) MVP and during 2016 I completed my...

View Article

“Witch” Statistics?

Three men are in a hot-air balloon. Soon, they find themselves lost in a canyon somewhere. One of the three men says, “I’ve got an idea. We can call for help in this canyon and the echo will carry our...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2016 Report Builder update now available

The SQL Server Reporting Services team is pleased to announce the firstupdate for SQL Server Report Builder 2016 is now available in the Download Center. Download SQL Server Report Builder2016 This...

View Article

Image may be NSFW.
Clik here to view.

SQL SERVER How to Hide Number of Rows Affected Message? SET NOCOUNT

This blog post be ideallytitled as back to basics as it is going to talk about one of the very old topics of SQL Server. Though this may look very simple for many, this blog post conveys the message...

View Article

Image may be NSFW.
Clik here to view.

Create a basic KPI in SQL Server Reporting Services 2016

By:Koen Verbeeck || Related Tips: > Reporting Services KPI Problem We are using SQL Server Reporting Services (SSRS) 2016. I'd like to create a key performance indicator (KPI) to track the status...

View Article
Browsing all 3160 articles
Browse latest View live