Forum Replies Created

Viewing 15 posts - 5,056 through 5,070 (of 5,678 total)

  • RE: FLATTEN OUT ROW BASED STRUCTURE TO COMMA DELIMITED

    BaldingLoopMan (11/8/2010)


    ----RESULTS:

    --1,'Value1, Value2'

    --2,'Value1, ValueC'

    --3,'Value1, Value2,Value5'

    --1,'Value2'

    Need a results confirmation here, just making sure it's user error not expectation:

    ValueC came from where?

    There's no space between the second and third value in line...


    - 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: Calculate rows in a tabel

    I would usually port the tables over using either SSIS packages, or a one shot data import via the GUI.

    Going to need more information about the 'calculation' portion of 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: SQL 101 for application programmers

    GilaMonster (11/8/2010)


    Certainly. When would you like us to get started on those 400-800 pages?

    I'm not joking. To cover any one of those topics in moderate detail is a large...


    - 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 101 for application programmers

    goodguy (11/8/2010)


    I believe that programmers, especially freelancers like me, need to embrace basic sql admin skills in order to leverage their output. The reason they have not done so so...


    - 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 101 for application programmers

    Grant Fritchey (11/8/2010)


    Let me put a question back at you. Since most of the topics you outline have extensive documentation, courseware, books, etc., how do you propose getting developers 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: Help-Page life expectancy very low (avg around 10to 12secs)

    snoop123 (11/8/2010)


    we are using a SQL server 2005 SP3. i have been monitoring the pagelife expectancy and buffer cache hit ratio .the cache hit ratio is

    maintaining around 99 but...


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

    Been guilty of that a few times myself. Service Broker was my last occurence of that.

    Me: "Alright, I've got endpoints going cross domain, multi-dialog conversations...


    - 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: Please send me Interview Q &A

    GSquared (11/8/2010)


    For example, these days, I'd expect if you know Union, you should also know Intersect and Except.

    I guess I need to learn intersects. 😉

    And before I'd worry about isolation...


    - 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: Help in stored procedure

    If I'm understanding the question properly, swap the order of these items:

    SET @Quary = 'SELECT '+@stmt + ' from tblfinance'

    DECLARE db_cursor CURSOR FOR

    SELECT Column_Name from tblColumns order...


    - 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 design query

    Bunty, you left out too much of the question for us to even point you in the right direction, because if I read this right, you CAN go from B...


    - 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: complex query

    MonsterRocks (11/7/2010)


    wht will be the query to find all the menu available in menu id 1?... any help?

    -- master table

    ---------------------------

    menu id menuname

    1 ...


    - 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 prevent the truncation of the leading zero in a varchar string?

    This works correctly for me:

    declare @miljul varchar(5)

    declare @y int

    set @y = year('1/1/2008');

    declare @yearpart varchar(4);

    set @miljul = '312'

    set @yearpart = convert(varchar(4), @y)

    print @yearpart

    set @miljul = RIGHT(@yearpart,2) + @miljul

    print @miljul

    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: Service Broker

    The best starter and foundations of Service Broker articles I've seen are Adam Mechanic's.

    http://www.simple-talk.com/sql/learn-sql-server/service-broker-foundations-workbench/


    - 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: Please send me Interview Q &A

    sankarkot2007 (11/6/2010)


    Hello Da-Zero

    don't post these type of suggestions,ok.I learn beggener stage Thats why i want some questions

    As Jeff mentioned above, that particular question is a trap. It implies...


    - 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: Clustered Index and Striping

    biju.pad (11/5/2010)


    1. Relevant Pages of the index are brought into memory. Because the leaf nodes have data pages, I am assuming index sizes are much bigger and more I/Os are...


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