Viewing 15 posts - 4,831 through 4,845 (of 59,098 total)
unfortunately it is not something simple that T-SQL can handle. There are complicated logic to calculate stop corners according to time and direction of the bus etc, that is...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 18, 2021 at 4:48 am
SSIS only has one execute task that calls the web service. I run today, there are 2000 routes to process, it runs about 8 hours on dev, and 10...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 18, 2021 at 12:03 am
Ok... assuming the following requirements...
In...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2021 at 11:28 pm
Yes, 3226. My bad on the typo.
It is a third party backup which I've looked at their documentation to see if there is a setting to prevent writing to...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2021 at 9:11 pm
there are LineNo, itemNo and qty fields in one table, I want to the accumulative qty (totalQty) for each item and want to the totalqty shown as below picture,...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2021 at 9:02 pm
Phil Parkin wrote:DECLARE @FRDate DATE = '20210228';
DECLARE @newFRDate DATE = DATEFROMPARTS(YEAR(@FRDate) - 1, 4, 1);
SELECT @FRDate
,@newFRDate;+1000
Would agree - except the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2021 at 8:49 pm
however dev and test have exactly same databases and application
That never turns out to be the truth. At the very least, they live on different hardware, they have different...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2021 at 8:11 pm
With the same Line,subline?
Look at the PK you've chosen. IMHO, only the first 3 columns of InvoiceNbr, Line, and SubLine should make up the PK.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2021 at 7:59 pm
The windows teams have a nasty habit of installing SQL Server on the "C:" drive. They have the same nasty habit for the page file, which really needs to have...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2021 at 7:52 pm
I have found that just putting that together will often lead to a solution or helps identify the actual issue.
Heh... PREACH IT BROTHER! 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2021 at 5:46 pm
Answering Post by Jeff
"Two tables (one of existing data, one for new data) would be great."
Are you absolutely sure that you want to include the invoice date and the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2021 at 4:06 pm
DECLARE @FRDate DATE = '20210228';
DECLARE @newFRDate DATE = DATEFROMPARTS(YEAR(@FRDate) - 1, 4, 1);
SELECT @FRDate
,@newFRDate;
+1000
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2021 at 3:49 pm
First of all, the function you wrote is converting the final output to DECIMAL(10,2) because that's exactly what you told it to do in the RETURN clause of the function.
Second,...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2021 at 3:04 pm
... maybe. Testing is your buddy in these circumstances.
Preach it Brother! One good test result is worth a thousand expert opinions.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2021 at 12:21 pm
I have a simple proc that I suspect is causing intermittent blocking. It takes a customer ID (int) as a param and returns an output param FeatureFlag (bit) indicating...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2021 at 12:19 pm
Viewing 15 posts - 4,831 through 4,845 (of 59,098 total)