Forum Replies Created

Viewing 15 posts - 1,891 through 1,905 (of 5,502 total)

  • RE: query an xml file !?

    christophe.bernard 47659 (2/18/2011)


    Hi GSquared, LutzM

    thanks for your time and your knowledge ..that's work ..yes 🙂 🙂 !

    I'm a beginner with t sql and i'm not sure to understand your code...



    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: How to code as Access first function?

    Please don't start a new thread if you have additional information to a question already posted.

    Original post including a first reply can be 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: Hiii

    please read and follow the advice given in the first link refernced in my signature and provide ready to use test data together with your expected output and what you've...



    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?

    GSquared (2/17/2011)


    ...

    Yes, at camelsexchange.com. :w00t:

    Must be a pain for the camel. (They still use bricks for it, right?) :pinch::crying:



    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: How not to get dubs

    I'd use either a LEFT OUTER JOIN or a NOT EXISTS subqry.



    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 I tune this?

    Brandie Tarvin (2/17/2011)


    Paul,

    What is the effect of building a non-clustered index over a clustered index?

    The table already uses CoverageKey and Effective (both ASC) as it's clustered index. Include only works...



    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 an xml file !?

    I'd rather go with

    SELECT

    x.i.value('(@parentStructId)[1]','int') AS ParentStructID,

    x.i.value('(@family)[1]','int') AS Family,

    x.i.value('(@subFamily)[1]','int') AS SubFamily

    FROM @xmlFile.nodes('/FamilyAndSubFamily/myStruct') as x(i);

    It performs better than the x.i.query('.').value approach. (see execution plan and statistics on a larger data volume)



    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: What is The Query Statment Can do that Logic

    LutzM (2/16/2011)


    How do you come to this conclusion?

    Examples:

    Product 2 is available until 2-8-2011. How do you know it's not available after that?

    Product 5 is not available starting from 2-9-2011....



    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: What is The Query Statment Can do that Logic

    How do you come to this conclusion?

    Examples:

    Product 2 is available until 2-8-2011. How do you know it's not available after that?

    Product 5 is not available starting from 2-9-2011. How...



    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: Problem with PIVOT operator

    Without any more details (like table def, sample data, expected result and the like) it's hard to tell.

    My guess would be there are more than one rows with nome ='Albertino...



    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: Exam 70-431

    Pouliot Philippe (2/16/2011)


    Do you think Certification for sql Server 2005 is to "old" now ?

    Or i must will go with Exam 70-432(Sql Server 2008)

    What do you think about that...



    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: OPENXML issue

    Rich Yarger (2/15/2011)


    I'm almost there...How do I get the result set now into the table? I've tried all the normal methods of SELECT INTO and SELECT / INSERT INTO,...



    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: Redundant Indexes

    GilaMonster (2/15/2011)


    LutzM (2/15/2011)


    GilaMonster (2/15/2011)


    In your example index 1 is redundant (the columns match exactly a left-based subset of another index), index 2 is not.

    Wouldn't index 1 be used if 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: OPENXML issue

    Rich Yarger (2/15/2011)


    Blaaaaaaaaaaaaaaaaaaaaaaaaaaah. . .Columns - not data. 🙁

    DECLARE @XML xml;

    SET @XML ='

    <Root>

    <Customer ID="1" FirstName="John" LastName="Doe" Street="123, Fake Street" City="Anytown" State="NY" Zip="11280" HomePhone="555-123-4567"

    ...

    </Transactions>

    </Checking>

    </Accounts>

    </Customer>

    </Root>'

    SELECT

    ...



    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: OPENXML issue

    Rich Yarger (2/15/2011)


    ...

    And that is why I am a newbie!

    Thanks again Lutz!

    😉

    You're welcome. 🙂

    (I just got a little confused since you used it correctly before... I didn't wanted to come...



    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 - 1,891 through 1,905 (of 5,502 total)