Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

3939 there is a mismatch between the number of parameters specified and the number of parameters required - response (2) by mohan.mscss

$
0
0

hi,
I just tried it in the normal SQL, Hope this helps to you!
sel a, rank(a) from
(sel (add_months(dob,-24) (format 'yyyymm'))(varchar(6)) a from tb_name
where
dob between add_months(current_date,-24)+1 and current_date group by a)dt
Regards,
Mohan
 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>