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

Image may be NSFW.
Clik here to view.

T-SQL Tuesday #81: Sharpen Something

It’s that time of the month… the time when all of the T-SQL bloggers have a party and blog about a specific topic. This month, the host is my friend Jason Brimhall ( b / t ). The topic that he has...

View Article


Image may be NSFW.
Clik here to view.

Different Methods to Sort SQL Server Result Sets

Problem I have a need to get more creative with the way my SQL Server results sets are returned based on user needs. Can you explain other ways that I can use the ORDER BY clause to control how data is...

View Article


Image may be NSFW.
Clik here to view.

What's New in Integration Services 2016 - Part 2

By:Koen Verbeeck || Related Tips:More >SQL Server 2016 Problem SQL Server 2016 has been released to General Availability (GA) at the first of June 2016. This release comes packed with dozens of new...

View Article

Bulk upsert into SQL Server

I recently worked through a situation where a bulk upsert (update if a matching record already exists; otherwise insert a new record) to SQL Server implemented using Entity Framework 6 was producing...

View Article

Image may be NSFW.
Clik here to view.

Master Data Management (MDM) Using SQL Server

Home SQL Database Delivery Master Data Management (MDM) Using SQL Server 10 August 2016 Master Data Management (MDM) Using SQL Server So many of the problems that organisations have with their IT...

View Article


Image may be NSFW.
Clik here to view.

SQL Server Newsletter @LearningTree

As many of you know I have been delivering Learning Tree training courses since way back in 2010. Combing training course delivery along with my other SQL Server consulting work has been very...

View Article

New Features in SQL Server 2016

There’s no doubt that SQL Server has been on a fast track release program and the upcoming SQL Server 2016 release will be just two short years after the last SQL Server 2014 release. For business...

View Article

Sql Server Query to Search any Text in All Stored Procedures, Views and...

Introduction : In this article I am going to explain How to find any text/string in all stored procedures or views or user defined functions. In previous articles i explained How to Search particular...

View Article


Image may be NSFW.
Clik here to view.

Clone a SQL Server Database Using DBCC CLONEDATABASE

By:Ahmad Yaseen || Related Tips:More >Performance Tuning Problem During your work as SQL Server DBA, you might need to create a copy of a production database to simulate testing scenarios on the...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2016’s JSON Integration

While the big theme for the release of SQL Server 2016 is embracing the cloud and cloud services, one of the most easily overlooked new features in SQL Server 2016 is its integrated support for JSON...

View Article

Image may be NSFW.
Clik here to view.

Bad Idea Jeans: Dynamically Generating Ugly Queries and Task Manager Graffiti

Say you’re at Dell DBA Days, and you want to build a really ugly query, fast. You want to generate a StackOverflow database query that will take a long time to compile, and maybe demand a huge amount...

View Article

Tricky TSQL: NOT IN

We’ve done this before , but we can go one better this time. Let’s take this step by step. NULL means “I don’t know”.It stand for an unknown value. Nothing can be equal to NULL.We simply can’t say...

View Article

Carl Trachte: sqlcmd faux csv dump and parsing with the csv module

Lately I had another Excel-VBA-python one off hack project. Once again there was the dilemma of not being able to use mssql's bcp because my query string was too long. sqlcmd can run a query from a big...

View Article


SQLSweet16!, Episode 5: TRUNCATE Selected Partitions

Reviewed By: Denzil Ribeiro, Kun Cheng Deleting all rows from a given partition is a very common operation on a partitioned table, especially in a sliding window scenario. In a sliding window scenario,...

View Article

AWS新增向DaaS上备份本地SQL Server的支持

AWS发布了一个针对其 关系型数据库服务 (RDS)的更新,让用户可以利用本地SQL Server的备份和恢复功能。该功能可以简化数据库迁移和灾难恢复,AWS通过抢先发布来和微软Azure争夺市场。 目前为止,RDS――除了SQL...

View Article


SQL Server中的行转列

with tt as(select s.MorOrAftOrEve, case s.MorOrAftOrEve when 1 then '上午' when 2 then '下午' else '晚上' end as MAE ,'第'+cast(s.Section as varchar(10))+'节' as JC, (CASE s.WeekDay when '星期一' then s.ProjectID...

View Article

Image may be NSFW.
Clik here to view.

Collect SQL Server Performance Counter Sets Using Logman

By:Susantha Bathige || Related Tips:More >Performance Tuning Problem I've been given a SQL Server instance to troubleshootperformance issues. I know one of the tools that I could use is windows...

View Article


Image may be NSFW.
Clik here to view.

SQL Server Temporary Table Caching

By:Simon Liew || Related Tips:More >System Databases Problem When local or global temporary tables are created or dropped, its metadata are inserted or removed from the tempdb system catalog. If...

View Article

Image may be NSFW.
Clik here to view.

Scalable No-Guesswork Deployments with the HPE Superdome X and SQL Server...

There are several ways you can go about adding new servers into your organization’s IT infrastructure. You can do the research yourself and attempt to put together your own custom configurations, or...

View Article

Suppported SQL Server versions in Replication Topology

Chris Skorlinski, Microsoft SQL Server Escalation Services Customer planning for migration to SQL Server 2016 asked for clarification on running mixed version of SQL Servers in their Replication...

View Article
Browsing all 3160 articles
Browse latest View live