Re: ASP - Stored Procedure best practice?
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Fri, 19 Jan 2007 14:27:07 -0800
J (IDontLikeSpam@xxxxxxxxxxx) writes:
Do you know of a recommended method in doing this for a form with multiple
fields which allows a user to specify more criteria on multiple fields?
Seems like building the dynamic sql statement in the stored procedure with
the specified field parameters is the only method I can think of to do
multiple criteria searching but I guess I still would like to avoid.
I discuss a whole bunch of solutions in both dynamic and static SQL, as
well as some very interesting hybrids in an article on my web site:
http://www.sommarskog.se/dyn-search.html.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- Follow-Ups:
- References:
- ASP - Stored Procedure best practice?
- From: J
- Re: ASP - Stored Procedure best practice?
- From: Mike C#
- Re: ASP - Stored Procedure best practice?
- From: J
- ASP - Stored Procedure best practice?
- Prev by Date: Re: SQL cluster firewall question
- Next by Date: Re: ASP - Stored Procedure best practice?
- Previous by thread: Re: ASP - Stored Procedure best practice?
- Next by thread: Re: ASP - Stored Procedure best practice?
- Index(es):
Relevant Pages
|
|