Viewing 15 posts - 1,681 through 1,695 (of 59,066 total)
March 15, 2023 at 9:59 pm
Without having to look much at the code you posted, what is the unit value of the h.run_time column?
March 15, 2023 at 9:57 pm
They do it in a lot of languages... I hate it when people number the bits differently than the exponent of "2". 😀
March 15, 2023 at 9:52 pm
Imo it depends on whether or not Approved is exactly equivalent to Taken. Could a user be officially approved and yet not take the day? If there's...
March 15, 2023 at 9:44 pm
Serious "chicken dinner" there for performance, Jonathan... here are the stats from a test on a million rows of 16 hex digits (8 bytes)...
SQL Server Execution...
March 15, 2023 at 9:12 pm
That's because bigint stores integers as Two's complement, negative numbers need 2^64 (18446744073709551616) added to them to represent the number as an unsigned int.
March 15, 2023 at 8:52 pm
Post deleted... we may have found an even better way yet. I'll be back.
March 15, 2023 at 8:47 pm
I tested Steve Munson's good code. After changing the input variable from 22 to 30 characters max (15 bytes hex), it works fine but it's a bit greedy on CPU. ...
March 15, 2023 at 8:27 pm
That's because bigint stores integers as Two's complement, negative numbers need 2^64 (18446744073709551616) added to them to represent the number as an unsigned int.
March 15, 2023 at 7:37 pm
Nicely done, Mr. Munson.
March 15, 2023 at 6:38 pm
Thank you Jeff, but what are you using inside your company to manage hierarchies? are you using SQL Server MDM ? you do you create your own code? thanks
You've...
March 15, 2023 at 4:52 pm
Heh... old post I know but, for others reading this, stop putting login names and passwords in clear text in batch files. Use only proper "trusted connections".
March 14, 2023 at 9:44 pm
The current approach seems ok to me, as long as people are rigorous about changing the status to "Declined" or "Cancelled" if the day can't be taken as scheduled.
That's...
March 14, 2023 at 9:33 pm
Imo it depends on whether or not Approved is exactly equivalent to Taken. Could a user be officially approved and yet not take the day? If there's an exact...
March 14, 2023 at 9:29 pm
With the proviso that I don't know the exact situation...
The purpose of such a table is to audit what's happening to the data, no matter what. Are you absolutely sure...
March 14, 2023 at 9:22 pm
Viewing 15 posts - 1,681 through 1,695 (of 59,066 total)