Forum Replies Created

Viewing 15 posts - 5,326 through 5,340 (of 5,678 total)

  • RE: Finding Sequences (Need help ASAP)

    craig-404139 (10/8/2010)


    Sure. I was also thinking would this be easier if I added a PK to the table? Both of these columns are just data columns in my production system.

    Without...


    - 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 job error, urgent!!!

    Mh-397891 (10/8/2010)


    Description: The connection type "SMTP" specified for connection manager "SMTP" is not recognized as a valid connection manager type.

    Stripped it down to what I think is critical 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: Finding Sequences (Need help ASAP)

    craig-404139 (10/8/2010)


    Craig Farrell (10/8/2010)


    Sorry guys, came down with a case of the plague yesterday, didn't mean to abandon the topic. Was looking through the code and Craig-4 (we're gonna...


    - 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: Finding Sequences (Need help ASAP)

    Sorry guys, came down with a case of the plague yesterday, didn't mean to abandon the topic. Was looking through Wayne's code and Craig-4 (we're gonna need to do...


    - 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

    WayneS (10/6/2010)


    Research links, no. But I've seen deadlocks caused by parallelism before myself... so self-research - yes.

    Well, in that case, Amit, try a MAXDOP 1 and see if that helps...


    - 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: Finding Sequences (Need help ASAP)

    WayneS (10/6/2010)


    craig-404139 (10/6/2010)


    Question: when a prefix changes, do the numbers restart at 1? Or do they continue?

    (I've got some real nifty, high-speed code (thanks to Jeff!) to quickly identify gaps...


    - 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 construct set-based update stmts

    Merge command is handy because it's basically used as an 'upsert', an insert/update.

    First, you'd do your deletes separate.

    The MERGE would then insert and update simultaneously according to your key. ...


    - 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: Finding Sequences (Need help ASAP)

    And for my last trick...

    This ran in about 3:15 on my system

    -- First, separate the numbers and their prefixes into usable data.

    select

    TextID,

    LEFT( TextID, MAX( N) ) AS Pattern,

    CAST(...


    - 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

    WayneS (10/6/2010)


    Craig Farrell (10/6/2010)


    Answer: No and no.

    This code, as is, will not deadlock independently. There's no transaction calls.

    What is the serverwide setting for isolation?

    Craig, did you consider the effect...


    - 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: Heirarchy for DBA career

    David Webb-200187 (10/6/2010)


    Some possible paths would be to either broaden his scope and move into an Architect position, or specialize and do consulting in a specific area like data security,...


    - 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: Heirarchy for DBA career

    Senior DBAs don't advance, they just learn more...

    ... or end up in management.


    - 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: Finding Sequences (Need help ASAP)

    craig-404139 (10/6/2010)


    ^^ Thanks. I'll start chewing through that and seeing if it fits. At first glance I have no idea what it's doing. Like I mentioned I've never had 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: Finding Sequences (Need help ASAP)

    Edit: Sorry for the multi-edit. Something didn't play nicely with the code= statements when I tried to first post this.

    The Test Harness:

    SELECT TOP 1000000

    IDENTITY(INT, 1,1) AS N

    INTOTally

    FROM

    Master.dbo.SysColumns sc1,

    Master.dbo.syscolumns sc2

    ALTER...


    - 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: Finding Sequences (Need help ASAP)

    craig-404139 (10/6/2010)


    Craig Farrell (10/6/2010)


    Craig,

    Is it safe to assume that this field will alway end in numerics? If so, I may have a simple solution for you regarding the variable...


    - 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: Writing Nearly Codeless Apps: Part 1

    kenambrose (10/6/2010)


    Having different specifications for a finished deliverable does not mean the methods one uses to implement the deliverable have to be different.

    I worked for years in custom manufacturing industry....


    - 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 - 5,326 through 5,340 (of 5,678 total)