Viewing 15 posts - 76 through 90 (of 224 total)
Outer join to a calendar table to ensure that there are no missing months, order by the date, and it should work.
April 15, 2015 at 8:45 am
Instead of inventing the word "beginnator" as the opposite of terminator, how about "initiator"? It's already an English word. Statement initiator vs. statement terminator--I think that sounds reasonable.
I've seen some...
March 30, 2015 at 10:28 am
I blame management, almost entirely. They can stifle the most talented programmer, enable the most incompetent programmer, and prevent junior programmers from ever realizing their potential. You cannot train your...
March 20, 2015 at 8:27 am
Bad comments:
- Comments that are factually incorrect
- Commented code (anything that has actually been checked in with commented code)
- Comments that are misspelled or use improper grammar (personal pet peeve)
-...
March 13, 2015 at 11:21 am
Brandie Tarvin (3/12/2015)
The "5" thing was my attempt to say "everything should be gray before the code is run and anything is checked". I guess that's not what you saw?
And...
March 12, 2015 at 10:35 am
I have more C# experience than SQL experience. I prefer a job doing both, but have tended to bounce back and forth because DB Dev and App Dev are often...
March 12, 2015 at 9:09 am
The following is the DDL and test data that I used. The query returns three rows.
CREATE TABLE SensorData (StartTime int, Offset int, Sensor int, SensorID int)
INSERT SensorData VALUES
(0, 1,...
February 23, 2015 at 3:32 pm
Gerry Roston (2/23/2015)
February 23, 2015 at 3:29 pm
If the starttime + offset given is the "first" value for that group, then it is also the smallest value in that grouping. Try the following. Note the "ORDER BY...
February 23, 2015 at 2:23 pm
Can you post sample DDL? The answer to your question depends on the data types of StartTime, Offset, etc.
February 23, 2015 at 12:23 pm
Gary Varga (2/13/2015)
Oh and I so hope you are joking about the needles but suspect that you are not 🙁
Not joking, though I appropriated my husband's experience for that one....
February 13, 2015 at 9:58 am
I've been an employee, contractor and consultant. Many of the places I've worked have not allowed any personal devices. No USB drives, no access to personal email, no smartphones plugged...
February 13, 2015 at 8:53 am
I worked in manufacturing for a while and I really enjoyed that industry.
I was doing app dev and DB dev. I loved every chance to get onto the factory...
February 13, 2015 at 8:26 am
GilaMonster (2/3/2015)
Stephanie Giovannini (2/2/2015)
What is best practice for storing time intervals in a table?
I would use an integer and define that it's a number of minutes, seconds or hours as...
February 3, 2015 at 8:18 am
A bit off topic, but it's already been brought up in this thread. What is best practice for storing time intervals in a table? This is relevant to a system...
February 2, 2015 at 9:00 am
Viewing 15 posts - 76 through 90 (of 224 total)