Viewing 15 posts - 601 through 615 (of 10,144 total)
You could do with clustered indexes on those heap tables, something like
DDA_DESC
August 24, 2017 at 5:00 am
August 21, 2017 at 7:37 am
I think you're losing logical consistency with your AND / OR & braces. Try this:
WHERE
August 21, 2017 at 7:24 am
-- Here's an attempt to remove the complex view vwDeals from the query. Run it and compare with the original.August 18, 2017 at 4:30 am
-- Amended sample set with full nameAugust 17, 2017 at 4:06 am
August 17, 2017 at 2:13 am
-- Here's an alternative to vwReportMemberTypeResults_EmployeeAugust 17, 2017 at 2:05 am
DROP TABLE dbo.SimpleH;CREATE TABLE dbo.SimpleH (ID INT NOT NULL PRIMARY KEY CLUSTERED, ParentID INT NULL, [Name] VARCHAR(30) NOT NULL, [Level] TINYINT NULL)August 16, 2017 at 8:08 am
The sample data is quite a bit different to the actual data, it will be interesting to see how that pans out. It's so easy to switch between these two...
August 16, 2017 at 7:31 am
August 16, 2017 at 4:36 am
SELECT ObjectType, ObjectID, MAX_QueuedAt = MAX(QueuedAt)August 16, 2017 at 4:13 am
August 16, 2017 at 1:44 am
August 8, 2017 at 9:44 am
August 8, 2017 at 9:24 am
Viewing 15 posts - 601 through 615 (of 10,144 total)