Viewing 15 posts - 31 through 45 (of 81 total)
Lowell (1/27/2014)
January 27, 2014 at 8:49 am
Luis Cazares (12/10/2013)
SELECT cStudentID, Quarter, GPA
FROM #Temp
CROSS APPLY (SELECT 'CummulativeGPA', CummulativeGPA UNION ALL
SELECT 'Q1GPA', Q1GPA UNION...
December 10, 2013 at 11:09 am
Luis Cazares (12/10/2013)
You could use the CROSS APPLY approach[/url]:
SELECT cStudentID, Quarter, GPA
FROM #Temp
CROSS APPLY (VALUES( 'CummulativeGPA', CummulativeGPA),
( 'Q1GPA', Q1GPA),
( 'Q2GPA', Q2GPA),
( 'Q3GPA', Q3GPA),
( 'Q4GPA', Q4GPA))x(Quarter, GPA)
Thanks For Your reply.
I run...
December 10, 2013 at 9:31 am
Sean Lange (10/15/2013)
This should work for any combination of spaces and X's.
See the link in...
October 15, 2013 at 1:55 pm
Here is DDL and sample Data
CREATE TABLE #TEMP
(vcPeriods char(20))
INSERT INTO #TEMP VALUES (' X ')
INSERT INTO #TEMP VALUES (' ...
October 15, 2013 at 1:30 pm
Sean Lange (10/11/2013)
yogi123 (10/11/2013)
Excellent
This is Great !!
thanks for Help.
You save my life. Much Much Appreciate.
You are very welcome. Make sure you read that article and understand what the splitter function...
October 11, 2013 at 12:08 pm
Sean Lange (10/10/2013)
yogi123 (10/10/2013)
I need to Create a Function who pulls data from string and load to the table. here is sample string
'CHG_FEP_SVC_GRP_ID(1) :: Expected Value = 1 :: Actual...
October 11, 2013 at 9:15 am
Steve Jones - SSC Editor (6/17/2013)
As mentioned above, you should have a detailed log for...
June 17, 2013 at 8:53 am
Sean Lange (6/4/2013)
Here is one way to solve your challenge.
select * ,
case when x.iSchoolYearCode is null...
June 4, 2013 at 2:49 pm
Lynn Pettis (4/11/2013)
autoexcrement (4/11/2013)
For example, why are...
April 11, 2013 at 11:06 am
Hello
I Attach Screen Shot
Please Check it and let me know any thoughts
March 25, 2013 at 10:10 am
kapil_kk (2/20/2013)
SELECT
iSchoolYearCode,
CASE WHEN vcCalendarCategoryCode = 'Quarter Start Day' THEN dtCalendarDay ELSE 0 END AS QuarterStartDay,
CASE WHEN vcCalendarCategoryCode = 'Quarter Grade Closing' THEN...
February 20, 2013 at 10:15 am
Viewing 15 posts - 31 through 45 (of 81 total)