Forum Replies Created

Viewing 15 posts - 4,861 through 4,875 (of 5,678 total)

  • RE: Time Duration for Middle Dates

    Two questions in one, EJ, just an FYI. 🙂

    First, you need to compare one row to the previous row. This is usually done via a CTE with a ROW_NUMBER()...


    - 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: Update Error

    Rog Saber (11/22/2010)


    I wrote an after update trigger on Table A. When I tab off of the field I changed to see if the trigger worked, I get the following...


    - 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: Advice on replicating database nightly to web host

    TAMMYAUDETTE (11/22/2010)


    Your thoughts?

    My first instinct is that you're looking to do administrative level tasks. Are all servers in house to your company, or is the target SQL Server an...


    - 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: Delete data in a table

    Grant, what about the option of using PAGELOCK as a table hint during the delete? If it's clustered on the ID, that'll keep it out of the way 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: Identity messed up on merge replication

    Dominic,

    I'm sorry that this is an untested recommendation, but I believe DBCC CHECKIDENT can be used to change the seed on a replicated table if the identity is set 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: 2 sep. queries are fast except when executed together via UNION ALL

    In addition to GSquared's recommendation, which I'd check first...

    Are the result sets large-ish (say 10k rows each or more?) independently? Are you doing more with the UNION ALL than...


    - 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: Replication Out of Synchronizations.

    I configured Transactional Replication without database snapshot

    This is most likely the problem. There was most likely changes to the source db between the time you made the copy...


    - 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 make data(.mdf) to equal size slices!

    pavan_srirangam (11/22/2010)


    thanks any way

    one last question

    If I add more .ndf files to the database will reduce pagelatch_up waits and resource is 5:1:3 no.

    Because I found there are...


    - 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 - Using a server variable within execute sql task code

    da-zero (11/22/2010)


    Craig Farrell (11/22/2010)


    The other option is using the expressions in the OLEDB source object, and setting servername via the variable, then using that as the source for a dataflow...


    - 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 make data(.mdf) to equal size slices!

    pavan_srirangam (11/18/2010)


    have you ever come across this problem

    If so let me now what you did ?

    I came across a tragedy like this only once. I forced a redesign...


    - 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 - Using a server variable within execute sql task code

    The other option is using the expressions in the OLEDB source object, and setting servername via the variable, then using that as the source for a dataflow pair.


    - 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: cursor appropriate?

    Removed, inaccurate.


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

    WayneS (11/22/2010)


    Stefan Krzywicki (11/22/2010)


    Brandie Tarvin (11/22/2010)


    Chris Morris-439714 (11/22/2010)


    CirquedeSQLeil (11/22/2010)


    Chris Morris-439714 (11/22/2010)


    Wishing Jack C a speedy recovery and some quality time for recuperation.

    Get well soon, mate.

    Did I miss something more than...


    - 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: What is the difference between these two statements?

    Not declaring the name ends up with a system defined one. It's usually used for Temp tables and the like to avoid conflicting names when the proc is run...


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

    CirquedeSQLeil (11/20/2010)


    Craig Farrell (11/19/2010)


    WayneS (11/19/2010)


    LutzM (11/19/2010)


    WayneS (11/19/2010)


    Craig Farrell (11/19/2010)


    Wayne, Lutz and I are volunteering you for Larry. Well, I am, Lutz isn't convinced your current avatar is less appropriate....


    - 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 - 4,861 through 4,875 (of 5,678 total)