Forum Replies Created

Viewing 15 posts - 1,786 through 1,800 (of 2,917 total)

  • Reply To: List of all users for all databases

    the users in a database are contained in the single database.  There is no way (that I know of) to get all of the users in a database without using...

    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: Finding when SQL login switched to disabled status

    I think that won't work unfortunately.  SQL is being helpful and pulling the data out of master when you query against sys.sql_logins.  You can verify this by switching to any...

    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: error while setting up linked error

    Could you post the exact error message?

    I have links all over the place with different SQL versions (ranging from 2008 R2 to 2016) and everything seems to work without  much...

    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: value separate to text and unit not working when value have comma separated mult

    pietlinden wrote:

    I went a slightly different route... I used Jeff Moden's DelimitedSplit8K function to do this...  (some of the bits are just intermediary calculations)

    SELECT ft.RawValue
    , ca.ItemNumber
    ,...

    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 remove FILESTREAM filegroup that is not in use

    Glad you tackled one problem.  Too bad it created a new one.

    If memory serves, SOS_SCHEDULER_YIELD is related to CPU utilization and may be safe to ignore.  A good writeup 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: upgrade SSIS catalog got an error

    How to contact them for support depends on your support contract with your license (I believe).

    I would reach out to the license vendor first, and failing that this link has...

    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 remove FILESTREAM filegroup that is not in use

    Ok, was reading through this blog:

    https://www.mssqltips.com/sqlservertip/5858/how-to-remove-filestream-from-a-sql-server-database/

    and my understanding of filestream was off.  But came up with a thought - Do you get any results when you run this query:

    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: upgrade SSIS catalog got an error

    Yeah, I'm a bit curious as well.

    The error about version mismatches makes me think that the SQL instance was patched, but that the ISDBUpgradeWizard was not.  Are there outstanding 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.

  • Reply To: RunRate , Forecast using Recursive CTE or UNION ALL

    My only question with this is a pretty easy one - should your calculation to calculate the Forecast/RR for future months be per-customer, per Cost_Centre, or only look at 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: upgrade SSIS catalog got an error

    This may be a silly question but did you install the 2019 SSIS along with the 2019 SQL Instance?

    Next, does the following path exist:

    D:\Program Files\Microsoft SQL Server\150\DTS\Binn\ISDBUpgradeWizard,

    Those would be 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: value separate to text and unit not working when value have comma separated mult

    I just wanted to confirm an assumption I had prior to working on this - the TextUnit value will never change in a "Value", correct?  Plus, is the "TextUnit" value...

    • This reply was modified 5 years, 11 months ago by Mr. Brian Gale. Reason: Code update
    • This reply was modified 5 years, 11 months ago by Mr. Brian Gale. Reason: removed the USE statement as it likley doesn't apply in your case

    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 remove FILESTREAM filegroup that is not in use

    Do you use FILESTREAM at all?  If not, it may be safe to just turn the option off at the instance level or configure it to be "blank" at 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: Cannot Remove an Invalid Object

    What I would strongly encourage you to do is get a test instance set up so you can try out the different methods suggested.  The main reason to get 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: Cannot Remove an Invalid Object

    So was able to replicate the issue!

    corruption

    My steps were to first create the database, create the stored procedure named mmytest.  Next, changed Page Verify to NONE, took...

    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: Cannot Remove an Invalid Object

    Jeffrey Williams wrote:

    Brian Alger wrote:

    Had not thought about that road.  Here is what that script produced:

    CAST([name] AS VARBINARY(MAX)) = 0x23006D0079007400650073007400

    CAST('#mytest' AS VARBINARY(MAX)) = 0x236D7974657374

    Other than the extra zeros they match.

    These are not...

    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,786 through 1,800 (of 2,917 total)