Create the Oracle table and sequence - 7.3

Oracle

Version
7.3
Language
English (United States)
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > Database components > Oracle components
Data Quality and Preparation > Third-party systems > Database components > Oracle components
Design and Development > Third-party systems > Database components > Oracle components

Procedure

  1. Create an Oracle table called PERSON with four fields: ID, NAME, AGE and COUNTRY, as follows.
    CREATE TABLE TABLE_PERSON 
    (
      ID NUMBER(4) NOT NULL 
    , NAME VARCHAR2(25) 
    , AGE NUMBER(5) 
    , COUNTRY VARCHAR2(20) 
    , CONSTRAINT PERSON_PK PRIMARY KEY 
      (
        ID 
      )
      ENABLE 
    );
  2. Create an Oracle sequence called sequence_demo.
    CREATE SEQUENCE SEQUENCE_DEMO 
    INCREMENT BY 1 
    START WITH 1 
    NOMAXVALUE
    NOCYCLE
    NOCACHE;