Performance Tuning

SQLServerCentral Article

Dynamic SQL or Stored Procedure

  • Article

We've had a lot of coverage of dynamic sql (including another great one from Robert Marda later this week) but this one is a little different. Done in a question/answer format, Andy tries to explain to junior developers why dynamic sql is to be avoided, how to do so, what to do when you can't.

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

(3)

You rated this post out of 5. Change rating

2005-08-26 (first published: )

48,562 reads

SQLServerCentral Article

Cluster That Index!

  • Article

Quite a while back Andy wrote an article about why not using primary keys and clustered indexes was a worst practice. Chris weighs in this week with a great article that gives some more in depth info on clustered indexes and why he thinks they should be used on every table.

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

(10)

You rated this post out of 5. Change rating

2003-03-30

19,005 reads

SQLServerCentral Article

Analyzing and Optimizing T-SQL Query Performance Part 1

  • Article

In this series by Quest Software's Kevin Kline, he shows you some tips to performance tuning T-SQL. This was contributed by Quest from their recent webcast. This white paper discusses various T-SQL discovery, optimization and tuning techniques using the SET and DBCC commands.

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

(2)

You rated this post out of 5. Change rating

2003-03-06

2,679 reads

Blogs

Monday Monitor Tips: Cloud Migration

By

We added costing information awhile back to Monitor for your cloud VM estate. We’ve...

Word to the wise: don’t turn on SQL vulnerability checks on a blog about SQL

By

Recently, in an attempt to thwart leechers (1990s kids will know), I added some...

Dazzling Stuff in Databricks (SQL) – Qualify

By

Once upon a time I had a series about some cool stuff in Snowflake:...

Read the latest Blogs

Forums

The Speed of Count

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Speed of Count

Detecting Outliers in Power BI Using IQR

By Dinesh Asanka

Comments posted to this topic are about the item Detecting Outliers in Power BI...

Moving to a New Platform

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Moving to a New Platform

Visit the forum

Question of the Day

The Speed of Count

Which of these might run quicker on the AdventureWorks database in SQL Server 2025?

-- A
select count(*) from AdventureWorks.Sales.OrderDetail

-- B
select count(1) from AdventureWorks.Sales.OrderDetail

-- C
select count(OrderDetailID) from AdventureWorks.Sales.OrderDetail

See possible answers