Forum Replies Created

Viewing 15 posts - 976 through 990 (of 2,917 total)

  • Reply To: Extended Events: is Ring Buffer data supposed to be in File target as well?

    My understanding is that they are 2 completely different data capture methods.  Ring buffer is a buffer and only exists in memory.  The advantage to this is that you are...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Reply To: Help with code

    Pretty sure for this to work you are either going to need to have your stored procedure call a second stored procedure (likely the approach I would go with) OR...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Reply To: Update table column using other table

    I updated my post as the forum apparently didn't like the alias I used.

    Since you are updating everything and you are doing it every 24 hours, I would recommend trying...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Reply To: Update table column using other table

    I would start development on this by making it work with a SELECT statement, which you can do with 2 JOINs.  The basic logic of it is you want to...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Reply To: TempDB cleanup execute SQL task getting hanged in SSIS

    Probably a silly question but is there a reason you are wanting to drop ALL clean buffers and free ALL the caches before you do your steps?  And why you...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Reply To: CPU Threads Consumed by AlwaysOn Question

    I think that this page will help:

    https://www.sqlshack.com/max-worker-threads-for-sql-server-always-on-availability-group-databases/

    The link above says that for 500 databases with 1 primary, 2 secondaries, and 1 availability group your MINIMUM threads should be 1501.  The...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Reply To: Email Notification in Script Task not working from SSMS

    Something along the lines of:

    string text = ex.Message;
    string path = @"C:\Data\TextFiles\logFile.txt";

    System.IO.File.AppendAllText(path, text);

    Although, if you are "really new to C#", I would recommend reading up a bit on...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Reply To: How to configure SSRS 2017 anonymous login

    Quick google brought me to this:

    https://www.linkedin.com/pulse/ssrs-2017-anonymous-authentication-problem-solved-frans-van-der-geer/

    Following directions for SQL Server 2008 to configure something for SQL Server 2017 sounds like a recipe for disaster in my opinion.  The fun part...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Reply To: Best recommendations check if CPU is still having any issues

    I think the best way depends on what sort of issues you are looking for.

    If it is frequent high CPU, then task manager or WMI or perfmon will tell you...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Reply To: Email Notification in Script Task not working from SSMS

    Not sure I can help, but first thing I'd do is change the C# you posted to exclude the username and password and smtp client name.  don't need people from...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Reply To: How are connections and connection strings handled?

    If I remember right with R (it's been a while since I touched it as it isn't really related to my job), the file you create is essentially just a...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Reply To: Seeking advice on TOP 10 WAITS and their reduction

    I'm a little late to this reply, but with respect to my comment about service broker - if you set it up, I'd check to make sure you are following...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Reply To: How to limit SQL Job Success events

    As far as I know there is no way to do that nicely inside SQL.

    If doing it inside SQL is a requirement, you could modify the code you are running...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Reply To: Get charges percentage per entity\channel

    Easiest way - change the division to handle when 0 may be the result.  How you handle that is up to you, but my approach would be to set it...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

  • Reply To: Get charges percentage per entity\channel

    It includes them becuase the Prod Line is different.

    Your original requirement (original post) says:

    " I only want to include ME# where there are 2 different Prod Lines associated with single ME"

    So...

    The above is all just my opinion on what you should do. 
    As with all advice you find on a random internet forum - you shouldn't blindly follow it.  Always test on a test server to see if there is negative side effects before making changes to live!
    I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.

Viewing 15 posts - 976 through 990 (of 2,917 total)