Forum Replies Created

Viewing 15 posts - 496 through 510 (of 5,678 total)

  • RE: Need help to Add XML encode using T-SQL

    The XML that SQL forms won't have a header. What you do is produce your XML from your SELECT ... FOR XML <whatever> and dump that into a variable.

    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: Select INTO vs. Creating a table

    mario17 (1/21/2014)


    While doing INTO you lock tables fro the whole duration of your query.

    While loading result into pre-allocated is not, (or significantly decrease locking time)

    Whut? The source tables will...


    - 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: Uncontrolled Code

    Dalkeith (1/21/2014)


    ssmith94015 (1/21/2014)


    I am also an accountant

    Yeah another accountant in the world of systems design. I am always surprised and disappointed that accountants don't take a deeper dive into...


    - 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 cluster questions

    bala2 (1/21/2014)


    sql is not listen on ip address of both nodes but listens on virtual Sql ip address and virtual SQL cluster name

    Not exactly, and you have 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: Options for storing .jpg files on SQL Server 2008 R2

    Storing any binary component in a database (documents, pdfs, images, whatever) is usually only done when the stored component must stay in lockstep with a database restore/recovery, particularly for point...


    - 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 INTO vs. Creating a table

    It's a preference more than an optimization. I personally prefer to pre-construct my tables for clarity and to allow for index placement manipulation (usually applying the cluster before 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: Uncontrolled Code

    Jim P. (1/21/2014)


    I volunteer on another website often. One thing we constantly have to repeat to the askers: EXCEL IS NOT A DATABASE!

    Do I have to repeat that here 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: We're not craftsmen and craftswomen

    Steve Jones - SSC Editor (1/21/2014)


    I didn't intend to have people take the ivory tower approach, nor was that mine. I never said that we had to be perfect. I...


    - 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 query works in SSIS, SSMS/SQL server but fails in deployment?

    blasto_max (1/16/2014)


    Evil Kraig F (1/16/2014)


    blasto_max (1/16/2014)


    In job history, I see that it is invoked by User1. But, it was executed as user BigDomain\BigAdmin. Could this be the reason for 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: Are the posted questions getting worse?

    Could I ask for another 'voice' on this thread? I'm hoping that another voice will phrase things in a different way that will help make sense to the OP....


    - 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: Data Transfer from staging table into main table

    Koen Verbeeck (1/16/2014)


    If you have to compare all columns, just calculate a hash over all those columns and store it alongside in the table. Then you can do your lookup...


    - 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 query works in SSIS, SSMS/SQL server but fails in deployment?

    blasto_max (1/16/2014)


    In job history, I see that it is invoked by User1. But, it was executed as user BigDomain\BigAdmin. Could this be the reason for the problems ? I use...


    - 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: Data Transfer from staging table into main table

    No keys, full column compare, millions of rows?

    Yeah, that's gonna take a while, no way to avoid it.


    - 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 query works in SSIS, SSMS/SQL server but fails in deployment?

    blasto_max (1/16/2014)


    Thanks. I don't see the option - Services and Applications. Maybe because I have Windows Server 2008 VM ?

    I do see Services under Configuration though. I am 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: One script to drop all temporary tables

    adonetok (1/16/2014)


    Because I need test scripts in which there are a lot of temp tables. I need to modify codes or parameters to run more thank one time. If I...


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