sql語句中
1 select * from Student where id =1 option (recompile)
存儲過程中
create proc proc_test (@i int) with recompile as select * from Area where AreaID = @i
sql語句中
1 select * from Student where id =1 option (recompile)
存儲過程中
create proc proc_test (@i int) with recompile as select * from Area where AreaID = @i