Viewing 15 posts - 2,086 through 2,100 (of 7,608 total)
I want to generate a report which will display day by day the cashflow (total invoices - total payments received).
Wouldn't "total invoices - total payments received" be the receivable...
December 3, 2020 at 6:22 pm
I assumed by "for each Discharge", you wanted to see every discharge, with only their before and after appointments. If that's not what you wanted, please clarify your requirements.
December 3, 2020 at 6:18 pm
Are you using data compression? If not, that should be the first thing to check toward reducing total table size.
If you want to improve overall performance, we'd need to look...
December 2, 2020 at 8:24 pm
SELECT CONVERT(CHAR(8), DATEADD(SECOND, 60 * 526.30, '00:00:00'), 8)
I prefer this method too, with the minor change that the column name should be used rather than a hard-coded value:
SELECT CONVERT(CHAR(8),...
December 2, 2020 at 8:17 pm
I think a synonym would allow you to create a completely new view without affecting the current one. Then, when you had the new view fully tested out, with all...
December 2, 2020 at 3:10 pm
I'd say use CDC as that will require no changes to any existing table that already has a unique index. Presumably the vast majority of your tables already have at...
December 2, 2020 at 3:04 pm
I don't know if SQL Server still allows cpu affinity to be used, but if it does, you might look into that and thus licensing fewer than 32 cores. That's...
December 2, 2020 at 5:23 am
I think you will have to drop them and re-create them (once/if sp_refreshview doesn't work).
Script them out, being sure to include any permissions or other system table / metadata entries...
December 1, 2020 at 8:03 pm
Look in the SQL error log, you might be able to at least some more details about what task timed out, though admittedly not a lot of details.
Typically timeouts are...
December 1, 2020 at 5:06 pm
That means that the task being run will be cancelled if it is involved in a deadlock. It doesn't mean that a deadlock will occur. -10 is the lowest priority...
December 1, 2020 at 4:37 pm
I provide the table structure, that's it. They are in SSMS session, so they can use whatever SSMS tools there are to view that structure.
Ah... therein...
November 30, 2020 at 12:08 am
The "trick" part of the query is determining the middle score. Many developers don't figure that one out.
In my own way I tried to help (sort of), since you can...
November 29, 2020 at 9:58 pm
I provide the table structure, that's it. They are in SSMS session, so they can use whatever SSMS tools there are to view that structure.
Ah... therein lies the...
November 29, 2020 at 9:46 pm
>> would hate having to be the DBA going to a place that Celko had designed / created. What a nightmare of missing leading zeros or added leading zeros...
November 29, 2020 at 9:26 pm
Here's another q I like to use:
"Bad data is getting into a prod table from an app. Developers have full data modification authority to that data and currently fix it...
November 29, 2020 at 9:09 pm
Viewing 15 posts - 2,086 through 2,100 (of 7,608 total)