Forum Replies Created

Viewing 15 posts - 1,111 through 1,125 (of 2,919 total)

  • Reply To: Checkdb error

    Quick google of that error, it sounds like there is more to the error message.  Is the full error message:

    Msg 8921, Level 16, State 1, Line 1 Check terminated. 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 input on Best Method to Join on First or Last Row in a 1:M Join

    I see a few optimizations that can probably take place.

    First, that WHERE 1=1 isn't needed as it isn't doing anything.  Not sure it is a performance improvement by removing 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: Need Help with Pivot / Unpivot SQL

    One way to do it that I think should work would be to do a self join.  So something like:

    SELECT
    [t1].[empID]
    , [t1].[empl_rcd]
    , [t1].[jobcode] AS [jobcode1]
    , [t1].[joblevel]...

    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: Tracking, Privacy, and Lots of Data

    For me, with my android device, I like that I can turn off targeted marketing.  I forget where the setting is, but google allows you to disable it.  Turning 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: Does Every BEGIN require an END

    I can think of only 1 case where a BEGIN doesn't have an END - BEGIN TRANSACTION.  That requires a COMMIT or a ROLLBACK.   Otherwise I agree with Jeff here...

    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: Unable to connect to Remote SQL Server Application from C# Application

    Few things I would try, but the first would be to connect to the server using the FQDN rather than the friendly name.

    I would also make sure your connection string...

    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: PowerShell script help

    If the password to the SSIS service account is known to you, I would log in as that account and do a test run of the powershell as the SSIS...

    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: ForceEncryption only for WAN

    Do you have access to the folder where backups are happening on the live system?  If so, restore the live database onto your test box and run some tests 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.

  • Reply To: No Job History after CU 24 Install

    @loaderror - I don't think that you need to have the server name match the SQL instance name as then you wouldn't be able to have multiple named instances 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: PowerShell script help

    My first step - check the logs.

    My second step - adjust the powershell script to write to a debug file so you can see where it is getting stuck.  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.

  • Reply To: Looking for a way to change all objects at once?

    As far as I know, this is a manual process.  If you NEED to change the table but don't want to change all of the objects using that table, 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: Rounding question

    With your ROUND, you are rounding to 3 decimal places so that is why you are getting a bunch of 0's.

    So your options are:

    1 - change your ROUND to be...

    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: No Job History after CU 24 Install

    As a thought, are your SPN's set up correctly?

    I know I hit that snag YEARS back and I found a SO article about that error message where they are reminded...

    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: SSRS My subscriptions Something went wrong

    Might be a silly question but did you set up both the web portal and web service for SSL?

    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: Adding Case statement into Where

    I would probably take this approach (although not that efficient, it is easy to read in my opinion):

    where (p.JCCo=@Company and p.Job=@Job and substring(Phase,1,3) not in (' 00','...

    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 - 1,111 through 1,125 (of 2,919 total)