CREATE PROCEDURE UP_news_GetList@new_title nvarchar(200),@new_type nvarchar(25) AS
SELECT * FROM [LI_news] where (new_title like '%' + @new_title + '%' or @new_title = '') and new_type in ('0','1','2','3','4','5','6','7','8','9','10') order by id desc
这个存储过程要怎么优化
森栏
相关分类