Forum Replies Created

Viewing 15 posts - 901 through 915 (of 2,647 total)

  • RE: Query help

    Eugene Elutin (5/22/2012)


    Jeff Moden (5/22/2012)


    ...

    By posting data in a format that you need 2008 or above for, you're cutting out some pretty hefty SQL Ninjas who may not have a...

  • RE: Not ending Transact-SQL statements with a semicolon

    Hmm... Why do you think that every statement needs to end with a semi-colon in 2008R2? Also, GO is a batch terminator and will never require a semi-colon.

  • RE: Will partitioning help?

    No. Partitioning is not a performance enhancer, it is to make maintenance easier and more manageable. There is no reason for you to partition this data.

  • RE: Find obsolete User Defined Functions SQL2008R2

    How would any of that information, if it existed, guarantee that the function was obsolete? 🙂 I personally believe that the proper and best way to do it is to...

  • RE: SQL View or Stored Procedure to display results

    Tava (5/16/2012)


    I didnt even know you could do that, you learn something new everyday. I will give this a go and hopefully I pick it all up but at least...

  • RE: SQL View or Stored Procedure to display results

    Sample code you can put at the end of your SP. MAke sure you declare any missing variables as I did not have time to completely edit it.

    set @subject...

  • RE: SQL View or Stored Procedure to display results

    I would write a stored procedure to pull the data. I would then call that stored procedure from reporting services to generate a report. Either that, or create...

  • RE: clustered indexes

    SQLCrazyCertified (5/16/2012)


    Lynn Pettis (5/16/2012)


    SQLCrazyCertified (5/16/2012)


    erics44 (5/16/2012)


    Hi

    I have always been under the impression that in tables where there are a lot of inserts a clustered index should be avoided and clustered...

  • RE: Data Refresh issue - one problem table crashing refresh

    My first guess is the TEXT column. 2nd guess is the check constraint. Were any of these things added right before you saw the first error?

  • RE: Question: Immediate Exit of Stored Procedure?

    We tend to use RETURN in all of our SPs that are called by an application. They return 0 for success and then any number of integers depending on...

  • RE: Data Refresh issue - one problem table crashing refresh

    Can you please provide DDL for the table including indexes and such?

  • RE: SQL Query help

    Ok, so it is more like 4 columns that have events in them where the data between columns is not necessarily related except by date and patient.However, just because a...

  • RE: SQL Query help

    Ok, so in the example I referenced... Is there any relation between the first Type 1 measure to the Type 2 and Type 3 that makes it appear in the...

  • RE: SQL Query help

    Cadavre seemed to grasp what you needed much quicker than I. Kudos! Can I ask, though, what is the purpose of this data. I ask because in your...

  • RE: SQL Query help

    DataAnalyst110 (5/16/2012)


    SQLKnowItAll (5/16/2012)


    Personally, I prefer to picot the data AFTER retrieving it. Either in Reporting Services or in Excel.

    Hi Jared - You don't happen to have a link to...

Viewing 15 posts - 901 through 915 (of 2,647 total)