Viewing 15 posts - 8,251 through 8,265 (of 59,078 total)
sys.dm_exec_sessions has no "history". It only shows "active" sessions.
November 29, 2019 at 2:17 pm
Darnit Jeff
Where does you mind go to come up with such perlers?
Dark corner of the room, fetal position in a blanket, suck thumb, twiddle hair, beer popsicle, converse with...
November 29, 2019 at 2:00 pm
I will try it next week and see how it goes
Awesome. Thank you and looking forward to feedback. This could easily be turned into a high performance "iSF"...
November 29, 2019 at 1:51 pm
Please learn the difference between a row and a record. It's very important for RDBMS.
I also wish you would learn to read the posting netiquette for this forum....
November 29, 2019 at 1:35 pm
Ok... here's the code to create and populate the test table. This is what Joe Celko was talking about. Please see the article at the first link in my signature...
November 29, 2019 at 3:46 am
Hi all,
I need to calculate average rates across days. I do not have records for all days, but I need to consider the days without the rates as carrying...
November 29, 2019 at 1:38 am
you need to use a table of dates (possibly a recursive CTE) and figure out how to put the last working day's value in to the table.
I think you...
November 29, 2019 at 1:31 am
Hello, i have a large set of data and i need to copy the Path ( folder) for every line, for example first path it's for one .mdb, the...
November 28, 2019 at 10:12 pm
Using LEAD instead of LAG.....
WITH FolderCTE AS
(
SELECT
LEAD(id, 1, null) OVER (ORDER BY id) [next_folder]
, id
, folder
FROM #sampledata
WHERE folder is not null
)
SELECT
sd.id
...
November 28, 2019 at 10:11 pm
This actually sounds like a pretty cool interview question for anyone that claims to have "years of performance tuning expertise" on their resume.
First, I'd have to explain how the code...
November 28, 2019 at 9:49 pm
Hoo boy... This has the propensity to rival the robust rhetoric between bombastic blatherskites on bankers rounding or nulls.
Well, you placed this poetic perfection like a placard to polarize...
November 27, 2019 at 11:10 pm
I've tried getting service broker, hierarchyid, graph and many other things... nobody wants to step out of their comfort zones.
What did you want folks to use HierarchyID and Graph...
November 27, 2019 at 9:25 pm
Database is full recovery model.when copy the table in single table also take time more and copy of the table is INTO statement.
We keep going in circles. I already...
November 27, 2019 at 3:32 pm
To the best of my recollection (yeah, I was working with unit record equipment and computers way back then), the only "NULL" value on punch cards was to simply not...
November 27, 2019 at 3:16 pm
It's difficult for me to believe that such a table exists and no one knows anything about it. Find who does and ask them.
November 27, 2019 at 2:10 pm
Viewing 15 posts - 8,251 through 8,265 (of 59,078 total)