Forum Replies Created

Viewing 15 posts - 3,721 through 3,735 (of 5,678 total)

  • RE: Multiple instances on a single server; looking for opinions

    sherrerk (3/14/2011)


    By contract they have been asked to separate two of their clients onto separate hardware leaving me in a bit of a bind. My solution is to create...


    - 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: Truncation error...

    In your derived column, try: (DT_STR,5)substring([ColumnName],1,5)

    You have to force the data down directly to fit your result.


    - 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: Importing csv file into a SQL server

    barunpathak (3/14/2011)


    "they booked a "FLIGHT" in Southwest"

    If they're not escaping characters like this on the load, you have to use something other then a quoted identifier for text entries. ...


    - 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 - Query for various attributes problem ...

    I've used bitmasks in a similar method before, but it was to shortcircuit bad full-text indexing in 2k and prior. It's very useful, and allows you a reasonable volume...


    - 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: Brand new deployment: 3 part question...

    Gail as usual did her incredibly thorough job of hitting all the things I noticed, and of course, a few I didn't think of at first. 🙂

    One thing she didn't...


    - 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 avoid deadlocks caused by delete/insert statments

    Salman Shehbaz-340356 (3/14/2011)


    Guys

    Recently I have come across a deadlock scenario on OLTP box (Sql server 2005) of a client

    and found that it's caused by two stored procedures being called...


    - 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: Convert Excel Formula to SQL -can help me-

    Um, errr...

    There are companies that base their entire living on doing financial calculations in large scale for businesses. For example, take a look at Advent Software.

    Forget easily transcribed, these...


    - 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: Displaying Sorted Hierarchies (SQL Spackle)

    A bit ignorant here, what's an MLM?


    - 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: Is there a reason to use NVarChar?

    As soon as you leave the base 256 character set of any language, you'll need nVarchar. You've got the jist of the difference. Under most circumstances most english...


    - 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: datepart for milliseconds not precise in SQL Server 2008?

    Use the TIME datatype instead of DATETIME for higher resolution on timings. It's accurate to 100 nanoseconds.

    Edit: Left the window open in the background too long I see, I've...


    - 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: Changing Variables Via Script Task

    bruce.b.allen (3/14/2011)


    Yes, that is all correct. I want to be able to save the new value to the variable I set in the DTS.Variables("Vname").Value and to have that value...


    - 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: Changing Variables Via Script Task

    bruce.b.allen (3/14/2011)


    Quick question maybe someone can answer.

    I currently use a script task to set the value of a variable. The script task works and sets the variable correctly.

    However, if...


    - 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: Transaction log backup failled

    You should be able to get more information in the SQL Server Logs, under the Management Node. Look at the most recent log file.


    - 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: String

    jude-32296 (3/14/2011)


    I have a table that has create statements in a column in my table. What I would like to do is test for a certain value in 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: Dynamic SQL is getting executed faster than in a Stored Procedure

    To add to OPC's recommendations, a mediocre workaround that requires no dynamic SQL or code/logic reusage is to use the OPTIMIZE FOR structure. Be warned, it's fraught with peril,...


    - 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 - 3,721 through 3,735 (of 5,678 total)