Forum Replies Created

Viewing 15 posts - 2,461 through 2,475 (of 2,917 total)

  • RE: Need to move the file from client's ftp to local server using powershell

    As a thought, are you sure you have the correct server name?

    I see that you have a $servername variable and then a different value in your URI creation...

    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: Download SQL patch Info

    Theo Ekelmans - Thursday, July 6, 2017 4:55 AM

    I'm thinking of adding a second HTML scraper, and add the SQL EOL date...

    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: Create Multiple SSRS Subscriptions for a Parameterised SSRS Report - Programmatically / Dynamically / Quickly

    Sue_H - Thursday, July 6, 2017 7:27 AM

    shell_l_d - Wednesday, July 5, 2017 9:08 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: SQL Server suddenly crashes

    greatchap_99 - Thursday, July 6, 2017 6:00 AM

    I fixed the firewall and deleted the malware. The server is OK now. And no unwanted...

    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: Collapsing Hierarchy of messages into single row

    How about this (based on the excel file):
    DECLARE @message TABLE (MessageID INT, parentMessageID INT, CreatorID INT, Messagebody VARCHAR(MAX), senddate DATETIME2, retired BIT, retireddate datetime2)
    DECLARE @messageRecipient TABLE...

    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: Collapsing Hierarchy of messages into single row

    Could you provide the DDL?  I think you will get better (and faster) responses if you provide the DDL so others can build the required tables and then work with...

    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: Download SQL patch Info

    christoffersen366 - Wednesday, July 5, 2017 8:16 AM

    Nice project. But I'm not getting anything in the @html variable, the html file is...

    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 2016 SP1 CU2 - sudden and unexplained shutdowns

    did a quick google search of that error and came across this blog post:
    https://blog.sqlauthority.com/2007/04/25/sql-server-error-messages-sysmessages-error-severity-level/

    Severity 14 doesn't sound like it should take down the server but I...

    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: Shrink Database backup content / Shrink while restoring

    I may be proven wrong, but I am fairly confident that the restore of the database puts it in the exact same state that it was backed up in.  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 2016 SP1 CU2 - sudden and unexplained shutdowns

    I'd be curious what is in the SQL logs and the windows logs.
    I imagine that one of those 2 places will have more information about what is wrong.   When SQL...

    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: Pulling from two tables when data does not exist in both

    autoexcrement - Monday, July 3, 2017 3:17 PM

    Perfect case for the sexy COALESCE function:

    SELECT
       COALESCE([CYsales].[cust_id], [LYsales].[cust_id]) AS [cust_ID]
    ,...

    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: SSIS Error When Executing Package in SSMS

    You should also look at the logs (both windows and SQL) to see if there is any more information about the error.  If it is a permission denied on 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.

  • RE: General advice needed - database design - Is this a bad way to design a pricing table?

    r.gall - Monday, July 3, 2017 9:48 AM

    J Livingston SQL - Monday, July 3, 2017 9:42 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: Failed job for log backups but it isn't really failing..

    I've seen that error when it was unable to delete the previous backup file too.  I would check to see if you have some really old backup files sitting 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.

Viewing 15 posts - 2,461 through 2,475 (of 2,917 total)