Viewing 15 posts - 1,576 through 1,590 (of 7,608 total)
Some of the amounts in the original didn't seem to add up, and the rules weren't specific for FTYPE and FCODE, but here's my best guess so far:
May 10, 2021 at 7:14 pm
I think a separate schema(s) is a valid approach. Indeed, it has some advantages. For one, the developer-created objects are in the db to which they apply. If you create...
May 10, 2021 at 4:00 pm
Very busy right now, as soon as I get time, I'll follow up on this ... unless, of course, someone else has already jumped in and solved it.
May 10, 2021 at 3:52 pm
Create the clustered index only before loading the table. Create the non-clustered indexes after loading the table.
If this is a permanent table, seriously consider using data compression. Although it takes...
May 10, 2021 at 3:49 pm
Yeah. I'm not sure why MS hasn't changed the SQL Server default value for that setting. They've made other adjustments to critical starting values, particularly for tempdb, but somehow haven't...
May 10, 2021 at 2:10 pm
So more logic changes requested by the client.
Similar query but luckily we now have a week indicator with extra columns and new paycodes that should be left out of...
May 9, 2021 at 7:54 am
I don't see a huge security issue with a separate schema. Thus, I don't see why this would necessarily fail an audit. That seems to be an overly broad claim.
I have...
May 8, 2021 at 5:57 am
I go the opposite way. In development / QA / etc. (i.e., not prod!), I give developers most permissions. The only thing I prevent -- when I'm allowed to --...
May 7, 2021 at 5:56 pm
The very best solution to overall performance, and to blocking/deadlocking, is to go back and get the best clustered index keys on every table. Hint: this will most often not, repeat...
May 6, 2021 at 9:52 pm
Sorry, I somehow thought was from a different person (pietlinden), totally my fault, I was going on auto-pilot.
May 6, 2021 at 9:49 pm
Scott - I agree that NOLOCK has its purposes, as do all query hints. Otherwise they wouldn't be in there to begin with. I was just trying to...
May 6, 2021 at 3:26 pm
You don't need the extra check on the flag:
WHERE @myFlag <> 1 OR name NOT IN ('A', 'C') May 6, 2021 at 3:11 pm
If the DLRID are mostly unique, or mostly come in batches together when not unique, I suggest encoding the DLRIDs into a numeric code.
That is, create a separate table with...
May 5, 2021 at 10:46 pm
CXCONSUMER is waiting on parallelism.
Have you adjusted the SQL Server configuration for 'cost threshold for parallelism' to be something larger than the default? The default is 5, IIRC, which is...
May 5, 2021 at 5:15 pm
That's easy enough, you can pre-calc a proper date range, using either variables or in a cte. I'll use variables here just because they're easier to adjust for diff test...
May 5, 2021 at 5:11 pm
Viewing 15 posts - 1,576 through 1,590 (of 7,608 total)