Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Inserting a table in Dataservices

$
0
0

Hi ,

 

I have a question how to insert this code:

 

insert into A (ccn, mas_Loc, wo_Num, wo_Line, parent_wo_line, Parent_wo_Num)

     SELECT UNIQUE ccn, mas_Loc, WO_NUM,wo_Line, parent_wo_line, CONNECT_BY_ROOT B.PARENT_WO_NUM as PARENT_WO_NUM,   LEVEL-1 as Pathlen, SYS_CONNECT_BY_PATH(trim(parent_wo_num), '/') as Path

   FROM B  WHERE LEVEL > 1  CONNECT BY PRIOR B.wo_num = B.parent_wo_num)

 

into Dataservices.

 

 

Thanks,

Prathyu


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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