c# - how to pass one column values to locally declared column (i.e @SectionId) using select statement -
alter procedure [dbo].[getsections](@classname nvarchar(50)) begin declare @sectionid sysname select @sectionid = sectionid dbo.class classname = @classname declare @sectionnames sysname select @sectionnames = sectionname dbo.classsections id = @sectionid select @sectionnames end
Comments
Post a Comment