Viewing 15 posts - 946 through 960 (of 7,191 total)
Unfortunately not. You'll need to have set something up in advance. I think a trigger on sysjobs would work.
John
January 26, 2018 at 5:35 am
Neil
Long time no see!
This does seem strange. Does the error message state that the error occurred in that stored procedure? Have you tried running an Extended...
January 26, 2018 at 3:58 am
SELECT snapshot_isolation_state_desc
FROM sys.databases
WHERE name = 'MyDatabase'
John
January 26, 2018 at 3:42 am
First, sort out your database design. If a column is going to hold money data, give it a decimal data type, not nvarchar. If the data in your column is...
January 25, 2018 at 9:16 am
January 25, 2018 at 8:45 am
If I've seen correctly through your illogical naming convention and the fact that your column headings are in the wrong order in your desired results, this should work. But only...
January 25, 2018 at 7:51 am
That will only show the most recent plan for the stored procedure in the plan cache. Query Store in SQL Server 2016 and above may help. Otherwise, you'll need to...
January 25, 2018 at 5:36 am
Or just put it in the SELECT:
DECLARE @ReturnString nvarchar(max) = 'Flat 24 Loddon House';
SELECT @ReturnString = SUBSTRING(
STUFF(LTRIM(@ReturnString),1,LEN(Candidate),'') -- part
, PATINDEX('%[A-Z]%',@ReturnString),LEN(@ReturnString) -- number
)
January 25, 2018 at 4:56 am
If all you want to do is remove the cursor from your function, this should work. It assumes that (apart from the number) there is no more than one "Part"...
January 25, 2018 at 4:24 am
I don't think so, no - that's the amount of space the plan takes up in the cache.
John
January 23, 2018 at 2:10 am
Default fill factor doesn't matter too much provided that you consider the fill factors individually for each index you create. 0 is fine for indexes with a monotonically increasing key,...
January 22, 2018 at 7:54 am
Sridhar-137443 - Monday, January 22, 2018 6:57 AMWhat are the possible alternatives?
I'm not sure - I can't see any INSERT statements. Please...
January 22, 2018 at 7:06 am
January 22, 2018 at 6:15 am
Yes, I chose option 4 for that reason. It's correct, and although it entails more steps, it's less disruptive since you don't have to take the database offline.
John
January 22, 2018 at 2:57 am
Does the Index Optimize job keep a record of what indexes it's rebuilt? If it does, there's your smoking gun. If it doesn't, content yourself with having found the most likely...
January 22, 2018 at 2:48 am
Viewing 15 posts - 946 through 960 (of 7,191 total)