Forum Replies Created

Viewing 15 posts - 1,921 through 1,935 (of 5,678 total)

  • RE: Creating XML using Tsql

    I don't believe you'll be able to do this without Explicit because you're changing the attribute tags instead of internal values. I'm not an expert on XML via T-SQL,...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Comparing data row by row....

    ChrisM@home (1/20/2012)


    This breaks a 5-row set based on date then time, leaving 2 remaining valid 5-row sets in the 50-row seed data. The 3 islands-n-gaps queries yield 40k rows as...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: I am hoping there is a simple way to accomplish this selection

    meichner (1/20/2012)


    UserGroups

    Primary Key GroupCode

    Description VarChar(50)

    Users

    Primary Key UserID

    Foreign Key GroupCode

    UserName VarChar(50)

    Menu Items

    Primary Key MenuID

    Foreign Key GroupCode

    MenuName VarChar(50)

    I want to be able to display every possible combination of UserName and MenuName for...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Design Challenge

    I'd personally use your many to many table to hold the scores, as well as use it as your linker table.

    You're storing scores according to a composite key of CategoryID...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Deduplicating data question

    TheRealDJ (1/20/2012)


    Perfect, thanks so much for the quick response!

    My pleasure, thanks for setting up sample data and structure and showing your work so we could help you quickly and efficiently....


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Comparing data row by row....

    ChrisM@home (1/20/2012)


    Evil Kraig F (1/20/2012)


    ChrisM@home (1/20/2012)


    - don't treat a problem as islands-n-gaps if it isn't, because whatever method you use to resolve it, it's going to cost you.

    Chris,

    The only problem...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Deduplicating data question

    Coupla things. You needed to stop grouping by the customer ID in the Group BY and you needed to have the REPLACE/STUFF component work off FirstName/LastName combination instead of...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Comparing data row by row....

    ChrisM@home (1/20/2012)


    - don't treat a problem as islands-n-gaps if it isn't, because whatever method you use to resolve it, it's going to cost you.

    Chris,

    The only problem with this statement is...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Query performance irregularity

    shahgols (1/19/2012)


    Hi everyone,

    I was told by someone that they have two servers that are exactly the same in every regard, and two databases on those servers that are also exactly...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: SQL Agent Job succeeds even though step should fail

    Brandie Tarvin (1/18/2012)


    I did not know that information about the timeout. I'll check into it.

    Of course, every time I get a moment to work on this issue, another bigger fire...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    Jack Corbett (1/19/2012)


    Brandie Tarvin (1/19/2012)


    Is that a chicken hawk?

    Are you worried because you are a chicken?:-P

    "I say, I say boy" - Foghorn Leghorn

    ChickenHawk: *sigh* WHAM!WHAM!WHAM!WHAM!WHAM!

    I always loved when...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Grouping/Partitioning data

    eseosaoregie (1/19/2012)


    thanks, this is what i wanted. Apologies for my poor explanations at the beginning

    No worries, it happens. I wasn't explaining myself well either. Happy to help, good...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Is there a more efficient alternative to WHILE LOOPS and CURSORS

    Can you pull the estimated .sqlplan for the process? You'll find instructions if you need it in the second link on the left in my signature.


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Schemas vs Databases

    SQLRNNR (1/19/2012)


    Evil Kraig F (1/19/2012)


    I don't know of a best practices document, however, my general guideline in this:

    If you can restore the data independently of each other, different databases for...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Joining 2 tables, with all values from first

    Scott D. Jacobson (1/18/2012)


    I'm trying to join 2 tables. This is a one-to-many (1-N) join. I have a table with accounts and another table with information about those...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

Viewing 15 posts - 1,921 through 1,935 (of 5,678 total)