Viewing 15 posts - 2,521 through 2,535 (of 59,098 total)
I'm no expert on the subject because we have an "Infrastructure Group" where I work but I wonder if a simple "Clustered Server" would do the trick here. They have...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 13, 2022 at 12:21 am
The reason why it produces an error is because the first thing to qualify in the CASE expression is an INTEGER and so the resulting column formed by the CASE...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 13, 2022 at 12:02 am
What happened to the question?
They stored it in an SQL_Variant with the wrong base type. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2022 at 1:44 am
We have a reporting database. It has 2 schemas... Build1 and Build2. We don't mess around with triggers or the schemas. We created a 2 synonyms for each table... 1...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 12, 2022 at 1:43 am
I recently had reason to revisit this article and I found a bug in the code. It does not preserve leading spaces in the individual elements. If an element is...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2022 at 10:30 pm
Not that I've ever heard of.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 11, 2022 at 8:59 pm
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
Viewing 15 posts - 2,521 through 2,535 (of 59,098 total)