Re: ASP - Stored Procedure best practice?
- From: "J" <IDontLikeSpam@xxxxxxxxxxx>
- Date: Fri, 19 Jan 2007 16:31:52 -0800
Sorry Erland. Didn't notice it was from someone else. Much thanks to you
also.
Take care.
J
"Erland Sommarskog" <esquel@xxxxxxxxxxxxx> wrote in message
news:Xns98BDEE90C4CB3Yazorman@xxxxxxxxxxxx
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
.
- 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
- Re: ASP - Stored Procedure best practice?
- From: Erland Sommarskog
- ASP - Stored Procedure best practice?
- Prev by Date: Re: ASP - Stored Procedure best practice?
- Next by Date: Re: Two certificates sharing the same symmetric key
- Previous by thread: Re: ASP - Stored Procedure best practice?
- Next by thread: SQL cluster firewall question
- Index(es):
Relevant Pages
|
|