Viewing 15 posts - 49,216 through 49,230 (of 59,065 total)
Mike Levan (7/11/2008)
can i do this insertINSERT 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...
July 11, 2008 at 6:34 pm
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...
July 11, 2008 at 6:27 pm
Christopher Stobbs (7/11/2008)
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...
July 11, 2008 at 6:13 pm
Loner (7/11/2008)
July 11, 2008 at 6:01 pm
rameshchandra.a (7/11/2008)
If a WHILE loop is involved, then each will suck as bad as the other
5.What is CTE(Common Table...
July 11, 2008 at 5:42 pm
Heh... I always get what I want because the best things in life... are not things. 😛
July 11, 2008 at 5:27 pm
mblack (7/11/2008)
Msg 102, Level 15, State 1, Line 23
Incorrect syntax near ')'.
Other than...
July 11, 2008 at 5:11 pm
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...
July 11, 2008 at 5:05 pm
antonio.collins (7/10/2008)
coalesce_negative( 1, 1, 1,-1, 1,-1,-1,-1,...
July 11, 2008 at 4:58 pm
rbarryyoung (7/11/2008)
this was never possible with the old syntax
That's not true...
July 11, 2008 at 4:52 pm
Heh... good idea... just remember that TRUNCATE won't work in the presence of Foreign Keys... 😉
July 11, 2008 at 4:46 pm
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...
July 11, 2008 at 4:43 pm
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...
July 11, 2008 at 4:38 pm
Viewing 15 posts - 49,216 through 49,230 (of 59,065 total)