Forum Replies Created

Viewing 15 posts - 2,056 through 2,070 (of 5,502 total)

  • RE: Need to Column4 value as Column4 and Column5

    There are several issues being unclear:

    1) Why are there three rows for 5,C,F in @T but none for 5,C,T?

    2) Why is the row for 5,C,F in @T and not 5,C,T?

    3)...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Need to Column4 value as Column4 and Column5

    Please post your expected result either as a list of SELECT statements or as a comma separated list.

    Your verbal description is rather confusing.

    And why no subqry or CTE?



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: A different Type Of Query

    CELKO (1/20/2011)


    Since a table must have a primary key to a table, I automatically put one in the skeleton schemas I post.

    ROW_NUMBER() will, effectively, sort the list, then give...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Dynamically exporting the database into xml file and updating database dynamically with that xml file

    bvkrishnareddy.bandi (1/20/2011)


    No, it really a large data base, that's the reason in place of communicating directly with database, to communicate with that xml file?

    Just consider the following scenario:

    Let's assume you...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Data Split and match across 2 different DBS on 2 seperate networks

    allin1 (1/19/2011)


    thanks Again.

    Most of this is on paper still. But planning to implement soon.

    Ideas on the " Mapping Loggic " would help too.

    I decided with first 10...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Extended SP "sp_XML_preparedocument " missing

    Are you sure you're searching the correct folder?

    Do you see the sp_batch_params procedure?

    How did you notice it's missing? Do you get any error message when calling the sproc? If so,...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Need help with query to generate a Matrix

    Joe,

    why do you insist in using the resignation_date column?

    As mentioned in my previous post, there is a high chance of data inconsistency.

    Example (repeated from before):

    member_id, group_id, membership_date, resignation_date

    ABCD,G1,20110101,20110218

    ABCD,G2,20110102,NULL

    This is a...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: sql Table Variables

    One reason might be there are simply no rows in the table variable.

    Either there are no data in the app_error_log table or your queries return no data.

    As a side note:...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Execution plan query cost v Logical reads

    One possible cause is using a scalar function in query A.

    The query costs in the execution plan tend to be "inaccurate" down to "plain wrong".

    You'll get much a better comparison...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Execution plan query cost vs Logical Reads

    duplicate post. No replies, please.

    Continue here



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: T-SQL assistance please!

    See what I mean? ;-):-D



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Query Doubt

    Joy Smith San (1/19/2011)


    ...

    I have written a query to get the same result in my own way.

    Would like to see if there's a better way.

    ...

    Please post what you've tried so...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: T-SQL assistance please!

    Please read the first article referenced in my signature on how to describe the issue more detailed and with ready to use sample data.

    It will be much more helpful if...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Looping though XML Subnode and pass the Identity value

    Do you still use the XML variable?

    If so, you might want o try loading the data into a table with an ID column (being the clustered index) and add an...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Calculating Delta values for each day

    Nicky Murphy (1/18/2011)


    Very neat!

    Is there a way of grouping by other intervals e.g. a week or a month?

    Yes.

    Just change GROUP BY DATEADD(DAY, DATEDIFF(DAY, 0, TIMESTAMP), 0) to the range you...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

Viewing 15 posts - 2,056 through 2,070 (of 5,502 total)