Forum Replies Created

Viewing 15 posts - 76 through 90 (of 1,079 total)

  • RE: TempBD space issue

    Simple answer, yes you can reduce the size if the space is available. 
    It shrinking advised? No. 
    Refer to methods: https://support.microsoft.com/en-us/help/307487/how-to-shrink-the-tempdb-database-in-sql-server

    Question though, why is your tempdb on the...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Readmission within 30 days from a discharge

    I don't see any code you developed to link any re-admissions to the original case nrs, but I'll get you started on determining the days between admission and discharge dates.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Sub Query

    .

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: convert year to last date of the year

    This is based on current date, you'll need to replace 'getdate()' with the date you are working with'

    SELECT datepart(year, CAST(DATEADD(dd, -1, DATEADD(yy, DATEDIFF(yy, 0, GETDATE()),...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Help with backup script

    newdba2017 - Thursday, May 25, 2017 3:28 PM

    Henrico Bekker - Thursday, May 25, 2017 2:10 PM

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Sql Server 2016 Multiple Availability Groups and instances on VM

    We have a similar setup.
    The one challenge so far was load balancing unexpected workloads on instances, because you are now sharing one resource pool between all Instances.
    Other...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Help with backup script

    newdba2017 - Thursday, May 25, 2017 1:47 PM

    Also, is there any book or courses that someone can recommend where I can learn...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Help with backup script

    Question, why aren't you using the perfectly good SQL Maintenance plans to perform all of this?

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Help with backup script

    jasona.work - Thursday, May 25, 2017 12:51 PM

    Henrico is on the right track, but just using a getdate() will cause problems as...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Help with backup script

    That should create a new backup for DAILY, since you have the @fileDate portion in the filename. 
    @fileDate is set to be a yyyymmdd format, so you'll be writing to the...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Clustered Instance in danger of replacement

    luismarinaray - Thursday, May 25, 2017 11:13 AM

    Dear Colleagues,

    How to demostrate, that one solution based on vm high availability is not the...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Question about Always On

    Yes.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Graph Tables - Thoughts?

    Played around with it, can honestly not say I see an immediate use for it in my own life, but considering other similar products are doing this, it just makes...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Add Accounts that have no orders to a SQL view

    Your INNER JOINS on Orders Orders ORD ON ORD.OrderID = ORDD.OrderID INNER JOIN rule out rows that don't match.
    Consider a LEFT OUTER join to return unmatched orders...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • RE: Simulate filling Transaction log

    To build trends in behavior over time, why your logspace is used and can't be reused, include checking log reuse reason with it maybe (suggestion)

    select name,...

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

Viewing 15 posts - 76 through 90 (of 1,079 total)