Quantcast
Channel: SQL Server
Browsing all 3819 articles
Browse latest View live

Blog Post: The New PASS Executive Committee of 2014

I’m sure you can understand the high level of interest I have in the internal affairs and governance of PASS .  After all, I was one of the founders of the organization way back in 1999 and was...

View Article


Wiki Page: Queries Waiting For Memory

See Also: [[wiki:Main Page|Main_Page]] - [[wiki:Transact SQL Code Library|Transact SQL Code Library]] - [[wiki:Memory related DMV Queries|Memory Performance Tuning]] This query returns queries...

View Article


Wiki Page: File Activity

See Also: [[wiki:Transact SQL Code Library|Transact SQL Code Library]] Here's how to find out which data and log files have had the most reads or writes. There's also a line to filter by database name...

View Article

Wiki Page: Find Missing Indexes

See Also: [[wiki:Main Page|Main_Page]] - [[wiki:Transact SQL Code Library|Transact SQL Code Library]] - [[wiki:Index Related DMV Queries|Index Performance Tuning]] Contents 1 Missing Indexes 2...

View Article

Wiki Page: Count Rows in All Tables

See Also: [[wiki:Main Page|Main_Page]] - [[wiki:Transact SQL Code Library|Transact SQL Code Library]] - [[wiki:Size Calculations|Size Calculations]] This script counts the number of rows in all...

View Article


Wiki Page: Current Memory Use By SQL Server

See Also: [[wiki:Main Page|Main_Page]] - [[wiki:Transact SQL Code Library|Transact SQL Code Library]] - [[wiki:Memory related DMV Queries|Memory Performance Tuning]] See where SQL Server's memory is...

View Article

Wiki Page: Find Indexes Not In Use

See Also: [[wiki:Main Page|Main_Page]] - [[wiki:Transact SQL Code Library|Transact SQL Code Library]] - [[wiki:Index Related DMV Queries|Index Performance Tuning]] This query can help identify indexes...

View Article

Wiki Page: Find Queries in the Plan Cache That Are Missing an Index

See Also: [[wiki:Main Page|Main_Page]] - [[wiki:Transact SQL Code Library|Transact SQL Code Library]] - [[wiki:Index Related DMV Queries|Index Performance Tuning]] Queries in the Plan Cache That Are...

View Article


Wiki Page: Queries with Index Scans Due to Implicit Conversions

See Also: [[wiki:Main Page|Main_Page]] - [[wiki:Transact SQL Code Library|Transact SQL Code Library]] - [[wiki:Procedure Cache Related Queries|Procedure Cache Related Queries]] This query can find...

View Article


Wiki Page: Queries in Procedure Cache

See Also: [[wiki:Main Page|Main_Page]] - [[wiki:Transact SQL Code Library|Transact SQL Code Library]] - [[wiki:Procedure Cache Related Queries|Procedure Cache Related Queries]] This query can almost...

View Article

Wiki Page: Calculate Current Table Sizes

See Also: [[wiki:Main Page|Main_Page]] - [[wiki:Transact SQL Code Library|Transact SQL Code Library]] - [[wiki:Size Calculations|Size Calculations]] This script loops through all of the objects in the...

View Article

Wiki Page: Misc DMV queries

See Also: [[wiki:Main Page|Main_Page]] - [[wiki:Transact SQL Code Library|Transact SQL Code Library]] - [[wiki:Current Activity|Current Activity]] This query gives you a good idea of what is going on...

View Article

Wiki Page: SQL Server Agent Job Query Samples

Contents 1 Querying for Failed Jobs 1.1 Query Test Checklist 2 Retrieve and Disable All Active Jobs 2.1 Query Test Checklist 3 Order all Job Steps Alphabetically 3.1 Query Test Checklist Querying for...

View Article


Wiki Page: SQL Server

SQL Server is a relational database server, developed by Microsoft: It is a software product whose primary function is to store and retrieve data as requested by other software applications. Much like...

View Article

Blog Post: Point-In-Time Dimension Reporting In DAX

Before I start, I have to state that the technique shown in this post isn’t mine but was developed by my colleague Andrew Simmans, who has very kindly allowed me to blog about it. Over the last few...

View Article


Blog Post: Eating the elephant one bite at a time: knowing your tables

In this segment, we will look at the most basic unit of the database: tables. We will look at their implementation in SQL Server and also in Hive. Tables, in SQL Server, contain the data in a...

View Article

Blog Post: AlwaysOn Availability Groups Real-Life Lessons Learned (Video)

SQL Server 2012 introduced AlwaysOn Availability Groups, a feature intended to replace clustering, database mirroring, log shipping, replication, and other technologies by giving us one easy-to-manage...

View Article


Blog Post: Why “Power BI” is a Big Deal

A preview of Power BI will be available later this summer.  Here’s a recap of what I’ve learned so far + why I think this is a very big deal for the world of Microsoft Business Intelligence. Excel is...

View Article

Blog Post: Video: VPC Concepts

The information provided in this video is meant as a tutorial. It is not the final word on security or setup for your particular case. In Simpler terms: USE at your own risk. That said, I hope it...

View Article

Blog Post: Generic Dynamic SQL Stored Procedure

Recently I came across a post on http://www.StackOverflow.com that basically asked how to write a generic stored procedure to handle dynamic SQL . Honestly I found the idea interesting and coming up...

View Article
Browsing all 3819 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>