Viewing 15 posts - 2,491 through 2,505 (of 59,067 total)
could you send a sample of that code?
Thx.
How many characters are in the column that you want to split? I ask because, since your column started off as NTEXT,...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2022 at 8:45 pm
Duplicate post deleted...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2022 at 8:43 pm
Sample data in field:
PartNbr|#@|Machine|#@| ttxx23|#@|plc1|#@| ttxx24|#@|plc2
So it looks like PartNbr|#@|Machine| -- these are the fields Then | ttxx23| -- when it sees a space data starts
partnbr Machine ttxx23 ...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2022 at 6:17 pm
Des Norton has the right idea but it can be simplified a bit. You can replace the GETDATE() with a variable in the following, in case you want to turn...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2022 at 5:24 pm
select cast(replace(cast(body as nvarchar(max)),'???','?') as ntext) from lookuptable2 where description like '???%'
I used this template and can see that it did indeed did do the replace, but how do...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2022 at 4:23 pm
do not use the native string_split - slow and does not return the ordinal of the strings.
Funny thing there... I've never actually tested it for performance because I never...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2022 at 4:16 pm
I've found that automation isn't the reason for decreased skills. Rather, I've found that automation is necessary because people simply don't have the skills and, apparently, have little interest in...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2022 at 4:01 pm
We are considering to replace SSAS Server/Tabular Cubes with a denormalized dataset (e.g. materialized view) in BigQuery.
Why? What "magic" do you folks expect to suddenly occur? Stop an think...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2022 at 6:03 am
I don't believe that automation is the cause of a lack of skills. I rather think it's the other way around... Automation has become necessary due to a lack of...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2022 at 5:54 am
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2022 at 5:30 am
Please see the following article to easily do exactly what you ask.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2022 at 5:25 am
IMHO, the best thing said on this thread is...
Measuring performance before and after the addition of the index and an examination of your execution plans (which are not a...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2022 at 4:20 am
Hi Jeff,
Without the leading zeroes (e.g. instead of 0.123 it would show in the .csv file .123), I could not load the file into BigQuery. Import function was giving...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 9, 2022 at 9:52 pm
Have a look at this thread
😎
That's a long thread. You might want to provide the post number for where we ended up on that thread.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 9, 2022 at 6:41 pm
If it will always be that you have a non-numeric first character and the rest are numeric, this will work very quickly...
SELECT CONVERT(INT,SUBSTRING(yourstring,2,8000))
--Jeff Moden
Change is inevitable... Change for the better is not.
November 9, 2022 at 6:40 pm
Viewing 15 posts - 2,491 through 2,505 (of 59,067 total)