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 ArticleBy: 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 ArticleBy: 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 ArticleBy: 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 ArticleBy: SQL SERVER – Challenge – Puzzle – Why does RIGHT JOIN Exists Journey to...
[...] SQL SERVER – Challenge – Puzzle – Usage of FAST Hint [...]
View ArticleBy: 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 ArticleBy: 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 ArticleBy: SQL SERVER – 3 Simple Puzzles – Need Your Suggestions « Journey to SQL...
[...] SQL SERVER – Challenge – Puzzle – Usage of FAST Hint [...]
View ArticleBy: 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 ArticleBy: SQL SERVER – Solution – Challenge – Puzzle – Usage of FAST Hint Journey...
[...] The puzzle was posted here: SQL SERVER – Challenge – Puzzle – Usage of FAST Hint [...]
View ArticleBy: SQL SERVER – Weekly Series – Memory Lane – #005 « SQL Server Journey with...
[...] SQL SERVER – Challenge – Puzzle – Usage of FAST Hint [...]
View ArticleBy: 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 ArticleBy: SQL SERVER – Weekly Series – Memory Lane – #006 « SQL Server Journey with...
[...] SQL SERVER – Challenge – Puzzle – Usage of FAST Hint (Solution) [...]
View ArticleBy: Ankit
which query is ruuning faster? 1. Select * from tablename Or Select Column1,Column2,…. from tablename.
View ArticleBy: American
The fast option is used by programmers to speed up presentation and movement through a scrolling list.
View ArticleBy: 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 ArticleBy: stevanuz
doesn’t really matter about complexity if u select all, but for code maintenance, the 2nd give u no headache LikeLike
View ArticleBy: 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 ArticleBy: 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
More Pages to Explore .....