Viewing 15 posts - 991 through 1,005 (of 13,469 total)
My prod system s busy, but not 500 queries per second busy.
I've run that particular query quite a few times on production, during prod hours, since it's hitting the DMV's,...
May 23, 2016 at 12:08 pm
what does "not working" mean to you? you did not mention any errors, and convert(varchar will return a string, albeit maybe a string that looks like a date, but it...
May 23, 2016 at 11:45 am
i believe this is one of Glenn Berry's scripts, that determine the most used stored procs.
you could infer that the procedure called the most, might be the ones called the...
May 23, 2016 at 11:35 am
add the column ReportServer.dbo.Catalog.Hidden to your query.
when a folder or report is marked as "hidden", you have to change the view in SSRS to "Details View" to see those hidden...
May 23, 2016 at 11:27 am
if your filegroup is not empty, you might need to alter some indexes and recreate them in another file group.
this would show you theFileGroup Name and the file a given...
May 23, 2016 at 11:18 am
absolutely great job on providing the set up sample scripts.
Am i underthinking this, that it is simply a group by problem, maybe with a NOT EXISTS?
it looked to me...
May 23, 2016 at 10:19 am
sp_whoisactive can send it's results to a table.
a simple example:
CREATE TABLE [master].[dbo].[MonitoredActivity] (
[dd hh:mm:ss.mss] ...
May 23, 2016 at 10:14 am
yes. you can create a credential with windows credentials, and then a proxy in SQL agent.
with that in place, you can modify the job step that calls the SSIS package...
May 21, 2016 at 6:41 am
if these were medical diagnosis codes, i know diagnosis codes vary between three and eight characters in length;
here's a couple examples
463
W45.8XXA
so i think using a delimitedsplit is...
May 21, 2016 at 6:12 am
here's how i started tackling it: strip everything out, and then format depending on 10 or 11 digit lengths.
I think i'd remove letters and replace with their corresponding numbers...
I'm ignoring...
May 20, 2016 at 1:17 pm
you are probably using notepad to save your file?
you have to change the file type in the save as dialog.
Change it to all files and enter the extension...
May 20, 2016 at 9:01 am
why can't you rename the databases?
exec sp_renamedb 'Account ','AccountOrig'
exec sp_renamedb 'Account_Compact ','Account'
May 20, 2016 at 8:39 am
here's an example that i just slapped together that does the first nine columns. using DelimitedSplit8K and the PIVOT operator.
does this help?
/*
--Results
Diagnoses_For_Spell ...
May 20, 2016 at 5:56 am
I still think a specific set of volunteers here should be given a whack-a-mole functionality, which has been suggested ad-nauseam, but I think it's hard for red-gate to dedicate a...
May 19, 2016 at 1:24 pm
template functionality in the paid SSMS plugin ssmstoolspack.com does that.(~40 bucks as I remember)
it also is parameterized for variables.
for example, my template looks like this:
-- Created By: |CurrentWinUserName|
-- Create Date:...
May 19, 2016 at 1:16 pm
Viewing 15 posts - 991 through 1,005 (of 13,469 total)