I need help to create
an store procedure that search a Company table passing 4 parameters.One of the requirements is to allow the user to combine those parameters.
Parameters: Region_Name, Type (Client, Dealer), Status (Active, Inactive, Prospect), Name
The company table has a foreing key from Regions table, this key need to be used to get Region_Name
Any help will be appreciated.
an store procedure that search a Company table passing 4 parameters.One of the requirements is to allow the user to combine those parameters.
Parameters: Region_Name, Type (Client, Dealer), Status (Active, Inactive, Prospect), Name
The company table has a foreing key from Regions table, this key need to be used to get Region_Name
Any help will be appreciated.