Forum Replies Created

Viewing 15 posts - 1,756 through 1,770 (of 5,678 total)

  • RE: How do I return only entries with multiple categories in a junction table?

    Ray K (2/22/2012)


    Slight problem: I would be passing it the degree IDs, and I'd need to return both the degree and the person's name. (Sorry, I didn't specify that...


    - 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 do I return only entries with multiple categories in a junction table?

    Thanks for the excellent setup. You're close, you just need to use grouping and having.

    SELECT

    p.ID,

    p.[name]

    FROM

    #Degree

    join #DegreeJct on #Degree.ID = #DegreeJct.DegID

    join #People AS p on #DegreeJct.UserID = p.ID

    where Deg...


    - 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: Windows Group as Login linked to User Login

    sudhirnune (2/21/2012)


    This is how the security is designed in the Sql server.

    > Windows Group is created and added it as part of Login (SO that any user part of 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: What's triggering the error?

    One other piece of discussion that noone's brought up yet.

    WHERE isnumeric(score) = 1

    This cannot be trusted to go first. It's quite possible to end up with conversion errors...


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

    GilaMonster (2/22/2012)


    Brick wall. And now I'm honouring promises and decisions that I didn't make. Wonderful.

    Ow. Sorry to hear.


    - 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: Query Efficiency with left outer join and temp table

    Execution Plans for both? Time to execution and statistics? Data volume of the core tables and sub tables, vs. resultant volume in the temps? Indexes?

    The query itself...


    - 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: Overview question: T-SQL, the SSIS expression language, and data flows

    David Walker-278941 (2/22/2012)


    Is there any way to use the T-SQL language in a data transformation, such as a derived column transformation? T-SQL is not the world's best programming language...


    - 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: Errors not being ignored

    Koen,

    Thanks for the information. I think I puzzled out why the engine and not the component was complaining. Since the column wasn't mapped inside the component, the component...


    - 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: Truncate VS drop

    sumitagarwal781 (2/17/2012)


    both are totally different, Drop removes the object from database and truncate just deallocates the data pages but retains the definition.

    If you drop the object to recreate it you...


    - 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: Minimal Logging and BULK

    Jeff Moden (2/17/2012)


    Agreed on the SELECT/INTO but you really don't want to do that across a linked server. It WILL lock the source in that case.

    Yeah, precisely the scenario...


    - 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: Minimal Logging and BULK

    I ended up forced to go to SSIS to enforce a table to table BULK with minimal. I can't for the life of me figure out a direct way...


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

    GSquared (2/17/2012)


    bitbucket-25253 (2/17/2012)


    Way way back Virginia Tech was working on a system with a buried cable in each lane, a sensing mechanism on the front of your can, automatic steering...


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

    Hey guys, I'm having trouble getting minimal logging with BULK to work via T-SQL. Can anyone who's more familiar give me a hand here: http://www.sqlservercentral.com/Forums/Topic1253552-338-1.aspx


    - 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: Minimal Logging and BULK

    ColdCoffee (2/16/2012)


    I thought u wanted to have the table "mirrored" in the same server ; so i thought of passing along the back-up to the source server and restore 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: Today's Random Word!

    SQLRNNR (2/16/2012)


    Golf

    Boredom


    - 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 - 1,756 through 1,770 (of 5,678 total)