CREATE PROCEDURE[BoardID]
@sParent varchar(8000)
AS
Select Boardid,PONO,ImageStatus
from BoardDetail
Where
Boardid=1 and @sParent
Why @sParent create error how to use this variable on where ......i want to supply string as parameter and it will be set on where ......like @sParent