Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Dynamic Where Clause

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-02-19 : 09:28:54
writes "I making a stored procedure in which I am taking 4 input parameters viz , ContractNo, ParticipantNo, FromDate and ToDate.
All these parameters will be used in where clause. My problem is that all these parameters can take null values so i have to chaeck if whichever parameter is null i will not include it in where clause.

How I will do?"
   

- Advertisement -