34,576
社区成员
发帖
与我相关
我的任务
分享
create procedure P_Test (@TJ nvarchar(100) =null)
as
begin
if @TJ is not null
begin
select * from tb where @TJ
...
end
else
begin
select * from tb
end
end