Code:
SELECT * FROM tableA WHERE ISNULL(col1, @col1) = @col1 AND ISNULL(col2, @col2) = @col2 AND ISNULL(col3, @col3) = @col3 AND ISNULL(col4, @col4) = @col4 AND @col5 BETWEEN ISNULL(col5, @col5) AND ISNULL(col5, @col5)
SELECT * FROM tableA WHERE ISNULL(col1, @col1) = @col1 AND ISNULL(col2, @col2) = @col2 AND ISNULL(col3, @col3) = @col3 AND ISNULL(col4, @col4) = @col4 AND @col5 BETWEEN ISNULL(col5, @col5) AND ISNULL(col5, @col5)
class One{ public: One(int a,int b):adad1(a),adad2(b){} private: int adad1; int adad2; }; class Two{ public: Two(int input[]){ for (int i=0;i<10;i++) araye[i]=input[i]; } private: int araye[10]; };