Cursor is an database object which is use when there is a need to process table record row by row . you can access each field of your table at record by record.
SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
alter procedure [dbo].[GetStudentContact]
Declare @phone as varchar(15)
Declare @email as varchar(50)