Viewing 15 posts - 7,336 through 7,350 (of 59,091 total)
Try normalize the Employee table, to move out rows that may me NULL. Good normalization also gives more understanding of the model. Sometimes NULL, may be acceptable, e.x. a...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2020 at 2:05 pm
@jeff-moden, Yes, I agree with you that the steps I'm trying to get through Power Query can also be done with T-SQL. The main purpose of this article was...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2020 at 1:58 pm
I'm curious as to why any row in an Employee table would ever have a NULL (or a -1 alternative or an "empty" alternative) for the Employee number for...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2020 at 1:15 pm
Ralph Kimball has a method of not having any nulls in dimension tables. Instead, on the dimension table there are rows with negative keys: -1 for unknown,...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2020 at 1:11 pm
Thanks. I think they are the same when including spaces. They come from the government as a .dat file and they won't change so I'm stuck with these. I've...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2020 at 1:09 pm
SELECT t.userid
,t.rid
,Total = SUM(TRY_CAST(t.value AS INT))
FROM temp t
GROUP BY t.userid
...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2020 at 4:18 am
Does it store these states anywhere though?
State is not really a part of the error itself, but extra information that is added when RAISERROR is called that...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2020 at 4:15 am
If I chose to save the employee number as a varchar, I could store '' (empty), which I would prefer.
DON'T do it is the correct answer. All columns...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2020 at 4:07 am
Well, the big company meeting announcing what changes will be made was held this morning. I will still have a job, but everyone making over 60k is...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2020 at 4:02 am
It's interesting. A friend was over last night. He has 400+ reports under him. Had to let 10% go at the beginning of the year. Easy to do. Got...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2020 at 4:00 am
>> Employee numbers are not numbers!
Heh... I'll go ahead and disagree with you again, Joe. There's no reason why "identifiers" cannot be numbers.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2020 at 3:54 am
Ralph Kimball has a method of not having any nulls in dimension tables. Instead, on the dimension table there are rows with negative keys: -1 for unknown, -2 for...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2020 at 3:50 am
Sorry for my blanket statement about NULLs - EndDate and Payment are good examples of when not to use them.
I am afraid I disagree with you about codes. Sooner...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2020 at 3:44 am
Ok... I got cricket's on that question... Here's what I'm talking about...
In the article, it first shows Step 1 as a T-SQL query to get the data "into" the Power...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2020 at 1:20 am
Well, the big company meeting announcing what changes will be made was held this morning. I will still have a job, but everyone making over 60k is getting an...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 8, 2020 at 6:30 pm
Viewing 15 posts - 7,336 through 7,350 (of 59,091 total)