Forum Replies Created

Viewing 15 posts - 3,286 through 3,300 (of 5,678 total)

  • RE: Find all orders that have EXACTLY the same items

    Easiest way I know to do this is a dirty trick using FOR XML.

    IF OBJECT_ID ( 'tempdb..#orders') is not null

    drop table #orders

    create table #orders(

    oid int,

    itemid int

    )

    insert into #orders (oid, itemid)

    values...


    - 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: Using a View as an abstraction for a table

    It's a common method to workaround dealing with bad design methods when inherited. I would recommend you do it in smaller chunks, however, working with the design teams towards...


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

    I've used temporary indexes both on temporary and permanent objects for a variety of reasons, but usually do to one off (like quarterly) processing that I don't want those 20-30...


    - 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?

    A bit of narcissism drove this, but I hit a whaaaaa type of site.

    This site takes another site and completely frames it in its own advertising and stuff.

    http://news.comrite.com/en/newsposts/39235

    That points to...


    - 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: Better way to filter/check data?

    ZZartin (4/28/2011)


    Have you tried using a derived column in the data flow to replace the columns you're getting bad data in with cleaned data?

    While not a bad idea, the primary...


    - 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: SSIS table to table date change

    Harry, go into the dataflow task and check what metadata type the column in question is. That will help us figure out where your issue might be hiding.


    - 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: Better way to filter/check data?

    Not sure if it would speed you up, but an inline script component checking the field as it passes by and using two output streams depending on results found would...


    - 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?

    Steve Jones - SSC Editor (4/28/2011)


    Since I have the collective braintrust here, and you're posting technical stuff.

    I posted a note about understanding your access patterns for data, meaning hitting tables...


    - 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: Persisted computed columns VS index over computed column

    Stefan Krzywicki (4/28/2011)


    hillock666 (4/28/2011)


    Hi.

    I'm wondering about marking a computed column as persisted is useful when I'm using a query fully covered with an index.

    I think that this haven't...


    - 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: How to avoid aggregate functions and TOP/BOTTOM ?

    Thanks Igor, that'll help tremendously. There are a few ways to completely avoid aggregation methodology and using top 1 cross apply techniques as well... but they're uncommon, at best....


    - 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: Select Records For Any Month

    Vedran Kesegic (4/27/2011)


    Third, never substract a second, milisecond, nanosecond, 2 ms or anything for such purposes. Substracting anything is innacurate and a very nasty BUG! For example, later you decide...


    - 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: How do you vulgarize a DBA's job?

    "You know Google? Okay, where you type in information, that's the front end. They make it pretty and give you a thousand options in a way you can...


    - 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: Normal Forms

    I can take a swing at this if Tom is feeling time pressured, I've pretty much avoided the entire debate out of self defense. Did you want these spackle-style...


    - 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: How to avoid aggregate functions and TOP/BOTTOM ?

    Igor check out the first link in my signature to show how to make your test data consumable.


    - 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: guidance needed for troubleshooting an application timeout issue

    Heh, whoops, sorry, I didn't address one of your issues. Most likely the reason going to dirty reads got you out of this problem is that certain ID's probably...


    - 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 - 3,286 through 3,300 (of 5,678 total)