-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbtl-locations.sql
69 lines (69 loc) · 2.82 KB
/
btl-locations.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
/*
institutions
Name Null? Type
----------------------------------------- -------- ----------------------------
INSTITUTION_ID NOT NULL NUMBER(38)
IS_RECORD_DELETED NOT NULL CHAR(1)
INSTITUTE_CODE NUMBER
RECORD_INSERTION_TIME TIMESTAMP(6) WITH TIME ZONE
RECORD_INSERTION_USER VARCHAR2(50)
RECORD_LASTUPDATE_TIME TIMESTAMP(6) WITH TIME ZONE
RECORD_LASTUPDATE_USER VARCHAR2(50)
NAME VARCHAR2(256)
COMMENT_DESCRIPTION VARCHAR2(4000)
TOWN VARCHAR2(128)
COUNTRY VARCHAR2(3)
*/
INSERT INTO CMS_MTD_CORE_MANAGEMNT.INSTITUTIONS VALUES (
1000, 'F', 999988133, SYSDATE, 'organtin', NULL, NULL, 'CERN', 'CERN',
'Geneva', 'CH'
);
INSERT INTO CMS_MTD_CORE_MANAGEMNT.INSTITUTIONS VALUES (
1001, 'F', 9999927891, SYSDATE, 'organtin', NULL, NULL, 'INFN-RM1', 'INFN Sez. di Roma',
'Roma', 'I'
);
INSERT INTO CMS_MTD_CORE_MANAGEMNT.INSTITUTIONS VALUES (
1002, 'F', 997764020, SYSDATE, 'organtin', NULL, NULL, 'Caltech', 'California Institute of Technology',
'Pasadena', 'USA'
);
INSERT INTO CMS_MTD_CORE_MANAGEMNT.INSTITUTIONS VALUES (
1003, 'F', 999923531, SYSDATE, 'organtin', NULL, NULL, 'INFN-MIB', 'INFN Sez. di Milano Bicocca',
'Milano', 'I'
);
INSERT INTO CMS_MTD_CORE_MANAGEMNT.INSTITUTIONS VALUES (
1004, 'F', NULL, SYSDATE, 'organtin', NULL, NULL, 'Virginia', 'University of Virginia',
'Charlottesville', 'USA'
);
INSERT INTO CMS_MTD_CORE_MANAGEMNT.INSTITUTIONS VALUES (
2000, 'F', NULL, SYSDATE, 'organtin', NULL, NULL, 'Virtual', 'Virtual Institution',
NULL, NULL
);
/*
locations
Name Null? Type
----------------------------------------- -------- ----------------------------
LOCATION_ID NOT NULL NUMBER(38)
INSTITUTION_ID NUMBER(38)
IS_RECORD_DELETED NOT NULL CHAR(1)
LOCATION_NAME NOT NULL VARCHAR2(40)
RECORD_INSERTION_TIME NOT NULL TIMESTAMP(6) WITH TIME ZONE
RECORD_INSERTION_USER NOT NULL VARCHAR2(50)
RECORD_LASTUPDATE_TIME TIMESTAMP(6) WITH TIME ZONE
RECORD_LASTUPDATE_USER VARCHAR2(50)
COMMENT_DESCRIPTION VARCHAR2(4000)
*/
INSERT INTO CMS_MTD_CORE_MANAGEMNT.LOCATIONS VALUES (
1001, 1001, 'F', 'Roma', SYSDATE, 'organtin', NULL, NULL, 'Roma QC/QA Center'
);
INSERT INTO CMS_MTD_CORE_MANAGEMNT.LOCATIONS VALUES (
1002, 1003, 'F', 'Milano', SYSDATE, 'organtin', NULL, NULL, 'Milano Bicocca BAC'
);
INSERT INTO CMS_MTD_CORE_MANAGEMNT.LOCATIONS VALUES (
1003, 1004, 'F', 'UVA', SYSDATE, 'organtin', NULL, NULL, 'Virginia BAC'
);
INSERT INTO CMS_MTD_CORE_MANAGEMNT.LOCATIONS VALUES (
1004, 1002, 'F', 'Caltech', SYSDATE, 'organtin', NULL, NULL, 'Caltech BAC'
);
INSERT INTO CMS_MTD_CORE_MANAGEMNT.LOCATIONS VALUES (
1005, 1000, 'F', 'CERN', SYSDATE, 'organtin', NULL, NULL, 'CERN BTL Lab'
);