Forum Replies Created

Viewing 15 posts - 1,726 through 1,740 (of 5,111 total)

  • RE: Multiple Joins

    Jeffrey Williams 3188 - Tuesday, August 21, 2018 12:37 PM

    Thom - shouldn't the COUNT actually be a SUM as in:

    SUM(CASE WHEN...

  • RE: Enforce Unique Constraint Across Two Tables

    Why did i notice the "not a trigger" after writing this... >_< At least Lynn addresses the problem at hand above (in that the OP has ruled out all 3...

  • RE: SSDT 15.8 and 15.8.1 / Cannot Deploy to SSISDB

    Thanks for the heads up Phil!

  • RE: Using a Trigger to Call a Store Proc

    Honestly, don't send email from triggers, they cause far more problems then they "solve". If a trigger fails, for what ever reason, then the INSERT/UPDATE/DELETE will also fail (and therefore...

  • RE: Are the posted questions getting worse?

    TomThomson - Tuesday, August 21, 2018 5:44 AM

    If you had ever looked at the the geekstuff.com's page on RAID01 vs RAID10...

  • RE: Multiple Joins

    How did I not notice this before... I (foolishly) assumed you declared your variables as a date, you hadn't, they were a varchar. Use the appropriate datatype for your data....

  • RE: Multiple Joins

    NikosV - Tuesday, August 21, 2018 3:30 AM

    OK I sorted the date thing.

    Thing is, in my first count, I want to...

  • RE: Multiple Joins

    I hadn't changed your definition of your variables. It might be that your login in interpreting the second date as 20182108, which doesn't exist. Try using:

    August 21, 2018 at 3:06 am

    #2002637

  • RE: Timezone setting in SQL SERVER 2012

    sram24_mca - Monday, August 20, 2018 10:11 PM

    Hi, 
      How to change/display the client system  date and time using datetime datatype. Is there...

  • RE: Multiple Joins

    Ok, I'm pretty sure that this gets the same result. If it doesn't have a look at what I've done and see if you can understand the method. The number...

  • RE: Multiple Joins

    NikosV - Tuesday, August 21, 2018 2:17 AM

    Got a chance to get the code out. Check it out.

    How bad is it?...

  • RE: Multiple Joins

    This is going to be difficult without the SQL. First step, can you post that? 6 joins isn't really a lot, in my view; i use plenty of queries that...

  • RE: Enable Logging of both failed and successful logins on Linux

    Steve Jones - SSC Editor - Monday, August 20, 2018 11:18 AM

    The answer I have back from MS is that this is...

  • RE: Procedure Result taking more time

    jkramprakash - Monday, August 20, 2018 10:47 AM

    Again i am posting with proper alignment.Now i  used OPTION (OPTIMIZE FOR UNKNOWN) in my first part at the...

  • RE: Procedure Result taking more time

    For sanity, I've done a little formatting to the file, however, I've uploaded as a txt file. SSC would also destroy any whitespace I added due to it's "unique" pasting...

Viewing 15 posts - 1,726 through 1,740 (of 5,111 total)