Anniqa
Let me understand what you are doing.Say you have a procedure that accpets three parameters with default values such as
create procedure sp1
@p1 int=null,
@p2 int=null,
@p3 int =null
as
if @p1 is not null
insert into table_parameters (username,p1) values (user_name(),@p1)
if @p2 is not null
insert into table_parameters (username,p1) values (user_name(),@p2)
......................
-- -do some logic here
--- However, when I run it from the preview tab and provide the parameters via the dropdownlists (wich are populated from ---prompt procedures) it doesn't
You do not see them in your table_parameters???
Best Regards, Uri Dimant SQL Server MVP http://dimantdatabasesolutions.blogspot.com/ http://sqlblog.com/blogs/uri_dimant/