Viewing 15 posts - 556 through 570 (of 2,645 total)
They have thumbs Up/Down buttons by each answer that you can click and leave feedback, which they supposedly look at in the aim of improving the system.
There are...
February 7, 2023 at 9:01 pm
BWAAAAA-HAAAA-HAAAA-HAAAA!!! I don't recall Itzik ever using the word TALLY in any of his code. At least I'm not the only one that it's mis-quoting. February 7, 2023 at 7:15 pm
You should have just asked it "How would Jeff Moden do it" - LOL
February 7, 2023 at 3:08 am
I'm officially "dead" with ChatGPT. It never asked me for a password when I first setup my login. I logged out and told it I forgot my password when...
February 7, 2023 at 1:59 am
Can you post the actual question that you asked it? I'm curious as to how much it needed to know.
I just tried pasting the entire question, including the "Hi"...
February 6, 2023 at 6:59 pm
So it would seem! Thanks, Jonathan. I'll check later for things like CPU, Reads, Parallelism, and what happens with different indexes.
I take it that the PK you used was...
February 5, 2023 at 8:50 pm
Here is something to set up about 500k rows of test data
Then some tests:
You're saving me lot's of time, Jonathan. What are the conclusions of your tests?
p.s. I...
February 5, 2023 at 8:30 pm
Here is something to set up about 500k rows of test data
If (OBJECT_ID('tempdb..#tbSourceData') is not null) Drop Table #tbSourceData;
--Create Table #tbSourceData (EventId int, EventStatus varchar(20), RowNum int,...
February 5, 2023 at 6:35 pm
Jonathan AC Roberts wrote:Yes, nice solution Jeff.
Here is an alternative solution:
That might be the way to go instead of using the CROSSTAB method on this one, Jonathan.
Or maybe even using LEAD:
February 5, 2023 at 5:50 pm
Yes, nice solution Jeff.
Here is an alternative solution:
SELECT datOdd.EventID,
datOdd.EventStatus AS InactiveEvent,
datOdd.UpdatedDate ...
February 5, 2023 at 12:04 pm
Several things wrong.
February 3, 2023 at 2:15 pm
If you want to post SQL in your reply then you should paste it into a code box.
February 1, 2023 at 2:25 pm
;WITH ctevalues(recp_name, ing_name, qty) AS
(
SELECT *
FROM (VALUES
...
January 31, 2023 at 7:06 pm
If you want to avoid an error if zero is passed in you can use this with an IIF:
ROUND(T.C, 6 - FLOOR(IIF(T.C=0, 0, LOG10(ABS(T.C)))))
January 31, 2023 at 6:51 pm
You might be able to do it with SSIS and VB.NET or C#
https://stackoverflow.com/questions/58683425/how-to-use-pdf-file-as-data-source-in-ssis
January 31, 2023 at 6:30 am
Viewing 15 posts - 556 through 570 (of 2,645 total)