Viewing 15 posts - 3,511 through 3,525 (of 13,882 total)
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
Your code works , if you place the columns as you want to see result ( as example i provided) , but if i place all the columns in...
June 19, 2019 at 8:40 pm
If you are OK with locking/blocking while the transaction completes, I suggest you look into the possibility of using
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
June 19, 2019 at 6:51 pm
Viewing 15 posts - 3,511 through 3,525 (of 13,882 total)