Quantcast
Channel: Comments on: SQL SERVER – Challenge – Puzzle – Usage of FAST Hint
Browsing all 28 articles
Browse latest View live

By: Benjamin Nevarez

Something I wrote for Chapter 7 of my book about the Query Optimizer “This hint can help in applications where you want to retrieve the first records of a query as quickly as possible and perhaps you...

View Article



By: aasim abdullah

We have many complex queries, most of them returns DISTINCT rows. These query are slow because of DISTINCT. When ever we need to get some quick results we like to use FAST hint. Which omits sort...

View Article

By: Ramdas

Thanks for witing on this topic, Looks like these can be used in certain scenarios like DISTINCT, would like to check this out.

View Article

By: SQL SERVER – Challenge – Puzzle – Why does RIGHT JOIN Exists Journey to...

[...] I wrote SQL SERVER – Challenge – Puzzle – Usage of FAST Hint and I did receive some good comments. Here is another question to tease your mind. Run following [...]

View Article

By: SQL SERVER – Challenge – Puzzle – Why does RIGHT JOIN Exists Journey to...

[...] SQL SERVER – Challenge – Puzzle – Usage of FAST Hint [...]

View Article


By: Ewelina

Hello Pinal, Thank You for writting this topic! It helped me to figure out how to accelerate my view. It uses couple unions, and one pivot, and the difference is really very important! I really...

View Article

By: Brad Schulz

Hi Pinal… I wrote a blog post in August that gave an example of using the FAST hint: http://bradsruminations.blogspot.com/2010/08/taking-hint.html The FAST hint won’t help in just scanning one table…...

View Article

By: SQL SERVER – 3 Simple Puzzles – Need Your Suggestions « Journey to SQL...

[...] SQL SERVER – Challenge – Puzzle – Usage of FAST Hint [...]

View Article


By: pinaldave

This is great blog post Sir! I think you nailed it!

View Article


By: samira

I never use this hint but I think it maybe usefull for some reporters which not showing data until recieve it all. if programmer can trick the reporter and with this syntax show preview of first page...

View Article

By: SQL SERVER – Solution – Challenge – Puzzle – Usage of FAST Hint Journey...

[...] The puzzle was posted here: SQL SERVER – Challenge – Puzzle – Usage of FAST Hint [...]

View Article

By: SQL SERVER – Weekly Series – Memory Lane – #005 « SQL Server Journey with...

[...] SQL SERVER – Challenge – Puzzle – Usage of FAST Hint [...]

View Article

By: Michael

I’ve seen it used in in situations where the query is feeding an SSIS package. For big record sets this can make a difference because SSIS can start to process the returned records sooner.

View Article


By: SQL SERVER – Weekly Series – Memory Lane – #006 « SQL Server Journey with...

[...] SQL SERVER – Challenge – Puzzle – Usage of FAST Hint (Solution)  [...]

View Article

By: Ankit

which query is ruuning faster? 1. Select * from tablename Or Select Column1,Column2,…. from tablename.

View Article


By: American

The fast option is used by programmers to speed up presentation and movement through a scrolling list.

View Article

By: stevanuz

but you may get duplicate rows instead which defeats the logic if as u said distinct is not applied for the first fast (n) rows. LikeLike

View Article


By: stevanuz

doesn’t really matter about complexity if u select all, but for code maintenance, the 2nd give u no headache LikeLike

View Article

By: JL

I have a situation where I submit a query using FAST 1 but alter the value in the WHERE clause with markedly different results. In scenario A the response is sub-second, in scenario B the response is...

View Article

By: Pinal Dave

I believe, SQL is making more efforts to get you all the rows but getting 1 row faster due to Fast 1 hint. LikeLike

View Article
Browsing all 28 articles
Browse latest View live




Latest Images