Forum Replies Created

Viewing 15 posts - 121 through 135 (of 844 total)

  • Reply To: User Forum is Terrible

    I made it clear I wasn't a fan when SSC went to the new version, but to me it is still light years better than SO.  IMHO 🙂

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • Reply To: The WFH Challenges

    below86 wrote:

    We are being asked to work at home thru March 27.  Then I think they want us to switch off with 50% in the office 50% work from home...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • Reply To: The WFH Challenges

    We are being asked to work at home thru March 27.  Then I think they want us to switch off with 50% in the office 50% work from home for...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • Reply To: Are the posted questions getting worse?

    Phil Parkin wrote:

    Michael L John wrote:

    below86 wrote:

    That's some bad code there Mike.  I've seen some similar, but add a couple UNION statements and all with in an SSRS report.  Talk about slow code.

    I've...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • Reply To: Are the posted questions getting worse?

    That's some bad code there Mike.  I've seen some similar, but add a couple UNION statements and all with in an SSRS report.  Talk about slow code.

    I've also had that...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • Reply To: Are the posted questions getting worse?

    Another venting.. first thing though, I don't want to get into the whole argument on of using EOM vs BOM.

    Where I work currently they use EOM.  Which is fine with...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • Reply To: Two tables per page

    Not a 100% on this, but set the SQL for each to not check for a specific employee.  Set the page breaks to be on the Employee.

     

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • Reply To: dynamic SQL, is this possible

    Thanks Brian, this works.  And for what I need this for speed isn't an issue.  Just saving me time from cutting and pasting or typing.

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • Reply To: dynamic SQL, is this possible

    Sorry, I was in a hurry to get this out before a meeting.  I don't want the dynamic SQL statement to be stored or used outside of me trying to...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • Reply To: Are the posted questions getting worse?

    Speaking of a comedy of errors.  This past weekend they moved our servers to a new location.  After the move they released any jobs that were on HOLD.  Now I...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • Reply To: Are the posted questions getting worse?

    I heard a song on the radio the other day that was a parody of Aerosmith's 'Sweet Emotions' called 'Sweet Emoji's'.  Not sure the comedians name, but it got a...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • Reply To: Datediff between dates, but exclude extra leap year day

    I like the simplicity of finding the February 29 dates, then subtracting that DesNorton posted.  But it didn't calculate correctly when I used the start date of 01/01/2019 end date...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • Reply To: Datediff between dates, but exclude extra leap year day

    Thanks for the feedback and info Jonathan, I'll take a look at it.

    Found lots of holes in the prior SQL I posted, here is my revised SQL:

    DECLARE...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • Reply To: Datediff between dates, but exclude extra leap year day

    Of course, if I would read through the comments(at the link I posted), Jeff Moden would have a simpler way to determine a leap year.

    SELECT 
    CAST(DATEDIFF(d, @Eff_Date,...

    • This reply was modified 6 years, 5 months ago by below86.

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • Reply To: Datediff between dates, but exclude extra leap year day

    Maybe I just needed to post something to get the brain going.

    Here is what I came up with.  I borrowed some code I found at https://www.mssqltips.com/sqlservertip/1527/sql-server-function-to-determine-a-leap-year/

    DECLARE @Eff_DateDATE;
    DECLARE...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

Viewing 15 posts - 121 through 135 (of 844 total)