FactInstitutionalRetentionSnapshotLoad
 OLE_SRC Institutional Retention Snapshot from Staging - Spring To Summer (Component)
  Properties
Property Value
Name OLE_SRC Institutional Retention Snapshot from Staging - Spring To Summer
Description OLE DB Source
Up Stream Components none
Down Stream Components
ID 1375
Component Class ID {BCEFE59B-6819-47F7-A125-63753B33ABB7}
Contact Info OLE DB Source;Microsoft Corporation; Microsoft SqlServer v10; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;7
Identification String component "OLE_SRC Institutional Retention Snapshot from Staging - Spring To Summer" (1375)
Is Default Locale False
Pipeline Version 0
Uses Dispositions True
Validate External Metadata True
Version 7
  Connections
Name Connection Manager Description
OleDbConnection
  Custom Properties
Name Value
AccessMode
3
AlwaysUseDefaultCodePage
False
CommandTimeout
0
DefaultCodePage
1252
OpenRowset
OpenRowsetVariable
ParameterMapping
SqlCommand
SELECT
    Stdnt.STUDENT_ID as StudentIdAK
  , Stdnt.LST_NM as LastName
  , Stdnt.FRST_NM as FirstName
  , Stdnt.MDL_NM as MiddleName
  , ISNULL(Stdnt.SEX, 'N/A') as GenderCode
  , ISNULL(LookupGender.Gender, 'N/A') as Gender
  , ISNULL(Stdnt.ETHNICITY, 'N/A') as EthnicityCode
  , ISNULL(Ethnic.ETHNICITY_DESCRIPTION, 'N/A') as Ethnicity
  , CASE
        WHEN Stdnt.FMLY_HIST_FLG = 'Y' THEN 'Yes'
        ELSE 'No'
    End as FirstTimeInCollege  
  , ISNULL(Lang.LANGUAGE_DESCRIPTION, 'N/A') as PrimaryLanguage    
  , ISNULL(Stdnt.RES_CD, 'N/A') as ResidencyCode
  , ISNULL(Res.RESIDENCY_DESCRIPTION, 'N/A') as Residency
  , ISNULL(StdntAddr.ZIP_CD, 'N/A') as ZipCode
  , ISNULL(CAST(Stdnt.RES_CNTY_CD as varchar(3)), 'N/A') as CountyCode
  , ISNULL(County.COUNTY_DESCRIPTION, 'N/A') as County  
  , dbo.udf_StringToDate(ISNULL(Stdnt.DOB, '18000101')) as DateOfBirth  
  , ISNULL(dbo.udf_StudentAgeRange(Stdnt.DOB), 'N/A') as AgeRange
  , Race.White as RaceWhite
  , Race.BlackAfricanAmerican as RaceAfricanAmerican
  , Race.HawaiianPacIslander as RacePacificIslander
  , Race.Asian as RaceAsian
  , Race.AmIndianAKNative as RaceAmericanIndian
  , Race.NotReported as RaceUnreported
from ST_STDNT_A Stdnt
LEFT OUTER JOIN ST_ADDRESSES_A StdntAddr
  ON (
     Stdnt.STUDENT_ID = StdntAddr.STUDENT_ID
     AND
     StdntAddr.ADDR_TY = '01'
     )
JOIN LookupGender  
  ON (
     LookupGender.GenderCode = Stdnt.SEX
     )
LEFT OUTER JOIN uvw_CODE_Ethnicity Ethnic
  ON (
     Stdnt.ETHNICITY = Ethnic.CODE
     )
 
 LEFT OUTER JOIN uvw_CODE_Language Lang
   on (
       Stdnt.PRIM_LANG = Lang.CODE
      )
      
 LEFT OUTER JOIN uvw_CODE_Residency Res
    on (
        Stdnt.RES_CD =  Res.CODE
       ) 
 LEFT OUTER JOIN uvw_CODE_County County
    on (
        Stdnt.RES_CNTY_CD =  County.CODE
       ) 
            
JOIN uvw_StudentRace Race
   on (
      Stdnt.ISN_ST_STDNT_A = Race.ISN_ST_STDNT_A
      )
      
WHERE Stdnt.PRSPCT_FLG = 0
SqlCommandVariable
User::Get_Spring2Summer_data
  Input Columns
Name ID LineageID
  Output Columns
Name ID LineageID
EnrolledInTerm
1412
1412
ErrorCode
1415
1415
ErrorColumn
1416
1416
Graduated
1413
1413
InstitutionalRetentionCohortTerm
1407
1407
InstitutionalRetentionTrackingTerm
1408
1408
NotEnrolledInTerm
1414
1414
RetentionCohortTypeCode
1409
1409
RetentionTermCount
1411
1411
RetentionYearCount
1410
1410
StudentId
1406
1406
EnrolledInTerm
1388
1388
Graduated
1394
1394
InstitutionalRetentionCohortTerm
1389
1389
InstitutionalRetentionTrackingTerm
1390
1390
NotEnrolledInTerm
1395
1395
RetentionCohortTypeCode
1391
1391
RetentionTermCount
1393
1393
RetentionYearCount
1392
1392
StudentId
1387
1387
Powered by BI Documenter