Viewing 15 posts - 631 through 645 (of 13,838 total)
Try this, maybe?
https://www.sqlservercentral.com/scripts/patexclude8k
If len(string) > len(processed string)
you know that 'string' contained 'invalid' characters.
January 29, 2024 at 12:03 pm
If you are hoping for a dynamic solution which does not require you to type in the names of each key, that takes quite a chunk of coding and requires...
January 26, 2024 at 9:05 pm
OK, I don't know. Can't see anything obvious.
January 25, 2024 at 11:21 am
None of the components shown does any direct filtering. Maybe your FOR loop is going wrong somewhere.
Can you post the full Expression definitions for the six variable which have expressions,...
January 25, 2024 at 11:04 am
You'll be lucky to get detailed help with this one. If anyone opens up your package, they will no doubt be confronted with validation errors because the data sources are...
January 25, 2024 at 10:26 am
Here is the STRING_SPLIT version
SELECT
jn.Id
, cid = MAX (REPLACE (IIF(c2.ordinal = 3, c2.value, ''), 'cid:', ''))
, Id = MAX...
January 25, 2024 at 9:56 am
Obviously, this relies on Jeff Moden's splitter, but as you're on 2022, you can also use the native string_split() function.
January 25, 2024 at 9:20 am
I've done the first few for you. You should be able to add the others using similar logic.
DROP TABLE IF EXISTS #JSONish;
CREATE TABLE #JSONish
(
...
January 25, 2024 at 9:17 am
So, you're looking to insert a row with a RefNum as the next numeric number? One straightforward method, as suggested in the forum, is to grab the MAX(RefNum) into...
January 24, 2024 at 1:05 pm
The real key here is... are people going to carry you down the hall on their shoulders if you make any changes here?
In a coffin?
A bit harsh!
January 23, 2024 at 3:33 pm
Many thanks Brain. I totally forgot about creating a variable to store the value π€¦π»ββοΈ.
Despite his clever responses, I don't think he's called Brain π
January 23, 2024 at 3:30 pm
Mr Brian Gale is correct, I saw no notification. Here is a possible solution β it relies in integer division:
DROP TABLE IF EXISTS #temptable;
CREATE TABLE #temptable
(
...
January 23, 2024 at 2:57 pm
Can you please complete your question for desired results after
set @setValue=3
?
January 23, 2024 at 9:19 am
i actually wrote this article. Is there any issueΒ with this?
It sounds like it was generated by ChatGPT or similar β and there would be an issue if that...
January 22, 2024 at 5:00 pm
Viewing 15 posts - 631 through 645 (of 13,838 total)