hi
i wrote your query and run but there wasnt show any thing result was empty
and Attention that i want show user with f_code that is query string not f_code=1
i use query string
wherefurniture_ch.f_code = 1andfurniture_p.date<= GETDATE()
i should use variable
CREATE PROCEDURE [dbo].[GetProducts] @F_Code VARCHAR(100)
it is very important that i sort by date how i can do it?plz help...