This paper deals with the following prescribed scalar curvature problem -Delta u = Q(vertical bar y'vertical bar, y '')u(N+2/N-2), u > 0, y = (y',y '') is an element of R-2 x RN-2, where Q(y) is nonnegative and bounded. By combining a finite reduction argument and local Pohozaev type of identities, we prove that if N >= 5 and Q(r, y '') has a stable critical point (r(0), y(0)'') with r(0) > 0 and Q(r(0), y(0)'') > 0, then the above problem has infinitely many solutions, whose energy can be made arbitrarily large. Here, instead of estimating directly the derivatives of the reduced functional, w...