-
Notifications
You must be signed in to change notification settings - Fork 0
/
allen_ddl.sql
8515 lines (8366 loc) · 213 KB
/
allen_ddl.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-----------------------------------------------------------
-- Export file for user ALLEN@DATAWH --
-- Created by espositot on 5/26/2016, 15:04:53 15:04:53 --
-----------------------------------------------------------
set define off
spool allen_ddl.log
prompt
prompt Creating table AADD
prompt ===================
prompt
create table ALLEN.AADD
(
etl_sasi_sch CHAR(3) not null,
etl_sasi_year CHAR(1) not null,
status VARCHAR2(1),
schoolnum VARCHAR2(3),
code VARCHAR2(3),
descript VARCHAR2(15),
demerits NUMBER(2),
security NUMBER(1),
credit VARCHAR2(1),
affectelig VARCHAR2(1),
reserved VARCHAR2(5),
altcode VARCHAR2(4),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 0
initrans 1
maxtrans 255
storage
(
initial 320K
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_AADD_SASI_SCH on ALLEN.AADD (ETL_SASI_SCH)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 80K
next 1M
minextents 1
maxextents unlimited
)
nologging;
prompt
prompt Creating table AATC
prompt ===================
prompt
create table ALLEN.AATC
(
etl_sasi_sch CHAR(3) not null,
etl_sasi_year CHAR(1) not null,
status VARCHAR2(1),
schoolnum VARCHAR2(3),
calendate DATE,
holiday VARCHAR2(1),
tracks VARCHAR2(9),
reserved VARCHAR2(17),
filler VARCHAR2(35),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 0
initrans 1
maxtrans 255
storage
(
initial 192K
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_AATC_HOLIDAY on ALLEN.AATC (HOLIDAY)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_AATC_SASI_SCH on ALLEN.AATC (ETL_SASI_SCH)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_AATC_SCHOOLNUM on ALLEN.AATC (SCHOOLNUM)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
)
nologging;
prompt
prompt Creating table AATG
prompt ===================
prompt
create table ALLEN.AATG
(
etl_sasi_sch CHAR(3) not null,
etl_sasi_year CHAR(1) not null,
status VARCHAR2(1),
schoolnum VARCHAR2(3),
permnum VARCHAR2(12),
sequence NUMBER(4),
stulink NUMBER(5),
absdate VARCHAR2(32),
daycode VARCHAR2(1),
daycode2 VARCHAR2(1),
daytitle VARCHAR2(10),
daytitle2 VARCHAR2(10),
dayabbrev VARCHAR2(3),
dayabbrev2 VARCHAR2(3),
abstype NUMBER(1),
abstype2 NUMBER(1),
absdesc VARCHAR2(30),
absdesc2 VARCHAR2(30),
per1abs VARCHAR2(1),
per1absty NUMBER(1),
per2abs VARCHAR2(1),
per2absty NUMBER(1),
per3abs VARCHAR2(1),
per3absty NUMBER(1),
per4abs VARCHAR2(1),
per4absty NUMBER(1),
per5abs VARCHAR2(1),
per5absty NUMBER(1),
per6abs VARCHAR2(1),
per6absty NUMBER(1),
per7abs VARCHAR2(1),
per7absty NUMBER(1),
per8abs VARCHAR2(1),
per8absty NUMBER(1),
per9abs VARCHAR2(1),
per9absty NUMBER(1),
per10abs VARCHAR2(1),
per10absty NUMBER(1),
per11abs VARCHAR2(1),
per11absty NUMBER(1),
per12abs VARCHAR2(1),
per12absty NUMBER(1),
per13abs VARCHAR2(1),
per13absty NUMBER(1),
per14abs VARCHAR2(1),
per14absty NUMBER(1),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 0
initrans 1
maxtrans 255
storage
(
initial 22M
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_AATG_SASI_SCH on ALLEN.AATG (ETL_SASI_SCH)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 128K
next 1M
minextents 1
maxextents unlimited
)
nologging;
prompt
prompt Creating table AATR
prompt ===================
prompt
create table ALLEN.AATR
(
etl_sasi_sch CHAR(3) not null,
etl_sasi_year CHAR(1) not null,
status VARCHAR2(1),
schoolnum VARCHAR2(3),
code CHAR(1),
title VARCHAR2(20),
abbrev VARCHAR2(10),
type NUMBER(1),
rcvapport CHAR(1),
inclltrs CHAR(1),
incldialer CHAR(1),
inclrpts CHAR(1),
affectelig CHAR(1),
reserved CHAR(1),
filler CHAR(1),
absgrp CHAR(1),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 0
initrans 1
maxtrans 255
storage
(
initial 80K
next 1M
minextents 1
maxextents unlimited
)
nologging;
prompt
prompt Creating table ACLH
prompt ===================
prompt
create table ALLEN.ACLH
(
etl_sasi_sch CHAR(3) not null,
etl_sasi_year CHAR(1) not null,
status VARCHAR2(1),
schoolnum VARCHAR2(3),
stulink NUMBER(5),
classlink NUMBER(4),
course VARCHAR2(14),
tchnum NUMBER(3),
sequence NUMBER(3),
startdate VARCHAR2(32),
enddate VARCHAR2(32),
tchaide VARCHAR2(1),
adddroptag VARCHAR2(1),
overtermcd VARCHAR2(2),
inclgrade VARCHAR2(1),
userstamp VARCHAR2(10),
datestamp VARCHAR2(32),
timestamp NUMBER(6),
linkcode VARCHAR2(1),
linktype VARCHAR2(4),
reserved VARCHAR2(5),
filler VARCHAR2(10),
usercd1 VARCHAR2(8),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 0
initrans 1
maxtrans 255
storage
(
initial 8M
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_ACLH_SASI_SCH on ALLEN.ACLH (ETL_SASI_SCH)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 80K
next 1M
minextents 1
maxextents unlimited
)
nologging;
prompt
prompt Creating table ACLS
prompt ===================
prompt
create table ALLEN.ACLS
(
etl_sasi_sch CHAR(3) not null,
etl_sasi_year CHAR(1) not null,
status VARCHAR2(1),
schoolnum VARCHAR2(3),
stulink NUMBER(5),
classlink NUMBER(4),
startdate VARCHAR2(32),
enddate VARCHAR2(32),
tchaide VARCHAR2(1),
addtag VARCHAR2(1),
mrggrdcrs VARCHAR2(14),
overtermcd VARCHAR2(2),
overfa VARCHAR2(2),
userstamp VARCHAR2(10),
datestamp VARCHAR2(32),
timestamp NUMBER(6),
linkcode VARCHAR2(1),
linktype VARCHAR2(4),
reserved VARCHAR2(5),
filler VARCHAR2(10),
workbased VARCHAR2(1),
usercode1 VARCHAR2(30),
usercode2 VARCHAR2(30),
usercode3 VARCHAR2(30),
usercode4 VARCHAR2(30),
userdate1 VARCHAR2(32),
userdate2 VARCHAR2(32),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 0
initrans 1
maxtrans 255
storage
(
initial 26M
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_ACLS_SASI_SCH on ALLEN.ACLS (ETL_SASI_SCH)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 128K
next 1M
minextents 1
maxextents unlimited
)
nologging;
prompt
prompt Creating table ACRS
prompt ===================
prompt
create table ALLEN.ACRS
(
etl_sasi_sch CHAR(3),
etl_sasi_year CHAR(1),
status VARCHAR2(1),
schoolnum VARCHAR2(3),
course VARCHAR2(14),
effdate VARCHAR2(32),
expdate VARCHAR2(32),
narrdesc VARCHAR2(10),
title VARCHAR2(18),
longtitle VARCHAR2(40),
nonacadem VARCHAR2(1),
gpaweight VARCHAR2(1),
subjarea1 VARCHAR2(3),
subjarea2 VARCHAR2(3),
subjarea3 VARCHAR2(3),
department VARCHAR2(4),
crtype VARCHAR2(1),
statecrs1 VARCHAR2(10),
statecrs2 VARCHAR2(10),
altcrs1 VARCHAR2(14),
altcrs2 VARCHAR2(14),
masschgcrs VARCHAR2(14),
credvalue NUMBER(6,3),
maxcredits NUMBER(6,3),
fee1 NUMBER(6,2),
fee2 NUMBER(6,2),
duration VARCHAR2(2),
lowgrade VARCHAR2(2),
highgrade VARCHAR2(2),
genderrest VARCHAR2(1),
excltag VARCHAR2(2),
cbedsgrp VARCHAR2(1),
cbedsvoced VARCHAR2(1),
sectnum NUMBER(3),
timestruct VARCHAR2(16),
ssopt NUMBER(3),
ssmax NUMBER(3),
ssvar NUMBER(3),
ssincr NUMBER(3),
tchnum NUMBER(2),
termdur NUMBER(2),
nrsect NUMBER(2),
unused1 NUMBER(2),
schedprio NUMBER(1),
trpriority VARCHAR2(1),
requelect VARCHAR2(1),
duplicates VARCHAR2(1),
prereq VARCHAR2(14),
qualaid VARCHAR2(1),
category VARCHAR2(2),
collarea1 VARCHAR2(3),
collarea2 VARCHAR2(3),
collarea3 VARCHAR2(3),
univarea1 VARCHAR2(3),
univarea2 VARCHAR2(3),
univarea3 VARCHAR2(3),
colprep VARCHAR2(1),
voccourse VARCHAR2(14),
vocprogid VARCHAR2(7),
scholar VARCHAR2(2),
comp1 NUMBER(2),
comp2 NUMBER(2),
comp3 NUMBER(2),
comp4 NUMBER(2),
regentscrs VARCHAR2(1),
esl VARCHAR2(3),
appcategry VARCHAR2(3),
crstype VARCHAR2(3),
prof_core VARCHAR2(1),
spterm VARCHAR2(156),
trvector VARCHAR2(20),
crsgroups VARCHAR2(12),
reqprior VARCHAR2(1),
clarray VARCHAR2(32),
csarray VARCHAR2(32),
usercode1 VARCHAR2(4),
usercode2 VARCHAR2(4),
usercode3 VARCHAR2(8),
usercode4 VARCHAR2(8),
instrlang VARCHAR2(3),
gdonrpt VARCHAR2(1),
gdontrans VARCHAR2(1),
subjclsatt VARCHAR2(1),
instrtype VARCHAR2(3),
fundprgcd NUMBER(4),
qbecatgcd VARCHAR2(2),
subjarea4 VARCHAR2(3),
subjarea5 VARCHAR2(3),
usercode5 VARCHAR2(12),
usercode6 VARCHAR2(12),
usercode7 VARCHAR2(12),
usercode8 VARCHAR2(12),
usercode9 VARCHAR2(12),
userstamp VARCHAR2(10),
datestamp VARCHAR2(32),
timestamp NUMBER(6),
filler VARCHAR2(70),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 3M
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_ACRS_SASI_SCH on ALLEN.ACRS (ETL_SASI_SCH)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 80K
next 1M
minextents 1
maxextents unlimited
)
nologging;
prompt
prompt Creating table ADF1
prompt ===================
prompt
create table ALLEN.ADF1
(
etl_sasi_sch CHAR(3) not null,
etl_sasi_year CHAR(1) not null,
status VARCHAR2(1),
filecode VARCHAR2(4),
qualified VARCHAR2(1),
vieworder NUMBER(3),
mastersub VARCHAR2(1),
filetype VARCHAR2(2),
descript VARCHAR2(30),
dfltfield VARCHAR2(20),
dfltkey VARCHAR2(10),
distown VARCHAR2(1),
nightxfr VARCHAR2(1),
schoolxfr VARCHAR2(1),
crtblank VARCHAR2(1),
domain VARCHAR2(1),
dfltaccess VARCHAR2(1),
accesslock VARCHAR2(1),
tchqual VARCHAR2(1),
sasi3type VARCHAR2(2),
sasi3sec VARCHAR2(1),
dbaseonly VARCHAR2(1),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 256K
next 1M
minextents 1
maxextents unlimited
)
nologging;
prompt
prompt Creating table ADF2
prompt ===================
prompt
create table ALLEN.ADF2
(
etl_sasi_sch CHAR(3) not null,
etl_sasi_year CHAR(1) not null,
status VARCHAR2(1),
filecode VARCHAR2(4),
fieldseq NUMBER(4),
intfldname VARCHAR2(20),
intfldnum NUMBER(4),
fieldname VARCHAR2(10),
fieldid VARCHAR2(2),
descript VARCHAR2(30),
fieldlevel VARCHAR2(1),
fieldtype VARCHAR2(1),
actsize NUMBER(3),
actdec NUMBER(1),
editsize NUMBER(3),
editdec NUMBER(1),
editcode VARCHAR2(1),
mandatory VARCHAR2(1),
relfile VARCHAR2(4),
reltable VARCHAR2(3),
colsize NUMBER(3),
colhead VARCHAR2(30),
formhead VARCHAR2(30),
vieword NUMBER(3),
groupnum NUMBER(3),
distown VARCHAR2(1),
distupdt VARCHAR2(1),
schoolxfr VARCHAR2(1),
domain VARCHAR2(1),
dfltaccess VARCHAR2(1),
accesslock VARCHAR2(1),
dfltvalue VARCHAR2(30),
minvalue VARCHAR2(30),
maxvalue VARCHAR2(30),
occurs NUMBER(4),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 7M
next 1M
minextents 1
maxextents unlimited
)
nologging;
prompt
prompt Creating table ADF3
prompt ===================
prompt
create table ALLEN.ADF3
(
etl_sasi_sch CHAR(3) not null,
etl_sasi_year CHAR(1) not null,
status VARCHAR2(1),
filecode VARCHAR2(4),
fieldseq NUMBER(4),
valueseq NUMBER(3),
value VARCHAR2(30),
descript VARCHAR2(30),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 512K
next 1M
minextents 1
maxextents unlimited
)
nologging;
prompt
prompt Creating table ADF4
prompt ===================
prompt
create table ALLEN.ADF4
(
etl_sasi_sch CHAR(3) not null,
etl_sasi_year CHAR(1) not null,
status VARCHAR2(1),
filecode VARCHAR2(4),
keyseq NUMBER(3),
keyname VARCHAR2(10),
vieword NUMBER(2),
uniquekey VARCHAR2(1),
descend VARCHAR2(1),
field1 VARCHAR2(20),
upper1 VARCHAR2(1),
field2 VARCHAR2(20),
upper2 VARCHAR2(1),
field3 VARCHAR2(20),
upper3 VARCHAR2(1),
field4 VARCHAR2(20),
upper4 VARCHAR2(1),
field5 VARCHAR2(20),
upper5 VARCHAR2(1),
spclodbc VARCHAR2(1),
aggreg1 VARCHAR2(1),
aggreg2 VARCHAR2(1),
aggreg3 VARCHAR2(1),
aggreg4 VARCHAR2(1),
aggreg5 VARCHAR2(1),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 80K
next 1M
minextents 1
maxextents unlimited
)
nologging;
prompt
prompt Creating table ADIS
prompt ===================
prompt
create table ALLEN.ADIS
(
etl_sasi_sch CHAR(3) not null,
etl_sasi_year CHAR(1) not null,
status VARCHAR2(1),
schoolnum VARCHAR2(3),
stulink NUMBER(5),
comments VARCHAR2(4000),
sequence NUMBER(3),
desccode VARCHAR2(3),
reportdate VARCHAR2(32),
dispcode VARCHAR2(4),
dispstrtdt VARCHAR2(32),
dispenddt VARCHAR2(32),
dispdays NUMBER(5,1),
disphrs NUMBER(5,1),
demerits NUMBER(3),
security NUMBER(1),
referredby VARCHAR2(15),
referdate VARCHAR2(32),
actionby VARCHAR2(15),
code VARCHAR2(3),
tag VARCHAR2(1),
timein NUMBER(4),
timeout NUMBER(4),
reserved VARCHAR2(5),
filler VARCHAR2(10),
zone VARCHAR2(6),
incidentid VARCHAR2(25),
altdiscode VARCHAR2(4),
prevact VARCHAR2(4),
prevact2 VARCHAR2(4),
incidloc VARCHAR2(4),
tchconf VARCHAR2(1),
actdislen NUMBER(3),
lendiffrsn VARCHAR2(2),
discampus VARCHAR2(10),
incdcontxt VARCHAR2(1),
incnum NUMBER(3),
dispdesc VARCHAR2(20),
dispnum NUMBER(2),
reportfn VARCHAR2(20),
reportln VARCHAR2(30),
discode1 VARCHAR2(12),
discode2 VARCHAR2(12),
discode3 VARCHAR2(12),
discode4 VARCHAR2(12),
discode5 VARCHAR2(12),
statenum VARCHAR2(10),
disschnum VARCHAR2(3),
crimcharge VARCHAR2(2),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 0
initrans 1
maxtrans 255
storage
(
initial 7M
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_ADIS_SASI_SCH on ALLEN.ADIS (ETL_SASI_SCH)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 80K
next 1M
minextents 1
maxextents unlimited
)
nologging;
prompt
prompt Creating table ADPO
prompt ===================
prompt
create table ALLEN.ADPO
(
etl_sasi_sch CHAR(3) not null,
etl_sasi_year CHAR(1) not null,
status VARCHAR2(1),
schoolnum VARCHAR2(3),
stulink NUMBER(5),
incidentid NUMBER(3),
sequence NUMBER(3),
dispcode VARCHAR2(4),
dispstrtdt VARCHAR2(32),
dispenddt VARCHAR2(32),
actionby VARCHAR2(15),
comments VARCHAR2(100),
dispdays NUMBER(5,1),
disphrs NUMBER(5,1),
timein NUMBER(4),
timeout NUMBER(4),
prevact VARCHAR2(4),
prevact2 VARCHAR2(4),
incidloc VARCHAR2(4),
tchconf VARCHAR2(1),
actdislen NUMBER(3),
lendiffrsn VARCHAR2(2),
incdcontxt VARCHAR2(1),
dispdesc VARCHAR2(20),
dispnum NUMBER(2),
discampus VARCHAR2(10),
datatype VARCHAR2(1),
actionby2 VARCHAR2(15),
altplace VARCHAR2(2),
userstamp VARCHAR2(10),
datestamp VARCHAR2(32),
timestamp NUMBER(6),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 0
initrans 1
maxtrans 255
storage
(
initial 5M
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_ADPO_SASI_SCH on ALLEN.ADPO (ETL_SASI_SCH)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 80K
next 1M
minextents 1
maxextents unlimited
)
nologging;
prompt
prompt Creating table AENR
prompt ===================
prompt
create table ALLEN.AENR
(
etl_sasi_sch CHAR(3) not null,
etl_sasi_year NUMBER(1) not null,
status CHAR(1),
schoolnum VARCHAR2(3),
stulink NUMBER(5),
sequence NUMBER(3) not null,
effdate DATE not null,
entercode VARCHAR2(3),
leavecode VARCHAR2(3),
eligada CHAR(1),
schoolattn VARCHAR2(3) not null,
track CHAR(1),
grade VARCHAR2(2) not null,
tchnum NUMBER(3),
instrset VARCHAR2(5),
userpgm1 VARCHAR2(8),
userpgm2 VARCHAR2(8),
userpgm3 VARCHAR2(8),
userpgm4 VARCHAR2(8),
userpgm5 VARCHAR2(8),
userpgm6 VARCHAR2(8),
userpgm7 VARCHAR2(8),
userpgm8 VARCHAR2(8),
userpgm9 VARCHAR2(8),
usernum1 NUMBER(8,2),
usernum2 NUMBER(8,2),
usernum3 NUMBER(8,2),
usernum4 NUMBER(8,2),
usernum5 NUMBER(8,2),
transyear VARCHAR2(2) not null,
dropreason VARCHAR2(2),
userstamp VARCHAR2(10),
datestamp VARCHAR2(32),
timestamp NUMBER(6),
reserved VARCHAR2(20),
filler VARCHAR2(41),
movedto VARCHAR2(20),
camefrom VARCHAR2(20),
summrecflg CHAR(1),
u_date VARCHAR2(20),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 0
initrans 1
maxtrans 255
storage
(
initial 6M
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_AENR_ENTERCODE on ALLEN.AENR (ENTERCODE)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 80K
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_AENR_LEAVECODE on ALLEN.AENR (LEAVECODE)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 80K
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_AENR_SASI_SCH on ALLEN.AENR (ETL_SASI_SCH)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 80K
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_AENR_SCHOOLATTN on ALLEN.AENR (SCHOOLATTN)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 80K
next 1M
minextents 1
maxextents unlimited
)
nologging;
prompt
prompt Creating table AGRD
prompt ===================
prompt
create table ALLEN.AGRD
(
etl_sasi_sch CHAR(3) not null,
etl_sasi_year CHAR(1) not null,
status VARCHAR2(1),
schoolnum VARCHAR2(3) not null,
stulink NUMBER(5) not null,
sequence NUMBER(3) not null,
course VARCHAR2(14) not null,
classlink NUMBER(4) not null,
beginprd VARCHAR2(2) not null,
endperiod VARCHAR2(2) not null,
tchnum NUMBER(3) not null,
crdattmpt NUMBER(6,3),
track VARCHAR2(1),
nextrptper NUMBER(2),
termcode VARCHAR2(2),
changenum NUMBER(3),
tchaide VARCHAR2(1),
rptper NUMBER(2),
userstamp VARCHAR2(10),
datestamp VARCHAR2(32),
timestamp NUMBER(6),
r10_loaddate DATE
)
tablespace DW_DEFAULT01
pctfree 0
initrans 1
maxtrans 255
storage
(
initial 31M
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_AGRD_SASI_SCH on ALLEN.AGRD (ETL_SASI_SCH)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 128K
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_AGRD_SCHOOLNUM on ALLEN.AGRD (SCHOOLNUM)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 128K
next 1M
minextents 1
maxextents unlimited
)
nologging;
create bitmap index ALLEN.BIX_AGRD_SEQUENCE on ALLEN.AGRD (SEQUENCE)
tablespace DW_DEFAULT_INDEX
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 2M