Forum Replies Created

Viewing 15 posts - 2,206 through 2,220 (of 2,917 total)

  • Reply To: ORDER BY - Need to understand what's going on

    Can you post your query?

    Looking at the screenshots the first result set shows row 91 and the second result set shows row 1.  Since no row in data set 2...

    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 Open SQL Error Login using SSMS

    As a crazy thought, what happens if you try opening the error log file outside of SQL?  With the new instance you can shut it down and have a look...

    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: New to SQL Server

    Welcome to the forum and to SQL Server!

    So looking at your queries, my understanding is the first one is adding columns to an already existing table.  That one looks good...

    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: Where Do You End Up as a DBA?

    I have been working as a DBA for about 8 years (roughly) and I don't see the "light" at the end of the tunnel for becoming a Sr. DBA anywhere...

    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: Troubleshooting with. wait stats (last 2 weeks included)

    I just realized I misread that configuration... it isn't 122 GB of memory, it is 12.2 GB of memory.

    Depending on database size, that may be too small, but I'd still...

    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: Troubleshooting with. wait stats (last 2 weeks included)

    When you say a "slow server", is it every query that is slow?  Is it a specific stored procedure or view that is slow or everything you do 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.

  • Reply To: Single quotes when not pasting inside the code sample Box

    This may be an unpopular opinion, but I feel that this is more of a user training issue than a forum software issue.

    If the end user uses the tool 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: Cross Joining Queries, Left Joining Queries

    Looking at the query, your @Time1 and @Time2 variables are going to show the time difference between how long it takes to call GETDATE().  And that time is going to...

    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: Odd issue, DBA says due to parameter sniffing, could use advice, please...

    I have a question about this:
    When it gets suddenly slow, are you able to reproduce the slowness on your machine from SSMS?

    What I am thinking is to...

    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

    Another way to get this inventory is through RedGate SQL Monitor.
    Not sure where they scrape their data from, but in version 8 (possibly sooner) they have an Estate tab...

    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: SSMS failing to install on windows 10

    As a thought, is your .NET up to 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: The Worst Day

    I quite enjoy being a DBA overall.  Every now and then I get hit with odd problems that make me think and hopefully I have time to think and resolve...

    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: how do i display only the 6 character from the right in ssrs

    Have you tried using the "right" and "left" functions?  something like:
    LEFT(RIGHT(<string>,6),1)

    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 to write a condition to qualify Members with consecutive days of stay in same and different hotels

    Can you post some DDL?
    Looking at the sample data, it looks like you'd just need to look at the status column and member email.  the other columns sshouldn't matter.

    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: TCP / IP SQL configuration

    This sounds like a DNS issue to me.  Your DNS server is likely pointing to the old address or prioritizing the old NIC.
    You will want to update the DNS...

    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,206 through 2,220 (of 2,917 total)