Performance Tuning

SQLServerCentral Article

Performance Adding Hints

  • Article

During the process of performance tuning queries and stored procedures there comes a time when you will notice that the execution plan selected by SQL Server is not the best plan. On occasion, everything you try doesnt cause SQL Server to choose the best way to execute your code. These are the times when hints can improve performance.

5 (2)

You rated this post out of 5. Change rating

2002-09-10

9,413 reads

SQLServerCentral Article

Using Bitwise Operators to Boost Performance

  • Article

Bitwise operators can be challenging to manage at first. However, with practice and patience, and under the right conditions, these operators can provide remarkable performance improvements in production environments. This article will compare two methods of accomplishing the same output, one with a normalized model and the other with bitwise operators.

5 (3)

You rated this post out of 5. Change rating

2002-09-05

11,736 reads

SQLServerCentral Article

Relational Database Without Relations

  • Article

The strength and holy grail of relational databases lies in the very name: relations. Microsoft has put a good deal of intelligence and cunning into query optimizations, caching, indexing and execution plans to make the process of finding related records even smoother and faster. This small article, however, will try to shatter the very sacred notion of relational databases.

1 (2)

You rated this post out of 5. Change rating

2002-07-29

8,296 reads

SQLServerCentral Article

Understanding Execution Plans Part 1

  • Article

The purpose of this article is to give you a working knowledge of how to view and understand query execution plans for SQL Server. This is part 1 in a series of articles that will walk you through understanding execution plans to help you improve your queries.

4.44 (16)

You rated this post out of 5. Change rating

2002-07-26

24,256 reads

SQLServerCentral Article

Making Dynamic Queries Static

  • Article

Building and executing dynamic sql in a stored procedure - is it the only way to solve problems like supporting a simple search function? Leon offers a couple alternatives that let you continue to provide the functionality in a stored procedure without using dynamic sql. Interesting ideas worth exploring!

1 (2)

You rated this post out of 5. Change rating

2002-05-02

13,075 reads

SQLServerCentral Article

SQL Server 2000 Table Hints

  • Article

As you advance in your skills as a Transact-SQL developer or SQL Server database administrator there will come a time when you need to override SQL Server's locking scheme and force a particular range of locks on a table. This article by Randy Dyess shows you how to optimize your queries using table hints.

3 (2)

You rated this post out of 5. Change rating

2002-04-15

21,904 reads

Blogs

My 2024 in Data: Speaking

By

This is my last week of the year working (I guess I come back...

Top 5 Advanced SQL Courses for 2025 (Must-Know)

By

Want to seriously boost your data skills? Mastering advanced SQL is the key, whether...

My 2024 in Data: Travels

By

This is my last week of the year working (I guess I come back...

Read the latest Blogs

Forums

Backup issues

By Bruin

I''m running a stripped backup (2 files) to a Network share. It's a 32gig...

Function Defaults

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Function Defaults

Big Data or Small Data

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Big Data or Small Data

Visit the forum

Question of the Day

Function Defaults

I have created this function in SQL Server 2022:

CREATE FUNCTION dbo.AddInt (@one INT, @two INT = 1) RETURNS INT
AS
BEGIN
    RETURN @one + @two
END
How can I call this and invoke the default value for @two?

See possible answers