Forum Replies Created

Viewing 15 posts - 2,761 through 2,775 (of 2,919 total)

  • RE: capture data changes on tables

    The other option, presuming you have SQL Enterprise or SQL 2016 SP1, is to use change data capture.
    https://technet.microsoft.com/en-us/library/bb522489(v=sql.105).aspx

    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: Encapsulating complex logic without using a scalar UDF

    how about this:
    SELECT CAST(ABS(CAST(CAST(FirstDate AS DATETIME) AS INT) - CAST(CAST(SecondDate AS DATETIME) AS INT)) AS INT)/365
    Not positive that outer cast to an INT is required, but...

    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: Upgrade Sql 2012 Reporting Server DBs to Sql 2016

    I did this recently on our test box.  I just used the SQL 2016 installer to do this.  I clicked on the upgrade button and let it do its magic....

    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: DB restore stucks after recovery step

    sgt500 - Wednesday, March 8, 2017 10:05 AM

    no new entry in errorlog, differential restore still running
    this is the first rows of exec...

    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: DB restore stucks after recovery step

    What is in the log AFTER the differential restore?

    And what is your full restore command?  What about if you remove all of the optional arguments and just stick...

    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: Hosting SQL Instance(s)

    Dt_Andy - Wednesday, March 8, 2017 8:56 AM

    bmg002 - Wednesday, March 8, 2017 8:44 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: Import problem

    Sue_H - Wednesday, March 8, 2017 8:37 AM

    Jeff Moden - Tuesday, March 7, 2017 10:36 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: Hosting SQL Instance(s)

    Dt_Andy - Wednesday, March 8, 2017 8:23 AM

    bmg002 - Wednesday, March 8, 2017 7:36 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: Import problem

    Sue_H - Tuesday, March 7, 2017 4:09 PM

    bmg002 - Tuesday, March 7, 2017 3:34 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: Hosting SQL Instance(s)

    Is there a reason you want the databases on the cloud though?  Is this something customers are requesting or your company is thinking is a good idea?  I am just...

    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: Import problem

    Jeff Moden - Tuesday, March 7, 2017 3:10 PM

    Sue_H - Tuesday, March 7, 2017 2:10 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: SSRS issues with exporting

    SSRS runs in separate memory space from the SQL Server Instance.  So if you have 24 GB allocated to SQL Server and 24 GB limit set to SSRS, it 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: Maintenance plan reporting "failed" but succeeded

    Think I figured this one out on my own... the transaction logs were failing to make the report file; properties of the maintenance plan were pointing to the old backup...

    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: Import problem

    That is strange... I know I've connected to SQL 2005 from a SQL 2016 SSMS version without any problems.  mind you that isn't for a data import/export.
    I'd still recommend...

    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: Import problem

    crowegreg - Tuesday, March 7, 2017 10:40 AM

    Yes, I'm making sure that I'm running the query to insert the records into 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,761 through 2,775 (of 2,919 total)