Viewing 15 posts - 16,711 through 16,725 (of 59,101 total)
Anil Paneru (10/6/2016)
I've this table that I pulled from sqlzoo. I loaded this data in my sql server 2016.
name region area...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 10:44 pm
Ah... if you want a bit of a bonus column that identifies how many addresses there are for each AddressKey, we just need to add another aggregation.
WITH...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 10:19 pm
First, thank you for posting truly readily-consumable test data. You sure made it easy for me to concentrate on the answer.
Here's the code to solve your problem. CROSSTABs...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 10:15 pm
To be honest and IMHO, a simple auditing system would serve you and the task of proof much better than doing a linked list. You could even setup a...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 9:54 pm
joshua 15769 (10/6/2016)
I do have to sometimes say "NO" to something but I'm normally able to suggest an alternative and the reason why the alternative is better.
This is what a...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 9:37 pm
ALTAIR SOUZA (10/6/2016)
ALTER DATABASE msdb SET NEW_BROKER WITH ROLLBACK IMMEDIATE;
In sys.databases column is_broker_enabled will be set to 1 and...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 9:02 pm
Or use a real splitter.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 8:59 pm
rsampson (10/6/2016)
conditionally delete file, done.
Works great if the directory is not empty, barfs a warning, then fails...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 8:33 pm
RVO (10/6/2016)
I talked to DBA.
They are planning to partition {Pink} table
and created these partitions as placeholders.
They partitioned {Poink_parttioned} tables will be moving data to {Poink}...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 7:06 pm
Alan.B (10/6/2016)
SELECT Id ,
...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 6:59 pm
ankur_libra (10/6/2016)
Please also monitor following on databases involved:-
1. Index Fragmentation
2. Statistics Update
3. Blocking to ensure that jobs are not being blocked by any oher process
4. I/O & Waitstats (As...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 6:31 pm
Brandie Tarvin (10/6/2016)
This doesn't affect me because I'm on "high ground".
Isn't that where it's most windy? :blink:
I hope everything turns out ok. You guys be safe.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 5:15 pm
Hugo Kornelis (10/6/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 5:12 pm
If you're using SQL Sever 2012 or above, you shouldn't be using the "Quirky Update" method... period. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 5:05 pm
Gary Varga (10/6/2016)
Jeff Moden (10/5/2016)
...I do have to sometimes say "NO" to something but I'm normally able to suggest an alternative and the reason why the alternative is better...
I don't...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2016 at 9:03 am
Viewing 15 posts - 16,711 through 16,725 (of 59,101 total)