Forum Replies Created

Viewing 15 posts - 49,216 through 49,230 (of 59,065 total)

  • RE: Query help please!

    You mean a correlated subquery, Grant?

  • RE: Insert

    Mike Levan (7/11/2008)


    can i do this insert

    INSERT INTO @GroupId, @GroupName, @ZoneInstanceId, @ScoreType

    SELECT ItemId,InspectionItemName,ZoneInstanceId,ScoreTypeId from InspectionGroup

    ORDER BY InspectionItemName

    here InspectionGroup is a CTE

    No... You cannot INSERT into scalar variables... tell us...

  • RE: ERROR: String o binary data would be truncated

    It because you're trying to put something too big into a column too small. It usually means there's an error in the file... might be a transmission error or...

  • RE: Analytical Interview Questions

    Christopher Stobbs (7/11/2008)


    Thanks for that.

    I'm actually look for more of an Analytical question rather than tech skills questions...

    For example giving them puzzles to see what there approach to problem solving...

  • RE: Analytical Interview Questions

    Loner (7/11/2008)


    There are two rooms separating by a wall, one room has three lamps, the one one has three switches, can you tell how to find out which switch is...

  • RE: Analytical Interview Questions

    rameshchandra.a (7/11/2008)


    4.What are temperory tables.(perfermence wise cursors r Temperory Tables which are better)

    If a WHILE loop is involved, then each will suck as bad as the other

    5.What is CTE(Common Table...

  • RE: By the time you could afford it you didn't need it.

    Heh... I always get what I want because the best things in life... are not things. 😛

  • RE: How to Pivot a table

    mblack (7/11/2008)


    Thanks for the help. I'm getting a syntax error i believe by my GROUP BY. The message is:

    Msg 102, Level 15, State 1, Line 23

    Incorrect syntax near ')'.

    Other than...

  • RE: Subquery vs Derived Table

    ... or correlated subquery.

    Spot on, Gus. 🙂

  • RE: Get rid of cursors

    Bijal Parekh (7/10/2008)


    You can try using while loop where cursor is used

    Why? What do you think a cursor is, anyway? It's nothing but an internal table with a...

  • RE: coalesce negative values

    antonio.collins (7/10/2008)


    before i write some awful case statements or multiple UDFs, is there any direct way to determine if any values in a list are negative?

    coalesce_negative( 1, 1, 1,-1, 1,-1,-1,-1,...

  • RE: Validate Date

    rbarryyoung (7/11/2008)


    this was never possible with the old syntax

    That's not true...

  • RE: slow performance after delete

    Heh... good idea... just remember that TRUNCATE won't work in the presence of Foreign Keys... 😉

  • RE: CPU 100% Lots of Loks. tempdb.dbo.#TMP_CLIENTS_PROCESSING

    rbarryyoung (7/11/2008)


    What are you hoping to get from us?

    What Barry means is that you've given us nothing but symptoms. The problem is going to be what appears in the...

  • RE: How to Pivot a table

    What you've requested is not a Pivot... it's a "simple" aggregation. Since you've not identified the datatypes involved, I have to make certain assumptions. Please see the link...

Viewing 15 posts - 49,216 through 49,230 (of 59,065 total)