This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQLAuthority News - 500th Post - An Interesting Journey with SQL Server

SQLAuthority News – 500th Post – An Interesting Journey with SQL Server

March 7, 2008
Pinal Dave
SQLAuthority News
Database, DBA, Software Development, SQLAuthority Author Visit

I am very pleased to write my 500th post on SQLAuthority. Thank you to my family and to all of you, plus a look at the blog’s milestones so far.

Read More
A hand turning a red stopcock between two glass flasks

ACID Properties Shown With Real Transactions

March 6, 2008
Pinal Dave
SQL Tips and Tricks
ACID, SQL Server, SQL Transactions, Transaction Isolation

ACID properties shown With Real Transactions uses short SQL Server scripts to explain atomicity, consistency, isolation, and durability.

Read More
SQL SERVER - Simple Example of Cursor - Sample Cursor Part 2

SQL SERVER – Simple Example of Cursor – Sample Cursor Part 2

March 5, 2008
Pinal Dave
SQL Tips and Tricks
SQL Cursor, SQL Scripts

A reader asked me to update my Simple Example of Cursor with AdventureWorks. Here is a sample cursor that loops through ProductID and prints each one.

Read More
SQL SERVER - 2005 - A Simple Way To Defragment All Indexes In A Database That Is Fragmented Above A Declared Threshold

SQL SERVER – 2005 – A Simple Way To Defragment All Indexes In A Database That Is Fragmented Above A Declared Threshold

March 4, 2008
Pinal Dave
SQL Performance
SQL Error Messages, SQL Index, SQL Scripts, SQL Server DBCC

The BOL script to defragment all indexes in a database above a declared threshold failed with Msg 2501. I fixed the missing schema prefix so it runs on SQL Server 2005.

Read More
Gouache painting: on a vineyard floor four small wooden grape tubs sit in a two by two block, red and white grapes from two vineyard blocks

CUBE: Include Every Two-Dimensional Subtotal Combination

March 3, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Reports, SQL Scripts, SQL Server

CUBE requests every grouping combination of its dimensions, including independent subtotals and the grand total. I compare its output population with ROLLUP before choosing it. More subtotal families are useful only when the report needs them.

Read More
SQL SERVER - How to Retrieve TOP and BOTTOM Rows Together using T-SQL

SQL SERVER – How to Retrieve TOP and BOTTOM Rows Together using T-SQL

March 2, 2008
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Function, SQL Joins, SQL Scripts, SQL Server

Need TOP 1 and BOTTOM 1 in one result? UNION fails with two ORDER BY clauses. Here is a simple T-SQL way to retrieve TOP and BOTTOM Rows together.

Read More
SQL SERVER - Transfer The Logins and The Passwords Between Instances of SQL Server 2005

SQL SERVER – Transfer The Logins and The Passwords Between Instances of SQL Server 2005

March 1, 2008
Pinal Dave
SQL Tips and Tricks
SQL Download, SQL Scripts, SQL Server Security, SQL Utility

How do you transfer the logins and passwords between instances of SQL Server 2005 after a hardware upgrade? I summarize Microsoft KB 918992 and its script.

Read More
Previous 1 … 767 768 769 770 771 772 773 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com