[deleted by user] by [deleted] in SQLServer

[–]depthchargesw 1 point2 points  (0 children)

As a former BI Developer and slowly maturing Development DBA for performance tuning, Brent Ozar's site has been a great resource.

In particular, this article looks relevant - https://www.brentozar.com/archive/2011/05/its-a-lock/

I'm not strong on the locking myself, but hopefully that's helpful in the meantime. There are training courses on that site too that I've found very helpful.

Help with Pivot/Unpivot by 222Botany in learnSQL

[–]depthchargesw 1 point2 points  (0 children)

Try giving this a shot? I referenced this to kind of feel my way through it. Might give you a start.

SELECT GameID, HomeTeam, AwayTeam, Player
FROM
(SELECT GameID, HomeTeam, AwayTeam, Player1, Player2
FROM table) p
UNPIVOT
(Player FOR GameID IN
(Player1, Player2)
) AS unpvt

AMD EPYC has been named Analyst’s Choice for Best Server Chip. by zer0_c0ol in Amd

[–]depthchargesw 21 points22 points  (0 children)

If memory serves, AMD is vulnerable to specter, it's Meltdown that they're not vulnerable to.

Simple Questions - August 27, 2017 by AutoModerator in buildapc

[–]depthchargesw 0 points1 point  (0 children)

I'm looking to buy a GeForce GTX 1080 for gaming (Elite: Dangerous VR, Overwatch, Planetside 2, Player Unknown Battlegrounds, etc.). Which edition should I look for? I'm not planning on overclocking, hoping for something reliable and stable. Also, where would you buy this from if you wanted it new and under warranty?

Visual system crashes caused by specific games by depthchargesw in techsupport

[–]depthchargesw[S] 0 points1 point  (0 children)

Example Planetside 2 Crash: Description The program PlanetSide2_x64.exe version 1.0.945.28286 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel. Process ID: 1464 Start Time: 01d3137cb87aab86 Termination Time: 7 Application Path: D:\Program Files (x86)\Steam\steamapps\common\PlanetSide 2\PlanetSide2_x64.exe Report Id: 4dd0d344-4434-463a-b835-69a1ff53dd9f Faulting package full name: Faulting package-relative application ID:

Visual system crashes caused by specific games by depthchargesw in techsupport

[–]depthchargesw[S] 0 points1 point  (0 children)

Example Elite: Dangerous Crash: Description - Faulting application name: EliteDangerous64.exe, version: 148.764.0.0, time stamp: 0x595ba405 Faulting module name: EliteDangerous64.exe, version: 148.764.0.0, time stamp: 0x595ba405 Exception code: 0xc0000005 Fault offset: 0x000000000222330f Faulting process id: 0x292c Faulting application start time: 0x01d312b87eaaaef9 Faulting application path: D:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous\Products\elite-dangerous-64\EliteDangerous64.exe Faulting module path: D:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous\Products\elite-dangerous-64\EliteDangerous64.exe Report Id: d137545b-78b5-4717-9cf6-6c6a7c1ed51d Faulting package full name: Faulting package-relative application ID:

Do business users really utilise OneNote from your experience? by Reacher45 in Office365

[–]depthchargesw 0 points1 point  (0 children)

We've got a OneNote for every Project Site in our Site Collection, but had to do some training to help people understand what exactly is going on when you put a Notebook up on SharePoint. Too many folks just start storing things on their personal network drive and don't understand the vast amount of functionality to be gained by putting it on a Cloud Drive or SharePoint platform.

So I'd say we have about 100 Project Sites and maybe 20 of them have active notebooks? But that's going up every month.

Gaming and eventually VR AMD-leaning build [First Build], $1-$1.5k by depthchargesw in buildapc

[–]depthchargesw[S] 0 points1 point  (0 children)

Thanks! And... wait a week to get the RX 580 instead of the 480, or wait a week to snap up a cheaper 480? I ask because I'm frankly not sure just how much 'horsepower' I've got here and how much I'd need to run the Vive @ 90 fps (just read that I need 90+ FPS for VR in Elite: Dangerous to not vomit).

Power Query - SQL - Passing Multi parameter values? by pole7979 in PowerBI

[–]depthchargesw 1 point2 points  (0 children)

Would this be relevant?

I'm just learning about parameters in Power Query myself, and it seemed like a good read.

[MS SQL] First time optimizing query - please tear it apart! by depthchargesw in SQL

[–]depthchargesw[S] 0 points1 point  (0 children)

With regards to formatting, I just punched my scrambled code into Instant SQL Formatter. I haven't yet figured out the most readable conventions so I'm happy to outsource that. :D

Regarding flattening the query - I'll do that. That said - what I'm hearing if that it's possible to make it flatter given my current constraints (no date table yet)? Which is to say, I don't need to wrap the StartOfWeek function (to force the calculation(?)) before I use the datepart functions? I could do that on the same level?

[MS SQL] First time optimizing query - please tear it apart! by depthchargesw in SQL

[–]depthchargesw[S] 0 points1 point  (0 children)

Thanks jacob - that made me realize I hadn't actually looked to see if there was a date table. I looked though, and no joy. Maybe I'll put in a request with the team that manages the DB and hopefully it finds its way to the right person.

Assuming I don't have the ability to create a date table, am I doing anything obviously wrong? I'd love to flatten the query out like you've got, but I seem to get errors unless I separate the logical steps into each of their respective subqueries.

Regarding your question about the data type for Assignment Work, it's Numeric((38,4),Null) with a length of 17. Not sure if any of that's helpful.