阅读背景:

如何在T-SQL存储过程中使用可选参数?

来源:互联网 

I am creating a stored procedure to do a search through a table. I have many different search fields, all of which are optional. Is there a way to create a stored procedure that will handle this? Let's say I have a table with four fields: ID, FirstName, LastName and Title. I could do something like this:I am creating a stored procedure to do a search




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: