还是存储过程
ALTER proc [dbo].[QuestionInfo_count]@id int
as
select top 1 *from QuestionInfo where CategoryID=@id order by ReleaseTime desc
我以为这样会返回结果集,结果程序报错,说返回int,怎么让它返回结果集,谢谢
2010-04-14 11:22
2010-04-14 21:04
2010-04-15 09:04
2010-04-15 11:02