Viewing 15 posts - 4,936 through 4,950 (of 59,089 total)
p.s. Go look for Jonathan Keyhias' code for finding the longest and most prevalent compile times. I once has a 100ms piece of code that ran a couple of tens...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2021 at 12:56 am
I have a slightly different take on things... I call the top 10 wait types the "Top 10 symptoms that don't lead you to much" because they are just symptoms...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2021 at 12:48 am
I must say, seeing Jeff Modan, Eric Russel, Joe Celko, people I have learned so much from, all chime in on the same thread... Well, it just brings a...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2021 at 12:29 am
Thank God there's no GOSUB in SQL.
There's a school of thought that gets sniffy at overuse of if statements in OO languages.
Such constructs feel like a vestigal organ like...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 20, 2021 at 12:26 am
thx for the quick replies.. My table has several thousand rows, so I cannot hard code dates as list in the example above. This SQL gets me kind of...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2021 at 11:28 pm
I completely understand poorly formatted CSVs or varying structures, like ragged right, causing issues.
These were simple, consistently formatted files. I can't believe this was hard.
No they weren't... at least...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2021 at 7:28 pm
@JeffModen,
Thanks for the detailed response. Agreed, could have made this example more performant following some of the guidance you mention.
Regarding why there is no index, the row set in...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2021 at 7:20 pm
I agree that you sometimes need to do the loop in one of it's many forms. I have no qualms and fairly minor shivers from things like that. 😀
However... your...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2021 at 3:17 am
Thanks for the feedback, Bruin...
Heh... you DO have to pay attention to the resolution of the data. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2021 at 2:29 am
Probably not the operating system. Have you checked the files in the two different places for things like...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 17, 2021 at 2:15 pm
Did you click on the text 'Failed"? That should explain what is wrong.
If I had to guess - you have a 64-bit version of SQL Server installed and are...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2021 at 12:25 am
The result of the query SELECT @@VERSION is: "Microsoft SQL Server 2014 - 12.0.2269.0 (X64)"
I don't understand that (X64) because this query is executed in: C:\Program Files (x86)\Microsoft SQL...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2021 at 12:23 am
Had a strange error processing file from server...
It was the first file that had data...
StartDT: 15 Jul 2021 08:44:42:777 Working on file 25 of 89 files: G:\line_speed\F303-Line10.csv... Msg 2627,...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2021 at 12:14 am
On the subject of "sometimes" quoted CSV's...
I totally agree that it shouldn't be necessary. MS has had more that 2 decades to make this "simple" stuff right as...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 15, 2021 at 10:15 pm
FROM tblRecievedQuantity TRQLEFT JOIN tblOrderQuantity AS TOQ ON TOQ.order_id = TRQ.order_idLEFT JOIN tblIssuedQuantity AS TIQ ON TOQ.order_id = TIQ.order_idLEFT JOIN tblReceivedTrack AS TRT ON TOQ.order_id...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 15, 2021 at 10:12 pm
Viewing 15 posts - 4,936 through 4,950 (of 59,089 total)