Click here to Skip to main content
15,893,588 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Hard drive write latency problem Pin
  Forogar  15-May-19 5:40
professional  Forogar  15-May-19 5:40 
GeneralRe: Hard drive write latency problem Pin
#realJSOP15-May-19 7:13
mve#realJSOP15-May-19 7:13 
GeneralRe: Hard drive write latency problem Pin
Dr.Walt Fair, PE15-May-19 5:26
professionalDr.Walt Fair, PE15-May-19 5:26 
GeneralAnnoyed Pin
#realJSOP15-May-19 3:23
mve#realJSOP15-May-19 3:23 
GeneralRe: Annoyed Pin
PeejayAdams15-May-19 3:39
PeejayAdams15-May-19 3:39 
GeneralRe: Annoyed Pin
#realJSOP15-May-19 4:29
mve#realJSOP15-May-19 4:29 
GeneralRe: Annoyed Pin
PeejayAdams15-May-19 5:09
PeejayAdams15-May-19 5:09 
GeneralRe: Annoyed Pin
#realJSOP15-May-19 7:23
mve#realJSOP15-May-19 7:23 
In our case, it's "never will happen", and it can't be a null column (so we can't use NULL). The original code was using a date 20 years in the future that was calculated from the current date (so ALL of the valuers in this column are different). FYI, the original code was done in 2012, long before I started working here.

If you use a MaxValue property, it will always be valid, even if that value changes in the host system, (kinda like int and long changing sizes when a new higher-bit OS is introduced). If you're using what the system is telling you what the value is, you're better off. Given that SQL doesn't have a built-in MaxDateTime function, I was hoping for athe ability to set a globally accessible variable. Admittedly, that would result in having to use a "magic number" to set the variable, but at least we could have simply referenced a pre-specified variable instead of having to sprinkle the code with SET @maxDateTime DATETIME='9999-12-31'.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

GeneralRe: Annoyed Pin
PeejayAdams15-May-19 22:10
PeejayAdams15-May-19 22:10 
GeneralRe: Annoyed Pin
dan!sh 15-May-19 3:42
professional dan!sh 15-May-19 3:42 
GeneralRe: Annoyed Pin
#realJSOP15-May-19 4:30
mve#realJSOP15-May-19 4:30 
GeneralRe: Annoyed Pin
OriginalGriff15-May-19 3:57
mveOriginalGriff15-May-19 3:57 
GeneralRe: Annoyed Pin
Richard Deeming15-May-19 7:04
mveRichard Deeming15-May-19 7:04 
GeneralRe: Annoyed Pin
#realJSOP15-May-19 7:23
mve#realJSOP15-May-19 7:23 
GeneralRe: Annoyed Pin
RedDk15-May-19 7:53
RedDk15-May-19 7:53 
GeneralRe: Annoyed Pin
Richard Deeming15-May-19 9:01
mveRichard Deeming15-May-19 9:01 
GeneralRe: Annoyed Pin
RedDk15-May-19 9:23
RedDk15-May-19 9:23 
GeneralRe: Annoyed Pin
#realJSOP15-May-19 9:27
mve#realJSOP15-May-19 9:27 
GeneralUmm Hello any one out there! Pin
glennPattonWork315-May-19 1:55
professionalglennPattonWork315-May-19 1:55 
GeneralRe: Umm Hello any one out there! Pin
GKP199215-May-19 2:01
professionalGKP199215-May-19 2:01 
GeneralRe: Umm Hello any one out there! Pin
OriginalGriff15-May-19 2:22
mveOriginalGriff15-May-19 2:22 
GeneralRe: Umm Hello any one out there! Pin
OriginalGriff15-May-19 2:23
mveOriginalGriff15-May-19 2:23 
GeneralRe: Umm Hello any one out there! Pin
OriginalGriff15-May-19 2:24
mveOriginalGriff15-May-19 2:24 
GeneralRe: Umm Hello any one out there! Pin
OriginalGriff15-May-19 2:28
mveOriginalGriff15-May-19 2:28 
GeneralLOL Pin
bVagadishnu15-May-19 3:32
bVagadishnu15-May-19 3:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.