alter procedure sp_addstandered as begin declare @fromyear int,@toyear int set @fromyear=convert(int,datepart(year,getdate())) set @toyear=@fromyear+1 select Standered_name from Standered_details where Acadamic_year_id=(select Acadamic_year_id from Acadamic_year where Acadamic_year_from=@fromyear and Acadamic_year_to=@toyear) end
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)