Forum Replies Created

Viewing 15 posts - 1,501 through 1,515 (of 2,919 total)

  • Reply To: Performance Issue

    Those are kind of my go-to's.

    One thing that could be an interesting check would be how much data is being transmitted across that connection at the time the query 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.

  • Reply To: Performance Issue

    Execution plans would be my starting point.  make sure that the queries are all doing the same thing.

    Also make sure all queries are getting the same results.

    Then I'd check wait...

    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: sys.dm_db_index_physical_stats returning wrong object_ID in MSDB database

    I could be mistaken, but I am 99% sure that the problem is that a QUEUE is not the same thing as a TABLE.

    I just checked that queue on 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.

  • Reply To: Index question

    I am not sure what the question is.  Are you wondering if I think SQL Server will work better or if SQL Server will need the same indexes as MySQL...

    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: Trying to get a arithmetic operation from an Variable

    As a thought - if you can translate the symbols to numeric values, you could do it with some messy WHERE clause.  What I mean is something like:

    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: schedule a job in CMS

    I imagine this depends on your CMS.

    But it sounds like a use case for SSIS to me.  With SSIS you can have it fire queries against multiple databases simultaneously or...

    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: Are there any free resources/ebooks to develop database design and modeling ?

    My opinion - you get what you pay for.

    The authors of the books need to make money, so they write books on what they know.

    If free training is what 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: ROWLOCK UPDLOCK - Locks whole table

    Found this article:

    https://dba.stackexchange.com/questions/114572/why-does-updlock-cause-selects-to-hang-lock

    From that link, the solution is to have a better index. Now, that being said, I would expect that since you are doing a SEEK, your index 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.

  • Reply To: The File location can't be opened error occurs when try to open a FileTable path

    Sounds to me like windows permissions are set wrong.  You said you can't access it from Windows run menu OR from SQL Server, this makes sense.  If you have no...

    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: SQL_variant to varchar error

    Have you tried using CAST or CONVERT to pick a data type on the column that has an unknown datatype?  Not the best solution, but will solve the problem.

    What 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.

  • Reply To: Killed SPID on xp_LogInfo not rolling back and growing TempDB

    Gotta love it when SQL can't guess how long the rollback will take so it tells you 0% and 0 seconds.  I've seen that before and there is that panic...

    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: Killed SPID on xp_LogInfo not rolling back and growing TempDB

    Sorry I couldn't be more help, but I am stumped on this one.

    I am confident that restarting the SQL Server service will fix the issue, but I am confused why...

    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: Killed SPID on xp_LogInfo not rolling back and growing TempDB

    Well, I'm confused... the query I gave should have shown you the rollback status on the query.  Since sysprocesses and sp_who2 are both saying it is rolling back, my next...

    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: Killed SPID on xp_LogInfo not rolling back and growing TempDB

    Since the query didn't return anything, my thought is the rollback completed successfully. Where are you seeing the "killed/rollback" information?

     

    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: SSIS Catalog - Dropped the database & recreated the catalog - can't deploy

    I am pretty sure that if the SSIS service is not running, you can't do most SSIS related tasks such as deploying to an SSIS catalog.

    I am a little surprised...

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