Forum Replies Created

Viewing 15 posts - 4,981 through 4,995 (of 5,502 total)

  • RE: Advice on XML data Variable declaring, Inserting, Reading, Deleting ??

    To get the result in XML format, use a normal select clause and add FOR XML AUTO to it. It will convert the result to one type of XML format.

    Since...



    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: Are the posted questions getting worse?

    I really do understand that most of the people who survived the terror just by some sort of coincidence (or destiny or whatever you'd like to call it) are not...



    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: help with one sql query

    Martin Davies (9/11/2009)


    Select top 4 location

    from Locations

    where location >= 'A2'

    "ORDER BY location" should be added to this query.

    Otherwise results may be unexpected.



    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 the throughput time

    Hi,

    Edit: Please disregard. Andrews solution (see previous post) is much easier and performs a lot better.

    it's a little more complicated in SS2K (at least in terms of readability), but not...



    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 the throughput time

    First of all, thank you for providing DDL together with obviously carefully designed sample data! Good job!

    Following please find a proposal that will give you -almost- the expected result (Throughput...



    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: xml query

    Duplicate post.

    Already answered in this thread .



    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: Use of cursors with XML data in sql 2000

    Would you please provide some sample data to test against together with your expected result?

    For details on how to post those data please see the link in my signature.

    It's some...



    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: Table Design for storing xml message

    duplicate post.

    discussion already started 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: Table Design for XML Message logging

    irrelevant post. Sorry.



    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: can xml be used to query a non-xml table

    Once you start explaining why you need to do it would you please support your explanation with some sample data to make it more understandable and -maybe- to give us...



    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: Simple Query for Current Date help

    Assuming your column [dbo].[imitmidx_sql].[activity_dt] is of a char(10) type, it should be more efficient to use

    SELECT CONVERT(CHAR(10),GETDATE(),101) instead of the replace and convert functions.

    However, you should think about storing...



    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: Displaying images in SSRS

    Duplicate post.

    Please continue here . (It's the link to the 2K8 forum, where this question obviously belongs to).



    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 From date Range

    Dave Ballantyne (9/10/2009)


    ...

    Select WeekNo = datepart(week,datecol),

    Mon = sum(case when datepart(dw,datecol)=2 then Sales else 0 end),

    ...



    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: XML in a text variable and dynamic query for MySQL

    I'm just going to repeat what I posted before, just a little more focussed:

    Straight from BOL again:

    varchar [ ( n | max) ]

    max indicates that the maximum storage size...



    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: SSIS Problem With Checkpoint Settings

    duplicate post.

    please continue discussion 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]

Viewing 15 posts - 4,981 through 4,995 (of 5,502 total)