Guest User

Untitled

a guest
Aug 10th, 2023
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | Help | 0 0
  1. ====================================================================================================================================
  2. StudentAttendanceRegistry Table
  3.  
  4. CREATE TABLE [dbo].[StudentAttendanceRegistry](
  5. [ID] [int] IDENTITY(1,1) NOT NULL,
  6. [StudentID] [varchar](50) NULL,
  7. [SchoolYear] [varchar](50) NULL,
  8. [SchoolMonth] [varchar](50) NULL,
  9. [SchoolWeek] [int] NULL,
  10. [SchoolDay1] [varchar](50) NULL,
  11. [SchoolDay2] [varchar](50) NULL,
  12. [SchoolDay3] [varchar](50) NULL,
  13. [SchoolDay4] [varchar](50) NULL,
  14. [SchoolDay5] [varchar](50) NULL,
  15. [TotalPresentDays] [int] NULL,
  16. CONSTRAINT [PK_AttendanceDetails] PRIMARY KEY CLUSTERED
  17. (
  18. [ID] ASC
  19. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  20. ) ON [PRIMARY]
  21. GO
  22.  
  23.  
  24.  
  25. ====================================================================================================================================
  26. Students Table
  27.  
  28. CREATE TABLE [dbo].[Students](
  29. [ID] [uniqueidentifier] NOT NULL,
  30. [StudentID] [varchar](50) NULL,
  31. [ExistingStudentID] [varchar](50) NULL,
  32. [BatchID] [varchar](50) NULL,
  33. [ScholarshipID] [varchar](50) NULL,
  34. [FullName] [varchar](250) NULL,
  35. [NameWithInitial] [varchar](50) NULL,
  36. [NIC] [varchar](25) NULL,
  37. [Gender] [varchar](10) NULL,
  38. [DateOfBirth] [date] NULL,
  39. [BloodGroup] [varchar](5) NULL,
  40. [Address] [varchar](250) NULL,
  41. [Email] [varchar](50) NULL,
  42. [SchoolAttended] [varchar](250) NULL,
  43. [GradePassed] [varchar](25) NULL,
  44. [SchoolYear] [int] NULL,
  45. [PGType] [varchar](20) NULL,
  46. [PGName] [varchar](250) NULL,
  47. [ContactHome] [varchar](10) NULL,
  48. [ContactMobile] [varchar](15) NULL,
  49. [ParentsWhatsApp] [varchar](15) NULL,
  50. [StudentsWhatsApp] [varchar](15) NULL,
  51. [PGOccupation] [varchar](250) NULL,
  52. [RegisteredCourse] [varchar](50) NULL,
  53. [CourseType] [varchar](10) NULL,
  54. [RegisteredDate] [smalldatetime] NULL,
  55. [PhotoUrl] [varchar](200) NULL,
  56. [IsHostelStudent] [int] NULL,
  57. [IsDropped] [int] NULL,
  58. [DropReason] [varchar](200) NULL,
  59. [StudentCardIssued] [int] NULL,
  60. [IsTransferedStudent] [int] NULL,
  61. [PrevStudentID] [varchar](50) NULL,
  62. [PrevCourse] [varchar](50) NULL,
  63. [PrevBatch] [varchar](50) NULL,
  64. [StudentStatus] [varchar](50) NULL,
  65. [Remark] [varchar](255) NULL,
  66. CONSTRAINT [PK_Students] PRIMARY KEY CLUSTERED
  67. (
  68. [ID] ASC
  69. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  70. ) ON [PRIMARY]
  71. GO
  72.  
  73.  
  74.  
  75.  
  76. ====================================================================================================================================
  77. Batches Table
  78.  
  79. CREATE TABLE [dbo].[Batches](
  80. [ID] [int] IDENTITY(1,1) NOT NULL,
  81. [BatchID] [varchar](50) NULL,
  82. [Course] [varchar](50) NULL,
  83. [DurationAmount] [int] NULL,
  84. [DurationType] [varchar](50) NULL,
  85. [CourseTime] [varchar](50) NULL,
  86. [ClassesPerWeek] [int] NULL,
  87. [CourseRegFeeForOther] [money] NULL,
  88. [CourseRegFeeForExisting] [money] NULL,
  89. [MonthlyFeeForOther] [money] NULL,
  90. [MonthlyFeeForExisting] [money] NULL,
  91. [TotalFeeForOther] [money] NULL,
  92. [TotalFeeForExisting] [money] NULL,
  93. [HostelRegFee] [money] NULL,
  94. [HostelFee] [money] NULL,
  95. [MattressFee] [money] NULL,
  96. [OverallKitFee] [money] NULL,
  97. [TShirtFee] [money] NULL,
  98. [HostelMaintenanceFee] [money] NULL,
  99. [BatchStartDate] [date] NULL,
  100. [BatchEndDate] [date] NULL,
  101. [BatchCreatedDate] [smalldatetime] NULL,
  102. [isEmptyBatch] [int] NULL,
  103. [BatchStatus] [varchar](50) NULL,
  104. CONSTRAINT [PK_Batches] PRIMARY KEY CLUSTERED
  105. (
  106. [ID] ASC
  107. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  108. ) ON [PRIMARY]
  109. GO
  110.  
  111.  
Advertisement
Add Comment
Please, Sign In to add comment