Survey_2D_N


[Columns] [Composed Of] [Referenced By] [Refers To]

General Information

[Next]
Name Survey_2D_N
Entity Type ObjectView
Description PSS 2013.1 SURVEY_2D DOV
Submodel Data_Object
Entity Scope Project
Primary Key Id
Natural Key
Generalizations
Specializations


Columns

[Previous] [Next] [Top]
NameValue DomainProperty /
Storage Unit
DescriptionRequired /
Default
Type
APPLICATION_PROJECT_ID NUMBER2 NA
_ Yes
NUMBER(2)
COUNTRY_NAME STRING64 NA
_ No
VARCHAR2(64)
DATASTORE_NAME STRING255 NA
_ No
VARCHAR2(255)
FOREIGN_REPOSITORY_SYSTEM STRING64 NA
_ No
VARCHAR2(64)
FOREIGN_REP_OBJECT_ID STRING255 NA
_ No
VARCHAR2(255)
GUID STRING128 NA
_ No
VARCHAR2(128)
ID NUMBER2 NA
_ Yes
NUMBER(2)
INSERT_DATE DATE NA
_ No
DATE
INSERT_USER STRING64 NA
_ No
VARCHAR2(64)
LICENSE_HOLDER_ID NUMBER2 NA
_ No
NUMBER(2)
NAME STRING255 NA
_ No
VARCHAR2(255)
ORIGINAL_SOURCE STRING64 NA
_ No
VARCHAR2(64)
PARENT_2D_SURVEY_ID NUMBER2 NA
_ No
NUMBER(2)
PRODUCED_BY STRING64 NA
_ No
VARCHAR2(64)
PROJECT_DATASTORE_ID NUMBER2 NA
_ Yes
NUMBER(2)
PROJECT_NAME STRING255 NA
_ No
VARCHAR2(255)
REMARKS STRING2000 NA
_ No
VARCHAR2(2000)
SOURCE STRING64 NA
_ No
VARCHAR2(64)
SURVEY_AREA_NAME STRING255 NA
_ No
VARCHAR2(255)
SURVEY_CRS_ID NUMBER2 NA
_ No
NUMBER(2)
SURVEY_PROJECT_NAME STRING255 NA
_ No
VARCHAR2(255)
SURVEY_PROSPECT_NAME STRING255 NA
_ No
VARCHAR2(255)
SURVEY_UNIQUE_LOCATOR STRING2000 NA
_ No
VARCHAR2(2000)
TOTAL_CALCULATED_LINE_LENGTH NUMBER Length
m
_ No
NUMBER
TOTAL_NOMINAL_LINE_LENGTH NUMBER Length
m
_ No
NUMBER
UPDATE_DATE DATE NA
_ No
DATE
UPDATE_USER STRING64 NA
_ No
VARCHAR2(64)


View Definition

[Previous] [Top]

CREATE OR REPLACE FORCE VIEW Survey_2D_N(ID, APPLICATION_PROJECT_ID, PROJECT_DATASTORE_ID, INSERT_DATE, INSERT_USER, UPDATE_DATE, UPDATE_USER, GUID, NAME, PROJECT_NAME, DATASTORE_NAME, ORIGINAL_SOURCE, PRODUCED_BY, REMARKS, SOURCE, LICENSE_HOLDER_ID, SURVEY_AREA_NAME, COUNTRY_NAME, SURVEY_CRS_ID, SURVEY_PROJECT_NAME, SURVEY_PROSPECT_NAME, SURVEY_UNIQUE_LOCATOR, FOREIGN_REP_OBJECT_ID, FOREIGN_REPOSITORY_SYSTEM, PARENT_2D_SURVEY_ID, TOTAL_CALCULATED_LINE_LENGTH, TOTAL_NOMINAL_LINE_LENGTH) AS select SURVEY_2D.ID,
       APPLICATION_PROJECT.ID,
       PROJECT_DATASTORE.ID,
       SURVEY_2D.INSERT_DATE,
       SURVEY_2D.INSERT_USER,
       SURVEY_2D.UPDATE_DATE,
       SURVEY_2D.UPDATE_USER,
       SURVEY_2D.GUID,
       SURVEY_2D.NAME,
       APPLICATION_PROJECT.NAME,
       PROJECT_DATASTORE.NAME,
       SURVEY_2D.ORIGINAL_SOURCE,
       SURVEY_2D.PRODUCED_BY,
       SURVEY_2D.REMARKS,
       SURVEY_2D.SOURCE,
       SURVEY_2D.LICENSE_HOLDER_ID,
       SURVEY_2D.SURVEY_AREA_NAME,
       
SURVEY_2D.COUNTRY_NAME,
       SURVEY_2D.SURVEY_CRS_ID,
       SURVEY_2D.SURVEY_PROJECT_NAME,
       SURVEY_2D.SURVEY_PROSPECT_NAME,
       SURVEY_2D.SURVEY_UNIQUE_LOCATOR,
       SURVEY_2D.FOREIGN_REP_OBJECT_ID,
       SURVEY_2D.FOREIGN_REPOSITORY_SYSTEM,
       SURVEY_2D.PARENT_2D_SURVEY_ID,
       SEISLN.TOTAL_CALCULATED_LINE_LENGTH,
       SEISLN.TOTAL_NOMINAL_LINE_LENGTH
from PROJECT_DATASTORE, APPLICATION_PROJECT, SURVEY_2D,
         (SELECT SUM(calculated_line_length) AS total_calculated_line_length,
                 SUM (nominal_line_length) AS total_nominal_line_length,survey_2d_id
          FROM seismic_line_ GROUP BY survey_2d_id) SEISLN
where PROJECT_DATASTORE.ID = APPLICATION_PROJECT.PROJECT_DATASTORE_ID
  and APPLICATION_PROJECT.ID = SURVEY_2D.APPLICATION_PROJECT_ID
  AND survey_2d.ID = SEISLN.survey_2d_id(+)
   


[Seabed Objects] [Entities in Schema Seabed] [Index]

Copyright © 2018 Schlumberger. All rights reserved.