Viewing 15 posts - 2,401 through 2,415 (of 2,648 total)
One of our systems has about 500 stored procedure scripts that need to be run on a release. To do this I concatenate all the scripts together in one file....
February 16, 2018 at 4:29 am
All other things being equal it will take longer to update the table with more columns. If only because there is going to be more disk IO in reading the...
December 17, 2017 at 10:12 am
Create Procedure sp_Truncate_Address
@DBName varchar(30) =...
November 3, 2017 at 10:57 am
If you set the compatibility level on the database to 2008, do queries still take a long time to run?
October 4, 2017 at 10:29 am
August 18, 2017 at 6:16 am
I'm not sure, I didn't mean Regions( RegionID) as that's already the PK.
Just ignore that index for now.
August 16, 2017 at 4:14 pm
Try adding the following indexesCREATE INDEX IX_#ReportDealCore_1 ON #ReportDealCore(DealID)
CREATE INDEX IX_Activities_1 ON Activities(DealID,Type)
CREATE INDEX IX_DealProperties_1 ON DealProperties(DealID,IsMainProperty,DateRemoved)
CREATE INDEX IX_Regions_1 ON Regions(CityID)
CREATE INDEX IX_DealsToClients_1...
August 16, 2017 at 2:17 pm
August 16, 2017 at 10:23 am
adonetok - Wednesday, August 16, 2017 9:04 AMThank you for help.
Got an error
Invalid object name 'dbo.chrSplitList'
Is dbo.chrSplitList a function?
-- Splits a...
August 16, 2017 at 9:22 am
If got a stored procedure I use for searching for a string in a database:IF NOT EXISTS(SELECT 1
FROM INFORMATION_SCHEMA.ROUTINES
WHERE ROUTINE_NAME = 'INFSearchAllTables'
...
August 16, 2017 at 8:36 am
Interestingly there comes a point where the original query using ROW_NUMBER() becomes the fastest. This is when there are not many QueuedAt values for ObjectType/ObjectId combinations. In my test above...
August 16, 2017 at 5:53 am
August 16, 2017 at 5:28 am
August 15, 2017 at 1:52 pm
With these type of query you can sometimes get a lot of success from breaking it up into several queries inserting the data into temporary tables, adding indexes to the...
August 15, 2017 at 11:52 am
August 15, 2017 at 11:36 am
Viewing 15 posts - 2,401 through 2,415 (of 2,648 total)