Viewing 15 posts - 3,481 through 3,495 (of 13,855 total)
From the tables above, how can you tell that it was Jim who missed the call?
What is the logic behind the Answered and CallEnded grouping window? Where does 12.14:30 come...
June 25, 2019 at 6:47 pm
A materialised view, in my experience, is a view which has been saved/persisted to a table. This is often for reasons of performance, but could also be because the data...
June 24, 2019 at 7:51 pm
Thanks for your help. But will this query partition the resultset by City? Meaning will I be able to see all of the Cities and Companies? Or will it...
June 24, 2019 at 3:13 pm
This was a bit of a logic mind-bender! Try this and see whether it's any quicker:
SELECT *
FROM #TAttrib ta
WHERE ta.ClinicID IS NULL
...
June 20, 2019 at 11:05 pm
I use both, but honestly, I have found SSDT (well insofar as I need it to make SSIS packages) really annoying to use. So much is embedded in cryptic...
June 20, 2019 at 7:21 pm
my question is why does it work with compatibility mode 2008 not with comparability mode 2014? because I have 100's of procs that use the declare @today datetime
Can you...
June 20, 2019 at 3:04 pm
Hah, I knew it! Nice code, Drew – like you, I prefer the CTE version.
June 20, 2019 at 3:02 pm
--Deleted
June 20, 2019 at 2:13 pm
As you've been following the forum for a long time, you'll also know that it's considered good practice to provide sample DDL, data (in the form of INSERT statements) and...
June 20, 2019 at 1:10 pm
This is a technique which I have read about, but never implemented, therefore I don't feel qualified to direct you to specific links. I'm just waiting for the opportunity to...
June 20, 2019 at 1:39 am
Imagine the two sets of tables are named A and B.
It's early morning on a new day, and synonyms are currently pointing at set A, which includes the day before...
June 20, 2019 at 1:37 am
How about using Jeff's favourite method, SYNONYMs?
Have two versions of all 500 tables, which are truncated/loaded on alternate days. Use synonyms to switch between them every day. Your 'no data...
June 20, 2019 at 1:20 am
I just know that Drew is going to post a really snappy solution to this one ... that's what usually happens after I post my overblown version. But here goes...
June 19, 2019 at 10:18 pm
Please provide more sample data (as INSERTs) along with desired results for that data, which demonstrates what you are trying to say.
June 19, 2019 at 8:51 pm
Viewing 15 posts - 3,481 through 3,495 (of 13,855 total)