Forum Replies Created

Viewing 15 posts - 2,671 through 2,685 (of 5,678 total)

  • RE: How To Implement DML Queue – A queue that stores DML Commands and executes them asynchronously

    Let me break that down to what I think I understood. I'm going for the simplest format:

    1) Find all accounts with a transaction on a date.

    2) For that account,...


    - 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: Database design questions

    goodguy (8/16/2011)


    Anyone home?

    Yes and no. Not a small order to contemplate, and in-depth work at the architecture level is usually paid well for. 😉

    First off, it sounds like what...


    - 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: Auto-update Record Based on Today's Date and Future Date?

    tonyppham (8/16/2011)


    Evil Kraig F (8/16/2011)


    tonyppham (8/16/2011)


    Do you know if it's possible with SQL Server 2005 Express since it doesn't have Agent Service?

    You can arrange something using the windows scheduler instead,...


    - 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 Implement DML Queue – A queue that stores DML Commands and executes them asynchronously

    Are these DML statements constantly morphing, or are they pretty much the same structure with different parameters?

    If they're the same structure, have you looked into Service Broker? Pretty much...


    - 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: sidestepping joining on multiple conditions - theoretical question

    Correct, and this is the older syntax for joins.

    Old way:

    SELECT *

    FROM tblA AS a, tblB AS b

    WHERE

    a.Col1 = b.Col1

    Is equivalent to:

    SELECT *

    FROM ...


    - 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: Auto-update Record Based on Today's Date and Future Date?

    tonyppham (8/16/2011)


    Do you know if it's possible with SQL Server 2005 Express since it doesn't have Agent Service?

    You can arrange something using the windows scheduler instead, but it's not 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: Extracting only the date part (leave out time)

    Michael Valentine Jones (8/16/2011)


    I am fairly certain that Sept 30th is the end of month. 🙂

    However, when you add 3 months to November 30, it will return Feb 28 (or...


    - 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: Job failed with this error : Conversion failed because the data value overflowed the specified type

    quillis131 (8/16/2011)


    Evil Kraig F (8/15/2011)


    quillis131 (8/15/2011)


    What makes me Nuts: It was all good in Dev environment, and then deployed it onto Producation ( here it turns out to be crashed)...


    - 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: Extracting only the date part (leave out time)

    Jeff Moden (8/16/2011)


    A second run without rebuilding the test table shows a slightly different story, as well...

    ========== DATEADD/DATEDIFF ==========

    SQL Server Execution Times:

    CPU time = 1326 ms,...


    - 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: Job failed with this error : Conversion failed because the data value overflowed the specified type

    quillis131 (8/15/2011)


    What makes me Nuts: It was all good in Dev environment, and then deployed it onto Producation ( here it turns out to be crashed) with an errror saying...


    - 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: Extracting only the date part (leave out time)

    Chuck Hottle (8/15/2011)


    This is good and simple too.

    SELECT CAST(FLOOR(CAST(GetDate() AS FLOAT)) AS DATETIME)

    I was originally going to call this a bad idea, but I decided a little sample million row...


    - 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: If employed, why do you go for certifcation??

    Steve Jones - SSC Editor (8/15/2011)


    Craig,

    It's not inaccurate. You can sit for the test without having the certs. Multiple people, including myself have done it. You can't get awarded the...


    - 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: Search & pattern matching within text/html values

    Yeah, this won't be pretty, if I've understood this right.

    Your VARCHAR(MAX) is storing standard ASCII coding, but also html tags and the like. Here's a problem with that:

    <a>ABC</a> and...


    - 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: Extracting only the date part (leave out time)

    Jeff Moden (8/15/2011)


    You might want to check again... what happens on May 31st?

    I'm confused here Jeff, nothing bad happens on May 31 + 3 months. August 31st is a...


    - 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: Implementing Partitioning on 100mil+ row table with >30 cols

    chandleya (8/15/2011)


    I want to better understand the correct process of partitioning an existing table and hefty dataset. Once I'm sure that I'm -accurately- creating my partition scheme and process, 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

Viewing 15 posts - 2,671 through 2,685 (of 5,678 total)