Forum Replies Created

Viewing 15 posts - 2,836 through 2,850 (of 2,917 total)

  • RE: SPROC Stored Proc vs SSIS for Enterprise Wide Dev

    I agree with Eric M Russell's comment...

    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.

  • RE: Combining AVG and SUM functions

    Depending on the size of the data and the SQL Server version and options and a lot of other factors, it may be faster to throw the summed values into...

    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.

  • RE: Performance improves after reboot

    RVO - Wednesday, February 15, 2017 9:22 AM

    We reboot the whole server (Windows 2012 Server box).

    Yes, It's shared memory and I pointed...

    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.

  • RE: Performance improves after reboot

    As another thought, do you have shared memory turned on for this VM?
    I am wondering if at certain times other VM's on that host are getting memory starved 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.

  • RE: xp_cmdshell File Copy Failing - "Access Is Denied"

    I'd change it then to a real user instead of any built-in users.  
    If it was me, I'd make at least 2 - one for SQL Server and one...

    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.

  • RE: xp_cmdshell File Copy Failing - "Access Is Denied"

    Michael L John - Monday, February 13, 2017 2:49 PM

    What YOU can do does not matter.  What matters are the permissions that...

    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.

  • RE: SQL 2000 to 2014 Restore

    Beaux_Zeaux - Monday, February 13, 2017 2:15 PM

    I found out the SQL 2000 db is on SP3.  Do you know if in...

    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.

  • RE: xp_cmdshell File Copy Failing - "Access Is Denied"

    homebrew01 - Monday, February 13, 2017 2:04 PM

    2 New Windows Servers 2016 running SQL 2016 Standard. No Active Directory.
    Logged on as my...

    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.

  • RE: Help with Instead of Trigger

    komal145 - Monday, February 13, 2017 1:44 PM

    BEGIN CATCH
            PRINT ERROR_MESSAGE()
          ROLLBACK TRANSACTION;
    RETURN
    END CATCH

    This prints the error. But still , this...

    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.

  • RE: Help with Instead of Trigger

    Ah... yes... that actually makes sense as the trigger is handling the raiseerror.
    pull out the try/catch lines and change the second IF to:
    IF (@CompetitorCode...

    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.

  • RE: Help with Instead of Trigger

    komal145 - Monday, February 13, 2017 1:19 PM

    komal145 - Monday, February 13, 2017 1:15 PM

    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.

  • RE: Help with Instead of Trigger

    komal145 - Monday, February 13, 2017 1:00 PM

    bmg002 - Monday, February 13, 2017 12:59 PM

    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.

  • RE: Help with Instead of Trigger

    komal145 - Monday, February 13, 2017 12:54 PM

    bmg002 - Monday, February 13, 2017 12:49 PM

    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.

  • RE: Help with Instead of Trigger

    komal145 - Monday, February 13, 2017 12:43 PM

    bmg002 - Monday, February 13, 2017 10:26 AM

    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.

  • RE: KILLED/ROLLBACK query doesn't stop running

    We had a simlar thing.  You should check the SQL Server logs.
    In our case, a 3rd party tool incorrectly force closed a connection before SQL was ready so 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.

Viewing 15 posts - 2,836 through 2,850 (of 2,917 total)