Viewing 15 posts - 2,431 through 2,445 (of 7,608 total)
Make sure you pre-allocate enough log space to handle any logging required. If the log file has to grow dynamically, that will be very slow.
Make sure the new data files...
March 16, 2020 at 9:48 pm
Maybe a permissions issue? I don't see why drives wouldn't show up for that query.
That code is extremely inefficient though, since it pulls drive info once for every file, instead...
March 16, 2020 at 9:37 pm
Ultimately any part of a disk drive file can be corrupted (or attacked?). A bad controller, etc., can cause unexpected corruption.
Again, it's my understanding that there is no way to...
March 16, 2020 at 7:39 pm
It's very difficult for many people to split the logical and physical design. But, it's critical to a good design that you keep the two separate. Getting a developer involved...
March 16, 2020 at 7:36 pm
As I understand it, if you lose the certificate, you can't read the data, period. Back up that certificate and make sure you can restore it!
March 16, 2020 at 6:43 pm
IIRC, from the one time long ago I looked at SQL Diagrams, it is only a physical design, there is no separation of logical and physical. If you don't distinguish...
March 16, 2020 at 3:46 pm
I would think you could summarize the data just once, for all BSP ranges and WIN/LOSS combos, then join to that, if needed, to get the final result. I can...
March 16, 2020 at 3:34 pm
Is query tuning the responsibilty of a Developer or is it a combined responsibility of DBA and SQL Developer.
You simply do your best. If you are not...
March 13, 2020 at 2:39 pm
The referencing_id would always be the current db, I would think.
You should check the referenced_server_name as well as the db name. It's possible that local db1 could point to the...
March 10, 2020 at 8:58 pm
It's the insert and update that are locking the table.
You can ignore these locks by using the nolock hint:
select count(*)
from mytable with...
March 10, 2020 at 4:32 pm
Yes, that is common but horrible, but at least it would not affect the logical design, which could still be forward engineered to proper physical form. Just keeping accurate logical...
March 9, 2020 at 2:12 pm
Sure, you could do a design with only pencil and paper, just as you can eventually get across town by walking. But for anything but the most trivial design, you...
March 9, 2020 at 1:58 pm
I suspect you many not need individual dates in the result at all. I also adjusted the range to 7 days rather than 8, as a week seems like a...
March 6, 2020 at 8:55 pm
SQL's Query Cost Governor is all that I'm aware of toward that end. This is a before-execution, based-on-estimates governor, so it's not 100% accurate. But hopefully it would prevent anything...
March 6, 2020 at 6:26 pm
The single most important thing to understand, though, is that data modeling is a logical process, not a physical one.
Physical things -- identities, files, etc. -- do not exist in...
March 5, 2020 at 8:36 pm
Viewing 15 posts - 2,431 through 2,445 (of 7,608 total)