Viewing 15 posts - 841 through 855 (of 10,144 total)
March 24, 2017 at 2:21 am
TableA
id
tablebid
TableB
id
TableA has...
March 23, 2017 at 10:59 am
March 23, 2017 at 10:37 am
March 23, 2017 at 10:10 am
March 23, 2017 at 8:28 am
March 23, 2017 at 8:17 am
You could use ROW_NUMBER or you could use APPLY, like this:
SELECT od
March 23, 2017 at 7:40 am
-- I'd use a function for this, to mask the complexityfrom your queries:
March 23, 2017 at 7:18 am
Thanks Bhavesh.
If I were given this query to tune, including access to a test database, then I'd break it down into manageable chunks and tune each chunk separately. Here's...
March 23, 2017 at 4:46 am
Essentally the same subquery appears twice in the part of the query which is attached to the plan. Rather than read...
March 22, 2017 at 11:04 am
March 22, 2017 at 9:02 am
Viewing 15 posts - 841 through 855 (of 10,144 total)