Viewing 15 posts - 46 through 60 (of 1,360 total)
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
Interestingly, the desired output is however considered valid JSON, at least according to https://jsonlint.com/
In the JSON Standards docs they call the forward slash symbol a 'solidus' and a...
May 31, 2024 at 8:47 pm
It seems that the T-SQL JSON functions deem any string containing a single / character as invalid and escape it accordingly.
Yes removing the escape characters would invalidate the JSON...
May 31, 2024 at 12:01 pm
Is this really SQL Server 2012? Extended support for SQL Server 2012 ended last year. Why are the AMOUNT and PRICE of data type FLOAT? Generally, columns with those names...
May 31, 2024 at 12:55 am
... or should I post the rest of my code, on how to inlcude this in there?
The code posted seems to have issues imo. Can't be certain tho. ...
May 27, 2024 at 2:09 pm
We're not just a forum, though. This is a whole publishing engine that gets article submissions, runs them through a queue, publishes, scheduled, generates a newsletter, has the daily...
May 23, 2024 at 2:49 pm
Imo the issue with assigning value(s) to variable(s) and then using variable(s) to resolve flow of control is it can create race conditions. Then database serialization is attempted to hold...
May 20, 2024 at 7:19 pm
Volumes are better, especially across time. Getting a consistent set of emails across time is good.
Your posts here (forwarded) did get a meeting set and some movement on upgrading...
May 20, 2024 at 6:44 pm
It's tl;dr with the data. The real questions are: 1) what is your data access pattern, and 2) how are you handling identity and access management?
May 18, 2024 at 1:46 pm
Maybe you're looking for rows WHERE the SkidStatus and the LEAD SkidStatus are unequal within a common row key partition. In this case left(SKIDNUMBER, 10) effectively truncates the _NOTAPPLICABLE suffixes
May 15, 2024 at 7:24 pm
The issue here is although there is an apparent pattern there are no constraints on uniqueness other than the surrogate key ID. The query you're suggesting to write creates a...
May 15, 2024 at 12:52 pm
Also a few other potential issues. If there are any gaps in the depth measurements this method won't fill them in. Also if there are equal thicknesses this method will...
May 8, 2024 at 2:20 pm
To get the thickness calculation correct it needs to account for the boundary conditions. Instead of expanding across the entire sequence and then joining (with inequalities) to the resultant intervals...
May 8, 2024 at 1:00 pm
Viewing 15 posts - 46 through 60 (of 1,360 total)