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

SQL Express 2005 problem with VS 2008

I have SQL Server 2005 installed and VS 2008 on windows XP Pro SP2. I am building a VB.Net windows application and trying to add a .mdf database to it as a local db inside the project. But i always...

View Article


Image may be NSFW.
Clik here to view.

SQL SERVER Huge Size of SSISDB Catalog Database SSISDB Cleanup Script

In recent past, while doing Comprehensive Database Performance Health Check I encountered an interesting issue. In this blog, I am sharing my knowledge about how to clean up the SSISDB database using...

View Article


Image may be NSFW.
Clik here to view.

Unable to connect to SQL Server - Login failed

I am trying to connect to a SQL Server 2008, but I'm getting this error: Login failed for user "xyz" because the account is currently locked out.The system administrator can unlock it. (Microsoft SQL...

View Article

Image may be NSFW.
Clik here to view.

How to Grow All Files in a File Group Equally? TRACE FLAG 1117 Interview Q ...

Question:How to Grow All Files in a File Group Equally? Answer:If you are a regular reader of this blog, you would have read my earlier blog post writing about this subject over here: SQL Server 2016...

View Article

Image may be NSFW.
Clik here to view.

WHILE Loops in T-SQL Stored Procedures

In this lesson, we’re going to learn about the While Loop. So, what is a While Loop? Well, While Loop is set up using a While statement. While statements are used to repeatedly execute a block of SQL...

View Article


Image may be NSFW.
Clik here to view.

Using dbatools PowerShell Module To Set MAXDOP And Max Memory

As I continue my blog series on usingthe dbatools PowerShell module , today I want to discuss using it to set MAXDOP and Max Memory on your SQL Server. This builds directly off of my previous post on...

View Article

SDU Tools: Number to Roman Numerals in SQL Server

Ever since we've been shipping our free SDU Tools for developers and DBAs, we've been getting interesting requests from users for additions to the tools. Today's tool is one of the stranger requests...

View Article

Image may be NSFW.
Clik here to view.

Are You Making the Right Cloud Storage Decisions for SQL Server tempdb?

Tempdb is a critical system database in Microsoft SQL Server. It’s unique in that it’s a shared resourcetapped by all users of a SQL Server instance for hosting temporary user objects such as tables,...

View Article


Architecture v/s Code - Validating sys admins in SQL Server

In the misused agile world, it is always difficult to make sure the code is following the Architecture or Architecture document is following the code. 'Misused agile' means, using the word agile to...

View Article


Image may be NSFW.
Clik here to view.

sql server dynamic management views missing indexes | Dr DMV’s...

Home Server Objects sql server dynamic management views missing indexes | Dr DMV’s Troubleshooting Toolkit Server Objects sql server dynamic management views missing indexes | Dr DMV’s Troubleshooting...

View Article

Image may be NSFW.
Clik here to view.

Minimizing Downtime for SQL Server Upgrades Part 4

By:Ameena Lalani | Last Updated: 2018-11-28 || Related Tips:More > Upgrades and Migrations Problem Your company’s business is to host databases that require uptime of 24x7x365 days per year. Your...

View Article

Image may be NSFW.
Clik here to view.

Creating a Detailed SQL Server Reporting Services Report Containing External...

By:Nai Biao Zhou | Last Updated: 2018-11-28 || Related Tips: > Reporting Services Formatting Problem SQL Server Reporting Services (SSRS) has many revolutionary enhancements in the SQL Server 2016...

View Article

Fixing some of the problems caused when you introduce Columnstore indexes

Reading Time: 2 minutes In my lastpost I talked about fixing some of the problems caused when you introduce filtered indexes. In this post I will cover fixing some of the problems caused when you...

View Article


Image may be NSFW.
Clik here to view.

Connection failed - SQL Server Error 772 - TCPIP Socket

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 -...

View Article

Image may be NSFW.
Clik here to view.

Server consolidation and virtualization for optimizing SQL Server licensing...

One of the leading US agricultural suppliers wanted to upgrade their SQL Server system in order to reduce their overall SQL Server licensing expenses. We performed a thorough financial and technical...

View Article


Migrating SQL Server Reporting Services (SSRS)

For most Microsoft IT professionals, migrating or updating a native mode SQL Server Reporting Services (SSRS) installation from one version to another is a rare, if not once-in-a-lifetime, event and...

View Article

Image may be NSFW.
Clik here to view.

Saving your SQL Execution Plan

In the previous articles of this series (see the index at bottom), we discussed the characteristics of the SQL Execution Plan from multiple aspects, that include the way the SQL Execution Plan is...

View Article


Image may be NSFW.
Clik here to view.

New Resumable Online Index Create SQL Server 2019

SQL Server 2019 brings a very exciting new feature that, is long overdue. Resumable online index create is one of my favorite new things. This paired with the Resumable Index Rebuilds introduced with...

View Article

Image may be NSFW.
Clik here to view.

Shortcut: Query and results in separate tab in SQL Server Management Studio

Another simple tip for today. In SQL Server Management Studio (SSMS), query results are normally shown at the bottom of the query window. This can greatly reduce the screen real estate both for the...

View Article

Image may be NSFW.
Clik here to view.

New Technologies to Study

One great result from PASS Summit, especially when we are close to a new SQL Server release, is to identify important technologies to study on the following year. PASS Summit 2018 was great, with...

View Article
Browsing all 3160 articles
Browse latest View live