Teste isso mas tente descobrir antes pra que serve. Comente.
1 2 3 4 5 | SELECT INTEGER_VALUE FROM DUAL WHERE 1=2 MODEL DIMENSION BY ( 0 AS KEY ) MEASURES ( 0 AS INTEGER_VALUE ) RULES UPSERT ( INTEGER_VALUE[ FOR KEY FROM 1 TO 10 INCREMENT 1 ] = CV(KEY)); |
contator, dimension, increment, Oracle
This entry was posted on 27/03/2009, 15:26 and is filed under Oracle. You can follow any responses to this entry through RSS 2.0. Você pode deixar uma resposta, ou citar de seu próprio site.
Fusion theme by digitalnature | powered by WordPress
Posts (RSS) e Comentários (RSS) ^
#1 by Suissa on 28/04/2009 - 7:07
Pow vc me pegou hein, o q q eh esse where ae??
#2 by daniel on 28/04/2009 - 16:25
Cara, esse where é a maior loucura ehehe.. você consegue substituir tudo isso com isso:
SELECT VAL FROM PIVOT WHERE VAL <= 10;