Viewing 15 posts - 496 through 510 (of 1,391 total)
This was new news to me. We're using Azure SQL and I confirmed it works (tested at Compatibility Level 150). Since the input argument "string is an expression of any...
November 18, 2021 at 1:09 pm
The link for the splitter I think is in this article. For id=7 and ItemNumber=3 the (split) Item equals 'ccc ccccc' which is maybe space delimited and needs further...
November 17, 2021 at 4:35 pm
Yeah situations like this happen all the time tho. It seems there are unmodeled relationships in the data. Also, right away I would try to find out if you're supposed...
November 17, 2021 at 4:15 pm
Hi there. Using BETWEEN and DATETIME is really not recommended. Jeff pointed this out and I listened but didn't change the code. Suspicious things 1) the datetime range doesn't seem...
November 11, 2021 at 1:24 pm
Hi Rod, cheers. Not sure about pro tools but if you're up for rolling your own you could try .NET and System.IO
https://docs.microsoft.com/en-us/troubleshoot/dotnet/csharp/create-file-compare
https://stackoverflow.com/questions/1358510/how-to-compare-2-files-fast-using-net
November 1, 2021 at 6:04 pm
It's a school assignment? There are seemingly quite a few steps to accomplish. What's the question?
October 31, 2021 at 12:30 pm
How to plan data types? It's simple: use the minimum necessary size given your anticipated precision requirements. Aside: there are edge cases having to do with all sorts of exceptions...
October 31, 2021 at 12:23 pm
Great insights as always Jeff. Ha, yes I do remember those days. No spring chicken here. The first number in my age is a 5.
3 ways to convert an integer...
October 30, 2021 at 5:31 pm
A numbers splitter is a really nice solution. I thought the question was already answered. What else could be done with a numbers splitter?
October 30, 2021 at 12:39 am
Why not get rid of FLOAT as soon as possible by CAST'ing POWER to BIGINT ?
select NumericValue, conv_bigint.num
from #IntChange ic
cross apply (select...
October 29, 2021 at 2:15 pm
Here's an attempt to refactor the query with functional equivalency (afaik)
insert into [Micros].[UserTerminations]([UserID], [TerminationDateTime])
select u.[HostUserId], getdate()
from [Micros].[Users] AS u
where exists (select 1
...
October 28, 2021 at 5:36 pm
Ok when you explode the lines the Demand is being split up to correspond incrementally to the date. However, when expanded the OnHand and NextJobQty are being replicated in full. ...
October 27, 2021 at 5:02 pm
It's algebra which could be directly calculated, no?
1555201/2^x=800
2^x=1555201/800
log10(2^x)=log10(1555201/800)
x = log10(1555201/800) / log10(2)
x=10.92481343
The number of times it would need to be "applied" before it crossed the 800 barrier would be the...
October 27, 2021 at 4:11 pm
I am working on a job shortage report that first consumes inventory and then works through job supply one job at a time. The query is using sum over...
October 27, 2021 at 12:01 pm
What about those flying cars? Your code converts the 'NumericValue' column into VARCHAR(10) which is only ok as long as the integer is positive. My code converted to VARCHAR(20) because...
October 25, 2021 at 9:52 pm
Viewing 15 posts - 496 through 510 (of 1,391 total)