Rob Farley's user avatar
Rob Farley's user avatar
Rob Farley's user avatar
Rob Farley
  • Member for 12 years, 1 month
  • Last seen more than a week ago
86 votes
Accepted

Retrieving n rows per group

39 votes

Best practice between using LEFT JOIN or NOT EXISTS

29 votes

Why does adding a TOP 1 dramatically worsen performance?

27 votes

How to remove line breaks in SSMS?

25 votes

IF EXISTS taking longer than embedded select statement

20 votes
Accepted

Returning a result set with multiple rows based on max date

20 votes
Accepted

What's better/faster? MySql or FileSystem?

17 votes
Accepted

How to get exact year difference between two dates in SQL Server?

16 votes

Fill in missing dates with data value from previous populated date for group

13 votes
Accepted

FOR XML could not serialize the data because it contains character (0x0000)

13 votes

Should I use SQL JOIN or IN Clause?

12 votes
Accepted

sp_executesql with user defined table type not behaving correctly

12 votes

How (and why) does TOP impact an execution plan?

12 votes

A transport-level error has occurred when sending the request to the server

12 votes
Accepted

Why SELECT COUNT() query execution plan includes left joined table?

12 votes

Insert performance increases under load: Why?

12 votes

SQL SERVER Which Query is faster

11 votes
Accepted

Why is my plan guide not being used?

11 votes
Accepted

Correlated subquery and join: still the same exectution plan?

11 votes
Accepted

How do you use MAXDOP in a View?

10 votes
Accepted

How are indexes represented in an ERD?

10 votes

Execution Plan is NOT using INDEX, It uses Table Scan

10 votes
Accepted

Make old data read-only

10 votes

Odd Stream Aggregate behaviour

10 votes

Query speed optimization

10 votes
Accepted

Check if any of the values is in a subquery result

10 votes
Accepted

What would cause a table with 80,000 records to use 145GB of space?

10 votes
Accepted

Improving performance when ordering by a column of a joined table

9 votes

Why does my WHERE clause benefit from an "included" column?

9 votes

Why would optimiser choose Clustered Index + Sort instead of Non-Clustered Index?

1
2 3 4 5
11