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)
 Optional parameters & mutiple values to parameters

Author  Topic 

samsql
Starting Member

6 Posts

Posted - 2001-01-22 : 22:45:20
Hi,
This is regard to filter the records when some optional parameters are passed to a stored procedure.
I was able to retrive data say for mandatory parameters ,but,I would like to create optional paramters(Null to be allowed),which when passed should filter the data and return few records.

Secondly,is there a way to pass mutiple values to a parameter? These values will be passed from an asp page (list box control).

I would appreciate if any sample code or examples are provided for reference.

Advance thanks for the response.

Samsql
   

- Advertisement -