Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

How to create records from a defined range - response (8) by suyog

$
0
0

Hi Carlos,Dieter -
 
this solution helped me immensely in my problem.
 
however, I have one question - how would you deal with two dimensional data e.g. instead of
id_n hi_n low_n
----------- ----------- -----------
1 10 12
2 1 5
3 27 30
 
I have
table 1 -
low_in  hi_n
0          500
 
table 2 -
low_in  hi_n
0          1500
table 3 - output
low_n      hi_n
0             0
0             1
0              2
.             .
.             .
0            1500
1             0
1              1
.               .
.               .
1             1500
.                .
.                .
500           1500


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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