Viewing 15 posts - 16 through 30 (of 2,451 total)
A couple things to consider. First, In SSMS 2019 the actual execution plan will show you how much time each portion of the query took. You don't need that here...
November 17, 2020 at 6:46 pm
Grab a copy of PatReplace8K and it should be easy to strip out what you need.
SELECT
pa.*,
Clean1 = CAST(ISNULL(pr.newString,0) AS FLOAT),
...
November 17, 2020 at 6:20 pm
What you posted is similar to my first version of this except that I use my ngrams function to generate the tally table. Here's a simplified...
August 4, 2020 at 3:41 am
Agreed. I said similar in this post from above...
I missed this.
The difference is that I did the split using an indexed view. This way the split only happens once,...
August 3, 2020 at 6:46 pm
Just as a side note, depending on how often your columns are updated/modified, you can always split the string ahead of time using a permanent tally table like...
August 3, 2020 at 6:38 pm
Just as a side note, depending on how often your columns are updated/modified, you can always split the string ahead of time using a permanent tally table like this:
August 3, 2020 at 1:51 am
I'm not seeing any code attached to your last post. What code are you talking about being "attached"?
Grrr...
/*********************************** PART #1...
August 1, 2020 at 1:51 am
UPDATED 20200803 at 9:30PM
Ok, 4 1/2 years later I have a something really good to show!
This code is from one of many articles in various phases of completion which I'll...
July 31, 2020 at 7:35 pm
Great article Steve. Really informative.
July 27, 2020 at 4:34 pm
I've just added CLR Regex Functions to our SQL Servers.
I'm trying to replace some of our less efficient string parsing TSQL functions with the new .Net CLR Regex Functions.
For things...
February 12, 2020 at 12:58 am
If anyone is interested in a rather interesting problem has a look at this: https://www.sqlservercentral.com/forums/topic/table-function-returns-varying-number-of-records-for-an-update-statement
I gave up.
December 4, 2019 at 7:00 pm
I'm really curios to what is happening internally for the varying set of records that get updated.
This is one of the more interesting problems I've seen in a while on...
December 4, 2019 at 6:56 pm
To quote Ned Flanders, "Wow! As melon scratchers go, that's a honey doodle."
I can confirm that I see the same issue and racked my brain trying to figure out how...
December 2, 2019 at 10:09 pm
Grab a copy of NGrams8k and you can do this:
Declare @Temp Table(SomeId INT IDENTITY, [Data] VarChar(8000))
Insert @Temp ([Data])
Values('hello my name is john 07999999999 smith 07888888888...
November 21, 2019 at 3:29 pm
Grab a copy of NGrams8k and you can do this:
Declare @Temp Table(SomeId INT IDENTITY, [Data] VarChar(8000))
Insert @Temp ([Data])
Values('hello my name is john 07999999999 smith 07888888888 this last...
November 21, 2019 at 2:54 pm
Viewing 15 posts - 16 through 30 (of 2,451 total)