Forum Replies Created

Viewing 15 posts - 2,221 through 2,235 (of 2,919 total)

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

  • RE: Initial load of data to table slow

    Something to check is database autogrow.  If the database is growing when you do this import, it will slow things down.  
    Another thing you could try that we did in...

    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: HELP,TSQL, - How do I write the SELECT stmt to condense multiple time spans

    mw_sql_developer - Wednesday, August 1, 2018 1:00 PM

    bmg002 - Wednesday, August 1, 2018 12:51 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: HELP,TSQL, - How do I write the SELECT stmt to condense multiple time spans

    mw_sql_developer - Wednesday, August 1, 2018 11:57 AM

    Done! Finally!
    I tested against single spans as well... Works beautifully


    If object_id('tempdb..#DLT') IS 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.

  • RE: HELP,TSQL, - How do I write the SELECT stmt to condense multiple time spans

    mw_sql_developer - Wednesday, August 1, 2018 11:14 AM

    bmg002 - Wednesday, August 1, 2018 11:13 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: HELP,TSQL, - How do I write the SELECT stmt to condense multiple time spans

    Was my solution no good?  It seemed to work with the data you provided...

    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: HELP,TSQL, - How do I write the SELECT stmt to condense multiple time spans

    A sample solution (not an efficient or "good" one but it works with the sample data you gave, but no promises it would work with "real" data, and I imagine...

    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: Time Outs!!

    There are a lot of good articles written pertaining to SSRS and timeouts out there, such as this one:
    http://geekswithblogs.net/ssrs/archive/2009/10/30/steps-to-resolve-ssrs-timeout-issues.aspx

    There are 2 basic approaches to timeout issues...

    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: When someone asks you what you do for work, how do you answer?

    I generally tell them that "I am a database administrator; which is a spcific role in the IT industry."  It gives them the chance to ask more questions about 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.

  • RE: What's a Toaster?

    I am probably the "odd duck" in the group, but I don't find any software is "just a toaster".
    For years, I just used notepad because it was pre-installed and...

    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: Who Likes NULL?

    My methodology is that NULLs are acceptable if you can justify them.  If I see code where a developer is creating a table and they haven't talked to me first...

    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: Performance Problem Migrating DW from Tin to VM - Suspected CPU Issue

    Is this a live server?
    If so, my first step would be to get a TEST server set up so you can do changes during company uptime and not have...

    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: String column shows up as Number Stored as text error

    Pretty sure the only good way to do that is to cast it to a numeric type in the report or casting it as something else inside excel.  
    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: Performance Problem Migrating DW from Tin to VM - Suspected CPU Issue

    frederico_fonseca - Friday, May 25, 2018 3:37 AM

    bmg002 - Thursday, May 24, 2018 12:08 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.

Viewing 15 posts - 2,221 through 2,235 (of 2,919 total)