Viewing 15 posts - 76 through 90 (of 1,396 total)
I too am curious how the project is going or went. I definitely wasn't trying to say "don't do it", I was just trying to say to be careful...
July 31, 2024 at 3:06 pm
Ha, a haunting could be a good thing 🙂
July 30, 2024 at 7:53 pm
This sounds like an interesting project and I'm wondering how it turned out. Mr. Brian Gale made good points but there are workable solutions around. Some backend developers are web...
July 26, 2024 at 1:17 pm
That makes sense. I was going to ask if maybe another script runs at the same time. Afaik processing-wise, the IF condition and the ALTER TABLE statement are 2 separate...
July 23, 2024 at 12:56 pm
Thank you but I didn't find the code of fnTally on the link. I also didn't understand how to use log/exp functions to solve this task.
Regarding the use of...
July 18, 2024 at 3:56 pm
according to the rules of school mathematics, we bring to a common denominator
How to calculate the product of all of the denominators for each group? Why doesn't...
July 18, 2024 at 12:48 pm
The larger query I have has many fields with converts etc. so I am trying not to add the CustomerId to the nested query to get the sum somehow...
July 16, 2024 at 6:16 pm
Assuming the parts to be split are: 1) the sentence on the left, and 2) the single string on the right. It appears after the initial 50 character split of...
July 3, 2024 at 9:35 pm
In Visual Studio working with git (and GitHub, Gitlab, etc.) seems more streamlined and user friendly. SSMS clunky. For almost everything SQL Server related I use VS but still have...
July 1, 2024 at 1:36 pm
Maybe you could try OFFSET and FETCH NEXT on the righthand side of OUTER APPLY
declare
@nth_from_top int=2,
@nth_from_bot ...
June 15, 2024 at 11:48 am
The problem in Steve's solution is that is doesn't account for possible CR/LF data in the last field. In your data - there is a CR\LF after the comma...
June 8, 2024 at 12:26 pm
Bump for visibility
June 8, 2024 at 12:01 pm
Here's the code I'm running and the results I'm seeing. The @string value was copy/pasted. Thanks btw to Jeff for the splitter code.
drop FUNCTION if exists [dbo].[DelimitedSplitN4K];
go
CREATE...
June 7, 2024 at 10:31 pm
I did originally post this question under my personal account and this is from my work account.
I did think about using a second replace statement but could not devise...
June 7, 2024 at 11:31 am
One way could be to use the same replacement technique as with the line breaks. Replace the "," and ", and ," with |. Then replace any remaining double quotes...
June 6, 2024 at 12:50 am
Viewing 15 posts - 76 through 90 (of 1,396 total)