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
SQL SERVER - Outer Join in Indexed View - Question to Readers

SQL SERVER – Outer Join in Indexed View – Question to Readers

September 25, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Joins, SQL View, SQL White Papers

Why can’t you use an outer join in indexed view definitions? The SQL Server 2008 white paper answer, plus my question to you: can you show an example?

Read More
Index on View with Query Usage.

SQL SERVER – Interesting Observation – Index on Index View Used in Similar Query

September 24, 2009
Pinal Dave
SQL Puzzle
SQL Index, SQL Scripts, SQL White Papers

A query on the base table used an index it did not own. It was the index on index view of the same table, an interesting observation from an optimization project.

Read More
SQL SERVER - Insert Values of Stored Procedure in Table - Use Table Valued Function

SQL SERVER – Insert Values of Stored Procedure in Table – Use Table Valued Function

September 23, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL Stored Procedure, SQL Table Operation

How do you insert values of stored procedure output into a table? The traditional temp table way, and an alternate method with a Table Valued Function.

Read More
Gouache painting: on a farm table two bundles of asparagus, each tied with twine around three spears, sit side by side

Integer Division: Keep Quotient and Remainder Together

September 22, 2009
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

Integer division and modulo can reconstruct the original signed dividend. These read-only cases keep both operands, quotient, remainder and reconstructed value together.

Read More
SQL SERVER - Introduction to Service Broker and Sample Script

SQL SERVER – Introduction to Service Broker and Sample Script

September 21, 2009
Pinal Dave
SQL Tips and Tricks
Service Broker, SQL Download, SQL Scripts

Here is my introduction to Service Broker and sample script: messaging and queuing between instances, conversations and dialogs in SQL Server 2005.

Read More
Execution plan in SQL Server Management Studio.

SQL SERVER – Execution Plan and Results of Aggregate Concatenation Queries Depend Upon Expression Location

September 20, 2009
Pinal Dave
SQL Puzzle
SQL Documentation

Aggregate concatenation queries can return different results depending on where the expression sits. A simple script based on a note I found on Ward Pond’s blog.

Read More
A small field easel in a meadow with a palette and three brushes

A Minimal BI Stack on SQL Server

September 19, 2009
Pinal Dave
SQL Tips and Tricks
Business Intelligence, Data Warehousing, SQL Reports, SQL Server, SQL Server Agent

A minimal BI stack can start with SQL Server tables, stable views, one scheduled load, and one reporting tool that a small team can run.

Read More
Previous 1 … 681 682 683 684 685 686 687 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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