Forum Replies Created

Viewing 15 posts - 48,046 through 48,060 (of 49,571 total)

  • RE: General Trigger Question

    This is the problem line (or at least the main problem)

    Stephen Lee (12/14/2007)


    SET @CustomerID = (SELECT CustomerID FROM INSERTED)

    If that select returns more than one row (which will happen if...

  • RE: 70-447 coming up...

    The exam wasn't that bad. Much easier than I was expecting. Easier than 441 or 442.

    It's pretty much the same format as the other ITP exams. No major surprises. It...

  • RE: Update Deadlock

    Adam Haines (12/14/2007)


    GilaMonster is this in the wrong thread?

    *sigh* I keep getting posts in the wrong threads when I'm replying to 2 or more at a time. Isn't consistent and...

  • RE: Client people expectation

    One piece of advice I will offer you, based on some recent experience conducting interviews.

    Leave the arrogance at home. It's the fastest way to end an interview. Be confident, yes,...

  • RE: table datatype vs temporary table

    I've found table variables fine for <10 rows of data. Past that the lack of statistics and resulting poor cardinality estimate tends to stuff up the optimiser ten ways from...

  • RE: Update Deadlock

    If you look at the execution plan for that query, do you see an index scan or an index seek for the table INFO_LOG?

    Edit: Looked a little closer

    That's a rather...

  • RE: LIghter fare - Doh! Querys

    Fortunately for my server (I found that in production), the data was such that the resulting string always was >7600 characters by that point.

    Char/varchar aside, what's wrong with the SPACE...

  • RE: FASTFIRSTROW hint

    Megha Yadav (12/13/2007)


    TheSQLGuru (12/13/2007)


    Do not use FASTFIRSTROW hint on a Primary Key access.

    But why do u say so ????

    Because it's not necessary. If you're filtering with an equality on the...

  • RE: create update trigger

    icampbell (12/13/2007)


    The view is not created from the table,

    The table is created from the view.

    So what's view based on? Another table? Several tables?

  • RE: I'm sick of poor third-party software performance

    Jeff Moden (12/13/2007)


    Jeff, may I send that to my boss?

    Sure... in fact, I'm honored :blush:.

    Replied via PM. I don't want to hog this thread any more than I...

  • RE: LIghter fare - Doh! Querys

    Grant, that's seriously impressive. How anyone can debug that for more than 2 min, I don't know.

    Seeing Grant's reminded me of this little time bomb I found a couple years...

  • RE: OSQL create tables without sysadmin priveledges

    Please don't cross post. It fragments answers and wastes people's time. If you posted in the wrong forum, you should be able to delete the thread.

    Continue here

  • RE: I'm sick of poor third-party software performance

    Jeff, may I send that to my boss?

    I've got a meeting with my boss on Monday. Will see what comes out of it. If it's OK, I'll drop you a...

  • RE: Tips for reducing reads and cpu in stored procedures

    The two are equivalent, but you should convert to the inner join format. The old style joins are deprecated in SQL 2005 and will not work in future editions.

    Regarding the...

  • RE: Dead lock

    It doesn't usually matter which one was the victim when it comes to resolving deadlocks.

    To stop them happening, you'll likely have to look at the code that the...

Viewing 15 posts - 48,046 through 48,060 (of 49,571 total)