epengs.dB (ENG) + error CREATE TABLE PS_1099C_CUST_DATA


PT 8.54.10

FSCM 9.2 (picture 13)

SQL Server 2008 (64-bit)

We get below error when we are in the stages of the creation of the DB via DM scripts.

Started the: Tue Nov 17 02:10:54 2015
Release of Data Mover: 8.54.10
Database: FSDMO92 (ENG)
Input file: E:\FSDMO92\data\epengs.db (ENG)
Import 1099C_CUST_DATA
Create Table 1099C_CUST_DATA
-SQL error. Position of the error: 0 return: 8601 -.


[Microsoft] [SQL Server Native Client 10.0] [SQL Server] Column, parameter, or variable #4: could not find the PSDATE data type.
[Microsoft] [SQL Server Native Client 10.0] [SQL Server] Instructions could not be prepared. (SQLSTATE 37000) 8180

CREATE TABLE PS_1099C_CUST_DATA (CUST_ID varchar (15) NOT NULL, TIN varchar (20) NOT NULL, TAXPAYER_ID varchar (14) is NOT NULL, ASOF_DATE PSDATE NULL, decimal ENTRY_AMT (26, 3) NOT NULL, decimal INTEREST_EXPENSE (26, 3) NOT NULL, Name1 varchar (40) NOT NULL, NAME2 varchar (40) NOT NULL, NOT NULL of the varchar (55), of ADDR_LN1 ADDR_LN2 varchar (55) NOT NULL) , ADDR_LN3 varchar (55) NOT NULL, ADDR_LN4 varchar (55) NOT NULL, CITY varchar (30) NOT NULL, NOT NULL of the varchar (6) State, POSTAL varchar (12) NOT NULL, TEL varchar (24) is NOT NULL, NAME varchar (50) NOT NULL, Name3 varchar (40) NOT NULL, name4 varchar (40) NOT NULL, CITY3 varchar (30) NOT NULL, Address1 varchar (55) NOT NULL , State3 varchar (6) NOT NULL, POSTAL...
Error: Unable to process create statement for 1099C_CUST_DATA
Ending: Tue Nov 17 02:10:56 2015
Unsuccessful end

Cannot find the data type PSDATE comes here.  Looks like one of the required scripts has not been executed.  It has been long since I am on a site of SQL Server, but I understand the substance of this issue.  PeopleSoft creates a customized in SQL Server PSDATE data type which is an extension of the date format.

Rather than to point you to the script, I suggest you go back and find where this prerequisite is necessary and make sure that you are not lacking in any other required component.

Tags: Oracle Applications

Similar Questions

  • Publication of default due to the error creating table _mungo

    Hello

    I'm trying to reflect the types of assets for the development of the Test environment. The mirror operation fails with the following error:

    [13:07:44.924 2014-03-04] [CS. DB] [ERROR] SQLException statement: CREATE TABLE XXXXXXX_C_Mungo (id Number (38) PRIMARY KEY NOT NULL, cs_ownerid Number (38) NOT NULL, NULL Number (38), urlvalue NULL varchar (128), stringvalue NULL varchar (2000), intvalue NUMBER (10) NULL, NULL NUMBER(38, 10), moneyvalue, NULL, TIMESTAMP NULL, NULL Number datevalue (38), text NULL CLOB, cs_attrid Number (38) NOT NULL assetvalue cs_assetgroupid floatvalue) cs_islegal char (1)
    Blobvalue NULL, NULL Number (38), cs_filterid NULL Number (38), cs_ordinal NUMBER (38, 10) NULL)
    java.sql.SQLSyntaxErrorException: ORA-02263: need to specify the data type for this column.

    After reviewing the request that I discovered that moneyvalue is missing from column data type. I checked the value of cc.money in gator.ini and it is set to the default NUMERIC value (20.3). I ran the query in the help tool to provide the data type for the column moneyvalue and it works very well.

    Version is 7.5 patch4

    No idea where it is a failure?

    Thank you

    Harish

    Hi Harish,

    What is your cc.numeric value in futuretense.ini on a server?

    Have you tried comparing the two systems differences *.ini files? (Easiest way to compare them is to sort the content first, and then use a diff of program like winmerge or diff.)

    Kind regards

    Stephan.

  • ORA-01031 error creating table

    I use DB 11g on Wn 2008 Server 64 bit. I run the following creation script:

    CREATE THE TABLE SUPPCHAIN. COUNTRIES (COUNTRY_ID, REGION_ID NUMBER NOT NULL, C
    COUNTRY VARCHAR2 (32) NOT NULL, CODE CHAR (2) NOT NULL, NUMBER OF THE POPULATION, THE AREA N
    UMBER, FXCODE CHAR (3), VARCHAR2 (32) OF CURRENCY, RATES FLOAT (126), PRIMARY KEY (COUN
    TRY_ID) VALIDATE, VALIDATE UNIQUE (COUNTRY), INVALID (CODE) UNIQUE, FOREIGN
    KEY (REGION_ID) REFERS TO SUPERAD. REGION (REGION_ID) VALIDATE)

    Get the following error

    ERROR on line 1:
    ORA-01031: insufficient privileges

    I know it has to do with foreign key references, but I do not know what privileges to set to allow the above run correctly.

    I put CREATE TABLE privileges for user SUPPCHAIN. User SUPERAD also has these privileges and the SYSDBA. So what other privileges should I create?


    Thanks, J

    Jay wrote:
    I use DB 11g on Wn 2008 Server 64 bit. I run the following creation script:

    CREATE THE TABLE SUPPCHAIN. COUNTRIES (COUNTRY_ID, REGION_ID NUMBER NOT NULL, C
    COUNTRY VARCHAR2 (32) NOT NULL, CODE CHAR (2) NOT NULL, NUMBER OF THE POPULATION, THE AREA N
    UMBER, FXCODE CHAR (3), VARCHAR2 (32) OF CURRENCY, RATES FLOAT (126), PRIMARY KEY (COUN
    TRY_ID) VALIDATE, VALIDATE UNIQUE (COUNTRY), INVALID (CODE) UNIQUE, FOREIGN
    KEY (REGION_ID) REFERS TO SUPERAD. REGION (REGION_ID) VALIDATE)

    Get the following error

    ERROR on line 1:
    ORA-01031: insufficient privileges

    I know it has to do with foreign key references, but I do not know what privileges to set to allow the above run correctly.

    I put CREATE TABLE privileges for user SUPPCHAIN. User SUPERAD also has these privileges and the SYSDBA. So what other privileges should I create?

    Thanks, J

    GRANT REFERENCES ON SUPERAD. SUPPCHAIN REGION;

  • Error creating table with clusters

    Hello
    I tried the following
    CREATE CLUSTER emp_dept (deptno NUMBER(3))
    Cluster is created

    Then I tried to create the table with the cluster above but giving error:
    create table emp10 (ename char(5),deptno number(2) )cluster emp_dept(deptno);
    The error is:
    ORA-01753 column definition incompatible with clustered column definition
    Could you please help me in this

    Your cluster is based on a NUMBER data type (3), while the emp10 table has a deptno column with a data type of NUMBER (2).

  • Create table error

    Hello
    I get an error like this.

    create the table asgnd_agent_bak as (select * from ASGND_AGENT s, YVERT)
    where
    a.CNTCT_KEY = s.CNTCT_KEY and a.SCN_NUM = s.SCN_NUM
    and a.ACTVTY_DT = to_date (' 03/17/2013 ',' mm/dd/yyyy')
    and s.SCN_OPEN_DT = to_date (' 03/15/2013 ',' mm/dd/yyyy')
    "and a.SRC_SYS_DESC ="FACET");
    create the table asgnd_agent_bak as (select * from ASGND_AGENT s, YVERT)
    *
    ERROR on line 1:
    ORA-00957: duplicate column name

    Please notify

    Kind regards
    Narayan

    user7202581 wrote:

    create table asgnd_agent_bak as (Select * from ASGND_AGENT a, SCN s
    where
    a.CNTCT_KEY = s.CNTCT_KEY and a.SCN_NUM=s.SCN_NUM
    and a.ACTVTY_DT = to_date('03/17/2013','mm/dd/yyyy')
    and s.SCN_OPEN_DT = to_date('03/15/2013','mm/dd/yyyy')
    and a.SRC_SYS_DESC = 'FACET');
    create table asgnd_agent_bak as (Select * from ASGND_AGENT a, SCN s
    *
    ERROR at line 1:
    ORA-00957: duplicate column name
    

    This is because your definition includes duplicate column names: I can see them.
    Your selection includes a.CNTCT_KEY, s.CNTCT_KEY, a.SCN_NUM and s.SCN_NUM.
    You need to show the columns you want, specicfying one only one of each pair.

    Concerning
    Jonathan Lewis

  • : SQL error create temporary table

    I do a small Forum of discussion for a customer.

    So having a problem below:

    Internal error.
    tNG_fields.getFakeRecordset:
    SQL error: error creating temporary table:
    Você tem um erro syntax no seu proximo a SQL '-TEXT messaging, cidade idade foto senha, TEXT TEXT TEXT TEXT of COD)' na linha 1
    SQL:
    CREATE TEMPORARY TABLE KT_fakeRS_20090928 (nome cidade of TEXT, text, TEXT, TEXT, TEXT, TEXT, TEXT of cod senha foto idade) (FIELDS_FAKE_RS_ERROR)
    • tNG_insert.executeTransaction
      • STARTER. Trigger_Default_Starter
    • tNG_insert.getRecordset
    • tNG_insert.getLocalRecordset
    • tNG_insert.getFakeRecordset*


    Please help me solve this problem.



    Can´t you have the hyphen (-) in the column names and that s why MySQL chokes on the column 'email '. That said, please rename this column 'e-mail' or 'email' (underscores are allowed)

    See you soon,.

    Günter

  • error in creating tables

    When I try to create a table in Oracle Application Express 4.0, I get this error

    Failed to create table "Assessment.1".
    Failed creating Table ORA-01658: cannot create as INITIAL segment in tablespace FLOW_2195 ORA-00942: table or view does not ORA-06510: PL/SQL: unhandled by user-defined exception

    I mention that in the previous version of the SUMMIT I have dd I don't have this problem.
    Please, what can I do?
    Thank you

    It seems that the storage space on which the table was created, cannot allocate space to a new table.
    You DBA should be able to fix it.

  • Create table form another table in different schema throwing error when dynamic sql

    Hello

    With the help of 11.2.0.3 and was following the issue.

    To create a table in a schema (b) using data from another schema (b)

    If independent run in sqlplus create works OK but same sql in dynamic sql block saying the table or view does not exist.

    SQL even in dynamic sql

    {code}

    v_sql: =' create table new_table in select * from schemab.table_name where...';

    run immediately (v_sql);

    [code}

    Other tables work fine.

    Any ideas - don't want to grant all the schemaa.table schema b if can avoid.

    Thank you

    You run the immediate execution in an anonymous block or a stored procedure?  If it is a stored procedure, then as others have said, the owner of the procedure must have select privileges on granted directly schemab.table_name.

    Another possibility, which would be the case for a stored procedure, or an anonymous block is that your code is something like:

    v_sql: =' create table new_table in select * from schemab.table_name where...';

    immediately run v_sql;

    Select count (*) in the l_count new_table;

    who will fail at compile time because new_table does not exist.

    When you create objects using dynamic sqly you dynamic sql user to reference them in the block of code.

    John

  • syntax error in create table

    Could someone help me please as to what's wrong in the creation under the structure of the table:

    create table test (select * from schema.tablename where 1 = 2)
    TABLESPACE PCR_ARCHIVE_DATA_04
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE)
    64K INITIALS
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    DEFAULT USER_TABLES
    )
    NOLOGGING
    COMPRESS
    NOCACHE
    PARALLEL (INSTANCES OF 6 1 DEGREE)
    MONITORING;

    SELECT AS comes after the physical attributes, such as

    create table test TABLESPACE PCR_ARCHIVE_DATA_04
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    )
    NOLOGGING
    COMPRESS
    NOCACHE
    PARALLEL ( DEGREE 6 INSTANCES 1 )
    MONITORING
    as (select * from schema.tablename where 1=2)
    

    Best regards

    Maxim

  • Need help - multilevel nested table - create table problem

    Hello

    My version of oracle db: 11g

    I just created a table that contains a nested multi-level table.

    Here is the code:

    create or replace type sdef_t_nt_empNames21 is table of the varchar2 (50);

    create or replace type sdef_ot_SCmarks21 as an object (number of physics, chemistry number, number of Biology);

    create or replace type sdef_t_nt_SCmarks21 is table of the sdef_ot_SCmarks21;

    create or replace type sdef_ot_allsubmarks21 as an object (eid, eng, math, sc sdef_t_nt_SCmarks21 number number);

    create or replace type sdef_t_nt_dep_m_info21 is table of the sdef_ot_allsubmarks21;

    create the table nt_dep21

    (number of fact

    , dname varchar2 (50)

    c_sdef_t_nt_empNames21 sdef_t_nt_empNames21

    c_sdef_t_nt_dep_m_info21 sdef_t_nt_dep_m_info21)

    nested as NT_c_sdef_t_nt_empNames21 table c_sdef_t_nt_empNames21 store

    store table nested like NT_c_sdef_t_nt_dep_m_info21; c_sdef_t_nt_dep_m_info21  <-I know that the problem is here.

    TRACE OF THE ERROR:

    Error at startup on line: 13 in the command.

    create the table nt_dep21

    (number of fact

    , dname varchar2 (50)

    c_sdef_t_nt_empNames21 sdef_t_nt_empNames21

    c_sdef_t_nt_dep_m_info21 sdef_t_nt_dep_m_info21)

    nested as NT_c_sdef_t_nt_empNames21 table c_sdef_t_nt_empNames21 store

    Nested table c_sdef_t_nt_dep_m_info21 (sdef_t_nt_SCmarks21) store as NT_c_sdef_t_nt_dep_m_info21

    Error report-

    SQL error: ORA-00904: invalid identifier

    00904, 00000 - '% s: invalid identifier '.

    * Cause:

    * Action:

    PS: I'm just solve a problem given to me by some1, is not a practical implementation, I'm just trying to get through

    I'm sure that some1 could help me with this, I have searched a lot of this problem but could not find my answer, please help me.

    Concerning

    Rahul

    SQL > create table (nt_dep21)
    Did number 2,
    3 dname varchar2 (50).
    4 c_sdef_t_nt_empNames21 sdef_t_nt_empNames21,
    c_sdef_t_nt_dep_m_info21 5 sdef_t_nt_dep_m_info21
    6                       )
    store c_sdef_t_nt_empNames21 7 nested as NT_c_sdef_t_nt_empNames21 table
    store c_sdef_t_nt_dep_m_info21 8 table nested as NT_c_sdef_t_nt_dep_m_info21)
    9 table nested as NT_sc sc store
    10                                                                               )
    11.

    Table created.

    SQL >

    SY.

  • DB tools create Table

    Hello.. I got this error when trying to create a database

    Conn Execute.vi-> DB tools create Table.vi--> CreateDatabase.viException occurred in the Microsoft Office Access database engine: syntax error in the statement CREATE TABLE in Conn Execute.vi-> DB tools create Table.vi-> CreateDatabase.vi

    I can't open your vi, but in many cases, the syntax error is caused by the invalid table or field names (reserved words, spaces or invalid characters). In this case, you can change the names; Alternatively, you can frame them square brackets: [my_column_name].

    If you open the DB create Table.vi-> Conn Execute.vi block diagram, you can enter the full text of the SQL query and post, so we can take a look.

  • 'Create table' is not possible with Jet.OLEDB.4.0

    I use LabVIEW Toolkit DB to access databases.

    I opened an access database of microsoft with the connection string "Provider = Microsoft.Jet.OLEDB.4.0; Data Source = C:\test3.accdb".

    When I exeucted

    create table leq_octave_5min (recorded_time DATETIME CONSTRAINT PRIMARY KEY pk1,
    Leq5 LEQ5 FLOAT NOT NULL CONSTRAINT,
    Min MIN FLOAT NOT NULL CONSTRAINT,
    Max MAX FLOAT NOT NULL CONSTRAINT,
    L05 FLOAT L05 CONSTRAINT NOT NULL,.
    L10 FLOAT L10 CONSTRAINT NOT NULL,.
    L50 FLOAT L50 CONSTRAINT NOT NULL,.
    L.90 L.90 FLOAT CONSTRAINT NOT NULL,
    L95 FLOAT L95 CONSTRAINT NOT NULL,.
    Us01 us01 FLOAT NOT NULL CONSTRAINT,
    EN02 EN02 FLOAT NOT NULL CONSTRAINT,
    Fr03 FR03 FLOAT NOT NULL CONSTRAINT,
    Fr04 fr04 FLOAT NOT NULL CONSTRAINT,
    Fr05 fr05 FLOAT NOT NULL CONSTRAINT,
    Fr06 fr06 FLOAT NOT NULL CONSTRAINT,
    Fr07 fr07 FLOAT NOT NULL CONSTRAINT,
    Fr08 FR08 FLOAT NOT NULL CONSTRAINT,
    Fr09 FR09 FLOAT NOT NULL CONSTRAINT,
    Fr10 fr10 FLOAT NOT NULL CONSTRAINT,
    Fr11 FR11 FLOAT NOT NULL CONSTRAINT,
    Fr12 FR12 FLOAT NOT NULL CONSTRAINT,
    Fr13 FR13 FLOAT NOT NULL CONSTRAINT,
    Fr14 FR14 FLOAT NOT NULL CONSTRAINT,
    Fr15 FR15 FLOAT NOT NULL CONSTRAINT,
    Fr16 FR16 FLOAT NOT NULL CONSTRAINT,
    Fr17 FR17 FLOAT NOT NULL CONSTRAINT,
    Fr18 FR18 FLOAT NOT NULL CONSTRAINT,
    Fr19 FR19 FLOAT NOT NULL CONSTRAINT,
    Fr20 FR20 FLOAT NOT NULL CONSTRAINT,
    Fr21 FR21 FLOAT NOT NULL CONSTRAINT,
    Fr22 FR22 FLOAT NOT NULL CONSTRAINT,
    E23, e23 FLOAT NOT NULL CONSTRAINT,
    Fr24 FR24 FLOAT NOT NULL CONSTRAINT,
    Fr25 fr25 FLOAT NOT NULL CONSTRAINT,
    Fr26 FR26 FLOAT NOT NULL CONSTRAINT,
    Fr27 fr27 FLOAT NOT NULL CONSTRAINT,
    Fr28 FR28 FLOAT NOT NULL CONSTRAINT,
    Fr29 FR29 FLOAT NOT NULL CONSTRAINT,
    Fr30 FR30 FLOAT NOT NULL CONSTRAINT,
    status TEXT (2) st NOT NULL CONSTRAINT)

    I got an error saying "error ADO: 0x80040E14.

    I have not had any problems with an ODBC driver.

    Why make such a mistake with Jet OLE DB?

    A web page was told that MIN and MAX are reserved words of Jet 4.0.

    So I defined with [and].

    Then, after it works.

  • Create table ORA-01031: insufficient privileges

    SQL > indicate user USER is 'TEST_RPT.

    SQL > CREATE TABLE mytest (id NUMBER); - it does not work

    CREATE TABLE mytest (id NUMBER)

    * ERROR at line 1: ORA-01031: insufficient privileges

    SQL > CREATE TABLE TEST_RPT.mytest (id NUMBER).

    Table created. SQL >


    SQL > select * from session_privs;

    PRIVILEGE

    ----------------------------------------

    ANY PROCEDURE DEBUG

    DEBUGGING SESSION CONNECT

    CREATE INDEXTYPE

    OPERATOR TO CREATE

    CREATE THE TYPE

    CREATE THE TRIGGER

    CREATE PROCEDURE

    CREATE SEQUENCES

    CREATE VIEW

    CREATE SYNONYM

    CREATE THE CLUSTER

    CREATE TABLE

    UNLIMITED TABLESPACE

    ALTER SESSION STATEMENT

    CREATE SESSION

    Try this:

    SELECT USER, SYS_CONTEXT('USERENV','CURRENT_SCHEMA') FROM DUAL;

    The two identical values? CURRENT_SCHEMA is what will determine the owner of the table you create, if you do not specify an owner.

    This can be changed by

    ALTER SESSION SET CURRENT_SCHEMA = whatever_you_want_it_to_be;

  • COPY OF DB1 to DB2 CREATE TABLE...

    If I run script (3) in the database of and remove (-), it will run.  But when I turn into a COPY OF DB1 to DB2 (my example uses DB1 to DB1 for you) and try and run - it returns immediately and does not create the table in the database TO.  And I do not get an error.

    I'm looking for 40 + combos 3 different characters but the characters are not separated in the table, it's just all crushed together.  I try so to analyze the data, and then look 3 character codes.  (I know it's a ugly script).

    Are there limits using a script to COPY OF DB1 to DB2?  For me, it was mentioned that there are too many characters in my select statement.  If this is the case, anyone have any suggestions?


    Thank you in advance... Shelli

    --(1) CREATE TABLE RPO_EX

    create table rpo_ex)

    EMP varchar2 (25).

    option_group varchar2 (100));

    --(2) INSERT SOME SAMPLE DATA INTO THE RPO_EX TABLE

    insert into rpo_ex values ("Gary", "AL0AQ9ATHAT8AXJAYGCF5CJ2DCPDR5EF7FE2FE9FHOF46GGCGW6G7Q");

    insert into rpo_ex values ("Gary", "H2GIO3I15J55KA1KR1LALLTGMAHMYANP5NT7Q5URA6R6WR9NSLMTUJ");

    insert into rpo_ex values ("Gary", "UDDUE1UPFUQAU2KU80VH9VK3VRGVRHVRJVRKVRLVRMVRNVRRVT7V8D");

    insert into rpo_ex values ("Gary", "WMFXFE1SD1SZ4AA5A76SU7SU8GR9GR9L3");

    insert into rpo_ex values ('Craig', 'AL0AQ9ATHAT8AXJAYGCJ2DCPDR5EF7FE2FE9FHOGANGGCGM3HHMIO3');

    insert into rpo_ex values ('Craig', 'I15J55KR1LALLCVMAHMYANP5NT7Q5URA6R6WR9NSLMS08TUJUDDUE1');

    insert into rpo_ex values ('Craig', 'UPFUQAU2KU80VH9VRGVRHVRJVRKVRLVRMVRNVRRVT7V8DWMFYM81SA');

    insert into rpo_ex values ('Craig', '1SZ4C15A76SA7SA8GM9GM9L3');

    insert into rpo_ex values ('Fred', '1SZ4AA5A76SA7SA8GM9GM9L3');

    insert into rpo_ex values ('Fred', 'AL0AQ9ATHAT8AXJAYGCJ2DCPDR5EF7FE2FE9FHOGBAGGCGM3H2GIO3');

    insert into rpo_ex values ('Fred', 'I15JE5KR1KTILALLCVMAHMYANP5NT7Q5WRA3R6WR9NSLMTUJUDDUE1');

    insert into rpo_ex values ('Fred', 'UPFUQAU2KU80VH9VK3VRGVRHVRJVRKVRLVRMVRNVRRVT7V8DWMF1SA');

    insert into rpo_ex values ('Frank', 'AL0AQ9ATHAT8AXJAYGCF5CJ2DCPDR5EF7FE2FHOGGCGW6G1MH2GIO3');

    insert into rpo_ex values ('Frank', 'I15J55KR1LALLTGMAHMYANC7NP5NU5RA6R1UR6WR9NSLMTUJUDDUE1');

    insert into rpo_ex values ('Frank', 'UPFUQAU2KU80VH9VK3VRGVRHVRJVRKVRLVRMVRNVRRVT7V8DWMFXFE');

    insert into rpo_ex values ('Frank', 'YF51SC1SZ4AA5A76SA7SA8GM9GM9L3');

    insert into rpo_ex values ("Jim", "4C15A76SA7SA8GM9GM9L3");

    insert into rpo_ex values ("Jim", "AL0AQ9ATHAT8AXJAYGCJ2DCPDR5EF7FE2FE9FHOGGCGM3GTRHHMIO3");

    insert into rpo_ex values ("Jim", "I15JE5KR1KTILALLCVMAHMYANP5NT7Q5WRA3R6WR9NSLMTUJUDDUE1");

    insert into rpo_ex values ("Jim", "UPFUQAU2KU80VH9VRGVRHVRJVRKVRLVRMVRNVRRVT7V8DWMF1SA1SZ");

    sqlplus usr/pw@db1 @ 'copy_rpo_ex.sql' usr/pw@db1 usr/pw@db1


    --(3) COPY OF THE TABLE CREATION SCRIPT

    whenever sqlerror exit rollback sql.sqlcode

    SET ARRAYSIZE 5000

    SET COPYCOMMIT 20

    set linesize 4000

    TERMOUT OFF SET

    COPY OF usr/pw@db1 to usr_pw_db1-

    CREATE using rpo_ex2-

    SELECT * FROM (-)

    WITH v1 as (-)

    Select emp, option_group, | " -

    substr (option_group, 1, 3)-

    ||','|| substr (option_group, 4, 3)-

    ||','|| substr (option_group, 7, 3)-

    ||','|| substr (option_group, 10, 3)-

    ||','|| substr (option_group, 13, 3)-

    ||','|| substr (option_group, 16, 3)-

    ||','|| substr (option_group, 19, 3)-

    ||','|| substr (option_group, 22, 3)-

    ||','|| substr (option_group, 25, 3)-

    ||','|| substr (option_group, 28, 3)-

    ||','|| substr (option_group, 31, 3)-

    ||','|| substr (option_group, 34, 3)-

    ||','|| substr (option_group, 37, 3)-

    ||','|| substr (option_group, 40: 3)-

    ||','|| substr (option_group, 43, 3)-

    ||','|| substr (option_group, 46, 3)-

    ||','|| substr (option_group, 49: 3)-

    ||','|| substr (option_group, 52, 3) | ',' RPO-

    of rpo_ex).

    Select emp, case.

    When (rpo like ('% UFF %') and rpo like ('% UP9% ')) then 'UFF + UP9 -.

    When the rpo like ('% ADG %') then 'ADG ' -.

    When rpo love ("IO3%") then "IO3 -.

    When the rpo as ("IO4%") then "IO4 -.

    When the rpo as ('IO5% ") then 'IO5 -.

    When the rpo as ("IO6% %") then "IO6" -.

    When rpo like ('% ROMANO %') then 'ROMAN '.

    When the rpo like ('% U0F %') then 'U0F '.

    When the rpo like ('% U0H %') then 'U0H '.

    When the rpo like ('% U1C %') then 'U1C;

    When the rpo as ('UCH %") then"UCH -.

    When the rpo as ('UCM % %') then 'UCM -.

    When the rpo like ('% UF7% ') then 'UF7;

    When the rpo as ("UFF %") then "UFF;

    When the rpo like ('% UFU %') then 'UFU -.

    When the rpo like ('% UG4% ') then 'UG4;

    When the rpo like ('% UGU %') then 'UGU;

    When the rpo like ('% UGX %') then 'UGX;

    When the rpo like ('% YFU %') then 'YFU;

    When the rpo like ('% UH7% ') then 'UH7;

    When the rpo like ('% UHQ %') then 'UHQ -.

    When the rpo as ("UHU %") then 'UHU '.

    When the rpo like ('% UHV %') then 'UHV;

    When the rpo like ('% UHW %') then 'UHW -.

    When rpo love ('UI2% ") then"UI2. "

    When rpo like ('% UI4% ') then 'UI4;

    When the rpo like ('% UI6% ') then 'UI6 '.

    When the rpo as ("UI7%") then "UI7;

    When the rpo as ("UI8%") then "UI8;

    When the rpo like ('% UL5% ') then 'UL5;

    When the rpo like ('% UM7% ') then 'UM7;

    When the rpo as ("UMT %") then "UMT" -.

    When the rpo as ("UNM %") then "UNM;

    When the rpo like ('% UPX %") then"UPX"

    When the rpo like ('% US8% ') then 'US8 -.

    When the rpo like ('% Mikiduta %') then 'KARIM ' -.

    When the rpo like ('% UUJ %') then 'UUJ;

    When the rpo as ('UUN %") then"UUN -.

    When the rpo like ('% % PERFORMED') then 'PERFORMED '.

    When the rpo like ('% UYE %') then 'UYE.

    When the rpo as ("UYS %") then "UYS' end - RPO

    v1 -.

    where the rpo like ('%, ADG, %').

    or the rpo like ('%, IO3, %')-

    or the rpo like ('%, IO4, %')-

    or the rpo like ('%, IO5, %')-

    or the rpo like ('%, IO6, %')-

    or the rpo like ('%, ROE, %')-

    or rpo like ('% U0F %')-

    or rpo like ('% U0H %')-

    or the rpo like ('%, U1C, %')-

    or the rpo like ('%, UCH, %')-

    or the rpo like ('%, UCM, %')-

    or the rpo like ('%, UF7, %')-

    or the rpo like ('%, UFF, %')-

    or the rpo like ('%, UFU, %')-

    or the rpo like ('%, UG4, %')-

    or the rpo like ('%, UGU, %')-

    or the rpo like ('%, UGX, %')-

    or the rpo like ('%, YFU, %')-

    or rpo like ('% UH7, %')-

    or the rpo like ('%, UHQ, %')-

    or the rpo like ('%, UHU, %')-

    or the rpo like ('%, UHV, %')-

    or the rpo like ('%, UHW, %')-

    or the rpo like ('%, UI2, %')-

    or the rpo like ('%, UI4, %')-

    or the rpo like ('% UI6% ')-

    or the rpo like ('%, UI7, %')-

    or the rpo like ('%, UI8, %')-

    or the rpo like ('%, UL5, %')-

    or the rpo like ('%, UM7, %')-

    or the rpo like ('%, UMT, %')-

    or the rpo like ('%, UNM, %')-

    or the rpo like ('%, UPX, %')-

    or the rpo like ('%, US8, %')-

    or the rpo like ('%, KARIM, %')-

    or the rpo like ('%, UUJ, %')-

    or the rpo like ('%, UUN, %')-

    or rpo like ('% PERFORMED, %')-

    or the rpo like ('%, UYE, %')-

    or the rpo like ('%, UYS, %')-

    or the rpo like ('%, ROE, %'))

    /

    output

    If you google you will see many examples, here is one:

    Double on the database table. Laurent Schneider

  • How to get data in the procedure after CREATE TABLE table1 AS SELECT * from table2

    Hello

    can any body tell me how to get the data in the new table created in the procedure. because it gives following error.

    • Error (47,21): PL/SQL: ORA-00942: table or view does not exist

    tableName: = "BCKUP_" | TO_CHAR (sysdate, 'ddmmrrrr');

    tableDDL: = 'CREATE TABLE' | tableName. "AS SELECT * FROM Table1 where to_char(MSG_IN_TIME,''dd-mon-rrrr'') < sysdate - ' | daysNumber;

    EXECUTE IMMEDIATE backUpDDL;

    COMMIT;

    DELETE FROM Table1;

    How to select the data in the newly created table. as...

    Select * from ". tableName;

    Do not choose anything to get the number...

    Just after backupDDL EXECUTE IMMEDIATE, simply refers to SQL % ROWCOUNT - who will be the number of lines.

    Oh and DDL engages automatically, your commitment is redundant.

Maybe you are looking for

  • 4th gen Apple TVRemoteWon can't hold a charge

    Recently my ATV 4 distance began to unload completely in just a few days, rather than the promised several weeks and as he recently are someone else has this problem? I called Apple support and they sent me a new replacement. It works very well in al

  • Unwanted features and apps with updates

    I recently updated and found changes to the Photos that I hate and seem to have changed permanently a program I liked as it was. Is there a way to disable this option? I don't want to auto-scan to group faces or places. The only faces that he gathere

  • Stops working right click magic mouse

    In the last two weeks, the secondary click takes a while to start working. It is always checked as enabled in system preferences.  If I uncheck and then save, it works.  But I don't know if that's really fix something, or if the problem resolves itse

  • Toshiba 40L5441DG - Led shows red and green light

    My Toshiba 40L5441DG were now waiting for 72hrs, and the Led is showing red and green lights.I just bought 3 weeks ago... I need help pls.

  • Auto boot PXI DMM

    I use NI PXI DMM 4065/4071/4072 with MXI controller to measure the current continuous on my device. I am very sure that PXI DMM are not initialized because the device could not be activated at PC startup unless I opened the DMM front panel and cofigu