Viewing 15 posts - 766 through 780 (of 7,608 total)
The table would need to contain, and be keyed on, workerID, year and Course_Code. This should be a unique key if that is your rule (that is, no single worker...
July 5, 2022 at 7:06 pm
Consider, for example, with design #1, a unique constraint will insure that the same course is not entered twice for the same year.
But for design #2, you'd have to insure...
July 5, 2022 at 2:02 pm
You should only ever use the first method, period, no matter what your current requirements are.
The second approach would be a maintenance and query nightmare.
July 5, 2022 at 1:14 pm
You don't need to do point-in-time recovery if you take a differential at the exact point you want to restore to, just like with a full backup (which was OP's...
July 4, 2022 at 5:44 pm
Perhaps you could take a differential backup instead of a log backup. That would not interfere with any other backup process (and you wouldn't have to apply any tran logs...
July 1, 2022 at 7:46 pm
I've been a DBA on SQL Server for 20+ years and only for certain vendors have I ever had to go thru permission by permission. I have to admit, for...
July 1, 2022 at 7:38 pm
NOTE: I modified the quote to use numbers (rather than generic bullets) to make discussing each one easier.
(1) How long will the update process take to update that...
July 1, 2022 at 3:34 pm
(1) Verify that the 'cost threshold for parallelism' has been set properly (i.e. increased from the default) on the new instance
(2) Verify that the tempdb settings -- number of files,...
June 30, 2022 at 5:26 pm
Or should I specifically run sp_recompile TVF1 too?
Yes, recompile the table / view rather than individual proc(s).
If you recompile a proc, only that specific proc gets recompiled. If you...
June 29, 2022 at 3:11 pm
Very strange.
Make sure there is no trigger on the table that might affect UPDATEs.
Make sure ID 23654 only matches one row in the table (so that you're not just seeing...
June 28, 2022 at 7:19 pm
my mind says treat UNKNOWN as FALSE
Nope, as people have stated about that. In this area, it's your mind that's wrong. NULL ("UNKNOWN") is obviously not FALSE...
June 28, 2022 at 2:44 pm
That is my understanding as well. But I'd still suggest talking to someone who specializes in licensing because it's quite complex now.
June 28, 2022 at 2:36 pm
XML will definitely be slow.
It sounds like you're going from SQL Server to SQL Server. If that's the case, native format would be fastest.
June 28, 2022 at 2:34 pm
If you're allowed to, take your own differential backup (or have one taken), then use that to bring the restored db current. Much easier than restoring a long list of...
June 27, 2022 at 5:06 pm
Instead of an INNER JOIN, do a FULL OUTER JOIN.
June 27, 2022 at 3:12 pm
Viewing 15 posts - 766 through 780 (of 7,608 total)