Forum Replies Created

Viewing 15 posts - 4,351 through 4,365 (of 5,678 total)

  • RE: troubleshoot INSERT errors in SQL Server 2008

    navecomp (1/18/2011)


    How would you troubleshoot INSERT errors when dealing with a large data-set (100+ fields)?

    Practically, I copy the DDL to a new table, point the insert at that, and then...


    - 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: Execute multiple stored procedures using EXECUTE SQL TASK in SSIS 2008

    Then your object is configured wrong, or your exec statements are coughing up errors. Things to check offhand:

    It doesn't appear that you're using parameters, so make sure there's nothing...


    - 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: Why does blocking occur on a different database?

    First thing: Check for some cross database ownership chaining and cross DB calls from your procs. They're waiting, it seems, for access to the pages in memory (latches).


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

    Alvin Ramard (1/18/2011)


    Steve Jones - SSC Editor (1/18/2011)


    Alvin Ramard (1/18/2011)


    Craig Farrell (1/18/2011)


    Steve Jones - SSC Editor (1/18/2011)


    Well this is a depressing few pages in The Thread.

    Anyone got a guitar? ...


    - 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: Execute multiple stored procedures using EXECUTE SQL TASK in SSIS 2008

    I don't believe it's a script error offhand, but would you mind doing a quick test? Can you try only one of the EXEC items in the T-SQL task...


    - 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: CASE statements vs. INNER JOINs

    JEFFREY SCHELL (1/18/2011)


    Thanks for the quick response!

    No problem. 🙂

    Definitely option 3 is a semi denormalized option but would you agree it is the best performer in terms of SELECTs? In...


    - 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: An Introduction to Database Design

    kenambrose (1/18/2011)


    <<To trash this article and say it doesn't provide good information is a fairly poor commentary. >>

    I respectfully disagree. To provide a teaching example for a database design...


    - 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: CASE statements vs. INNER JOINs

    If you don't mind a little research I did from another thread, a quick test I did:

    http://www.sqlservercentral.com/Forums/Topic1046084-392-1.aspx#bm1046202

    That said...

    Option 3 is the worst performer if you ever change the 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: baseline for read/writes

    sqldba_icon (1/18/2011)


    I would like to know what are the general baselines for read/writes. Lets say i am updating a table and if it is doing 27 million reads and 5000...


    - 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: avg calculation

    sravanb (1/18/2011)


    I can but I have a condition involved which is, when reportingperiod is jan and sal=0 then avg(sal) should be zero even if the reportingperiod apr sal has some...


    - 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: avg calculation

    SQLSmasher (1/18/2011)


    try this

    select id, avg(sal) from @temp

    where sal <> 0

    group by id

    having count(reportingperiod) = 2

    declare variable to store reportingperiod. in above example i have used constant 2

    WHa?

    non - zero...


    - 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 (1/18/2011)


    Well this is a depressing few pages in The Thread.

    Anyone got a guitar? We can make a country song out of them!


    - 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: Deadlock at primarykey column

    kthanigaivel (1/18/2011)


    that table contains 50 rows around 1.5mb.

    we need better solution.

    50 Rows? At 1.5 MB? That's... (counts off on his fingers, removes a shoe...) 30k per row?

    That's LOB...


    - 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: Mental block with unpivot

    Keymoo,

    I scanned through your code twice, and nowhere can I find anything that seems like it would translate to your pctDescription column. Am I missing something here, or does...


    - 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 2008 - Fluctuating duration of execution time between 2 Hours and 10 Hours

    Simon Hardstaff (1/18/2011)


    If we watch the process thread in the SSMS we keep seeing ‘Suspended’ (Wait type) against ‘PageIOLatch.EX’ or ‘PageIOLatch.SH’

    Those are drive I/O waits. You're pulling, most likely, off...


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