Forum Replies Created

Viewing 15 posts - 3,301 through 3,315 (of 59,067 total)

  • Reply To: Datefirst format

    Ok... so no test data provided in a readily consumable format.  The following code will help you do what you're trying to do.  It shouldn't take much a a leap...

  • Reply To: SQL DB Restore showing 0 %

    pols wrote:

    Thank you so much. I am not cancelling it. Luckily the status showing 3%. I am saved. 🙂

    But what could be the reason for that much slow ness?

    2 weeks...

  • Reply To: Index FillFactor

    There is currently (though I'm working on it), no code that will make the "best" assignment because things like logical fragmentation are averages at a given time and provide no...

  • Reply To: Becoming a Better DBA

    David.Poole wrote:

    Yes it was me and I still feel that it is part of being an exceptional DBA.

    Me too.  Always have.

  • Reply To: Query help

    SQL_Surfer wrote:

    This was a life saver. Thank you very much!

    Remember TempDB when you do this.  If it has a different collation, you might be in for a heap of trouble...

  • Reply To: Datefirst format

    Thanks for the info... I'm still waiting on data...

    Jeff Moden wrote:

    Ok... I think I'm ready for ya! 😀  Post some readily consumable data in the form of a CREATE TABLE statement...

  • Reply To: Becoming a Better DBA

    Wasn't it you, David, that said (admittedly paraphrasing a bit) "If you're the first person people seek out for help on a problem rather than the last, you might be...

  • Reply To: Becoming a Better DBA

    To be sure, I could never do the job that you do.  Thanks for what you do.

    As far as the article you posted a link to, it's pretty good advice...

  • Reply To: Datefirst format

    As a bit of a sidebar, you listed your week numbers as follows...

    W51-2021

    W52-2021

    W3-2022

    That's actually a really bad thing for you folks to be doing because they're NOT sortable.

    The week numbers...

  • Reply To: Datefirst format

    Ok... I think I'm ready for ya! 😀  Post some readily consumable data in the form of a CREATE TABLE statement and some data that's coded to be inserted into...

  • Reply To: Datefirst format

    Steve Collins wrote:

    I'm still thrown off by week 53.  What?  How does this work?  This topic is the same as this other one I'm assuming

    The week 53 problem is because...

  • Reply To: Datefirst format

    Ok... I've got the week number part down to a nice, high speed single formula.  I need to add the year in but it' 03:17 here and I have to...

  • Reply To: Dealing with Transaction Log Growth

    Quite contrary to popular belief, index REBUILDs are NOT a problem compared to REORGANIZEs.

    Here's just one example.  I had a table that had an ever increasing Clustered Key that contained...

  • Reply To: Convert Datetime to other format

    For those interested, here's the profiler run I fan just a bit ago.  It doesn't contain all the tests but it doesn't really matter because the extra tests just prove...

  • Reply To: Convert Datetime to other format

    Ed B wrote:

    Jeff Moden wrote:

    ratbak wrote:

    Format could be derived like this:

    CONVERT(CHAR(10),jobstarted,103) + ' ' + CONVERT(CHAR(8),jobstarted,108)

    You indicate output as "Rome Time". What timezone/offset is your source data in?

    I would...

Viewing 15 posts - 3,301 through 3,315 (of 59,067 total)