Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Yes, depends on the rules you set to delimit the elements.rmhealth said:. . . Any way I can parse it out into separate columns, one value per column number 1 to 50?
awk -F' ' 'BEGIN{printf"ID\t";for(i=1;i<=50;++i){printf"%s\t","G"i;}print ""}
{ printf"%s\t",$1;for(i=3;i<=53;++i){printf"%s\t",substr($3,(i+1),1);}print ""}
' infile.txt
create table testdenorm (id number, path varchar2(100 char), security varchar2(50 char));
insert into testdenorm values
( 208, 'importexport/exportusingtemplate/home.html','22020002200**2****2*******************************');
insert into testdenorm values
( 210, 'importexport/quickimport/quickimport1.html','000*000**00***************************************');
insert into testdenorm values
( 213, 'importexport/importtemplates/home.html', '20000000200*******0*******************************');
select * from
(
select id, path, security, r.pos, substr(t.security, r.pos,1) posval
from testdenorm t,
(select level pos from dual
connect by level <= 50) r
)
pivot
(
min(posval)
for pos in (1 "Secretaries", 2 "Technicians", 3 "Counselors", 4 "Engineers")
)
order by id;