Data refreash in sql level

Dear all,
can anybudy know how can be refresh Producation server to devploment server in database level
with warm regard
pritpal

Hi Pritpal,
if I understand you correctly, you want to make a so called 'homogeneous system copy'. For more information on that subject see note:
Note 151603 - Copying an SQL Server database
Regards,
Sven

Similar Messages

  • Use evdre to query data from a SQL View

    Hi all
    I believe that it is possible to use evdre to query data from a SQL View. If this is possible then how does one go about setting it up in the evdre options (assuming that the view has already been created)?
    Regards,
    Byron

    Byron,  perhaps this is no longer supported, it might be worth opening up a case at service.sap.com on this.  However, I did find the following on Page 11 of the "Usages and Considerations of EVDRE" pdf file.  This doc is imbedded in the helpfile for BPC 7 SP5 (which was released in August of 2009, well after note 1315011 was last updated.
    It looks like you are limited to one custom view per application, since you have to name the view in a parameter at the APPLICATION level.  Go into BPC Administration, login to the application related to the custom view, choose "Set Application Parameters" and enter the name of the view to the Application Parameter called "EVDRE_QUERYVIEWNAME"  If it is not listed, go ahead and create it at the bottom of the Application parameter screen.
    Also:  I interpreted the following info from Page 10 of the same doc:
    In your EVDRE, set the following options:
    QueryEngine: MANUAL
    QueryType:  enter either NEXJ  OR TUPLE  see below:
    NEXJ  - Use two-dimensional queries using the nonemptycrossjoin function
    TUPLE  - Use two-dimensional queries using tuples"
    And I'm assuming you'd enter a Y for the following two parameters:
    QueryViewName
    "..to enforce the query engine to use a used-defined SQL view of the fact tables, when trying to read the values using SQL queries. This option is typically used in conjunction with the SQLOnly option (see below). "
    Option SQLOnly
    "..to enforce the query engine to only execute SQL queries, when reading data. This can be achieved using this option."

  • ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone

    Hi
    I'm trying to config my base_domain for SOA11g but i'm getting the following error when connecting to my Oracle XE DB to configure SOA,
    please help thanks
    Software installed
    OS: Windows 7 64bit
    DB: Oracle XE 10g
    Oracle SOA 11.1.1.4.0
    Oracle RCU 11.1.1.4.0
    Oracle wls1034_generic
    Error Detials
    Component Schema=SOA Infrastructure
    Driver=oracle.jdbc.xa.client.OracleXADataSource
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_SOAINFRA
    Password=********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='SOAINFRA' and version='11.1.1.4.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=User Messaging Service
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_ORASDPM
    Password=********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='ORASDPM' and version='11.1.1.2.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=OWSM MDS Schema
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_MDS
    Password=********
    SQL Test=select 1 from schema_version_registry where
                        owner=(select user from dual) and mr_type='MDS' and
                        version='11.1.1.4.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=SOA MDS Schema
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
    User=DEV_MDS
    Password=********
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='MDS' and version='11.1.1.4.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region  not found
    CFGFWK-60850:  Test Failed!
    Component Schema=OSB JMS Reporting Provider
    Driver=org.apache.derby.jdbc.ClientDriver
    URL=jdbc:derby://127.0.0.1:1521/XE;create=true;ServerName=127.0.0.1;databaseName=XE
    User=DEV_SOAINFRA
    Password=********
    SQL Test=SELECT 1 FROM SYS.SYSTABLES
    Insufficient data while reading from the network - expected a minimum of 6 bytes and received only 0 bytes.  The connection has been terminated.
    CFGFWK-60850:  Test Failed!

    Hi,
    Please check the timezone set in your server where Weblogic is installed. Also ensure the timezone on which your weblogic is running, the same is present in in database by querying V$TIMEZONE_NAMES table. If it is not present then please change the timezone of the server. then try to execute the steps what you are doing, it will not throw any error.
    if this helps please mark.
    Thanks,
    Kishore

  • ORA-00604: error occurred at recursive SQL level 1

    Hi,
    i have a view as source (DB2)
    Target table in Oracle with the same structure
    when i view data from the view all the records are listed.
    after mapping the source and target source gets fail while debuging (test data)
    and also while deploying the mapping i get the following error.
    Anyone knows about the following errors
    ACBLODS_MAP
    Create
    Warning
    ORA-06550: line 0, column 0:
    ORA-04052: error occurred when looking up remote object [email protected]@DB2_KAPIL_LOCATION
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28500: connection from ORACLE to a non-Oracle system returned this
    please someone help me to solve this
    thanks in advance
    regards
    raja

    I had a simular problem with progress. If the progress table had to many columns
    OWB was failing. The problem was the ODBC driver used to make a connection to PROGRESS.

  • ORA-00604: error occurred at recursive SQL level

    I only have 2 users and approx 9 schemas.
    Why is this complaining about maximum cursors??
    Error message:
    ORA-00604: error occurred at recursive SQL level
    ORA-01000: maximum open cursors exceeded
    ORA-0064 error occurred at recursive SQL level
    Cause:
    An error occurred at recursive SQl level
    (a statement applying to internal dictionary tables)
    >>
    Created 2 users
    1) boundaries (User)
    has a couple of schema.
    National, provincial, district, village
    I have set-up the Primary & Foreign keys.
    Only 1 table has 1 row of data
    2) Projects (User)
    Set up one table - Program
    Program has a Primary Key.
    Foreign key is linked to (boundaries) national PK
    The problem occured when I entered data into boundaries.national

    Clive_S wrote:
    OS: Windows Server 2008 standard - 64 bit.
    Select * from v$version
    Oracle Database 11g release 11.1.0.7.0 - 64 bit
    PL/SQL release 11.1.0.7.0 - production core 11.1.0.7.0
    Production TNS for 64-bit windows: 11.1.0.7.0
    Production NLSRTL for 64-bit windows: 11.1.0.7.0
    I am trying to replicate in Oracle what I would do in SQL Server. There's your first mistake. There are too many differences. My first programming language was COBOL, but I don't write other languages as if they were COBOL.
    I cannot attach an image of the users & tablespace, to illustrate.Another reason to work in sqlplus.
    >
    I created 2 User = Boundaries and Project
    I created several schemas (tables)No, you created 2 schemas. One user = one schema = one user.
    A schema is not a table and a table is not a schema. A schema is a collection of objects, which can include multiple tables but only those owned by one username.
    >
    Boundaries (user)
    Tables:
    Country
    Province
    District
    Village
    Projects (user)
    Tables:
    Program
    Project.Program has a FK = Country that is linked to Boundaries.Country
    I need to create several scemas (databases):Another difference. a schema is not a database, though the sql server concept of a database is somewhat analogous to an oracle schema.
    Boundaries, Project, Assets.
    There are foreign keys linking the various schemas.FKs link tables not schemas.
    Edited by: EdStevens on Feb 26, 2010 10:30 AM

  • ORA-00604: error occurred at recursive SQL level 1 (10G)

    I was adding a default schema setting to a user id, saved the role and got the above error. ID hidden. All the roles below had default already added but had not caused error and some had been in place since Oracle9i
    SQL> REVOKE "ROL_HOBSONS_SCHEMA_VIEWS" FROM <USER ID>
    Revoke complete.
    SQL> GRANT "ROL_HOBSONS_SCHEMA_VIEWS" TO <USER ID>
    Grant complete.
    SQL> ALTER USER <USER ID>
    DEFAULT ROLE "DBA", "ROL_IRIS_CONVERSION", "ROL_UKFRSRPT_VIEW", "ROL_UKFRS_TRANS", "ROL_UKFRS_VIEW", "ROL_UKHRS_RPT", "ROL_UKSISRPT_FAMSBR", "ROL_UKFRS_RPT2", "ROL_CM_IT_CPE", "ROL_UKSISRPT_ VIEW", "CONNECT", "ROL_HOBSONS_SCHEMA_VIEWS", "RESOURCE", "ROL_NEW_UKSIS_VIEWS_IN_TEST", "ROL_HOBSONS_SCHEMA_VIEWS"
    ALTER USER <USER ID>
    DEFAULT ROLE "DBA", "ROL_IRIS_CONVERSION", "ROL_UKFRSRPT_VIEW", "ROL_UKFRS_TRANS", "ROL_UKFRS_VIEW", "ROL_UKHRS_RPT", "ROL_UKSISRPT_FAMSBR", "ROL_UKFRS_RPT2", "ROL_CM_IT_CPE", "ROL_UKSISRPT_ VIEW", "CONNECT", "ROL_HOBSONS_SCHEMA_VIEWS", "RESOURCE", "ROL_NEW_UKSIS_VIEWS_IN_TEST", "ROL_HOBSONS_SCHEMA_VIEWS"
    Error at line 4
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00001: unique constraint (SYS.I_DEFROLE1) violated
    The original change was made by a dba using current Oracle OEM. I accessed using TOAD10 to update another user with a default check mark. Upon trying to save, I got the above error. The updated access remained even though it gave an error and the user reported being able to get to her data. However, any changes to the role with adding or removing admin or default will display the error.
    Any ideas?
    thanks John

    Hi,
    Oracle makes an entry in SYS.DEFROLE$ table for a pair of user and default role.
    You are getting the error as some of the roles you are now assigning are already default roles for this user and hence UK violation.
    You can make use of *"sys.KU$_DEFROLE_LIST_VIEW"* to find already existing records. (see ex below)
    SQL> select * from sys.KU$_DEFROLE_LIST_VIEW;
       USER_ID USER_NAME                      ROLE                              ROLE_ID
            69 SRICKMAN                       DBA                                     4
            69 SRICKMAN                       ORACLE_DBA                            156Find already existing entries for your user, remove those roles from your query and try again.
    Regards,
    Ullhas

  • ORA-00604: error occurred at recursive SQL level 2

    Hello,
    I am trying to create a simple table and I am getting a ora error as below.
    SQL> create table album(name varchar2(100),image blob);
    create table album(name varchar2(100),image blob)
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-01422: exact fetch returns more than requested number of rows
    how to resolve this?Any help..
    Thanks,
    Ranz.

    Hi,
    *@Anurag Tibrewal,*
    I followed as per the order od statements you gave. Initially there was no table "ALBUM" when I executed the first 2 statements.
    3rd staement i created a table "ALBUM" and then 4th and 5th statement showed that I have a table called "ALBUM".
    Now when again I wanted to drop the table I am getting the same error.
    SQL> drop table album
    2 ;
    drop table album
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01422: exact fetch returns more than requested number of rows
    *@Jean-Valentin*
    I am not finding the trace file for today as i checked the alert log. When i searched for the the error I found the error for March 4. No ora-00604 error from today.
    As shown in ALERT LOG.
    Thu Mar 04 10:50:41 2010
    Errors in file d:\oracle\product\10.2.0\admin\raneeshtest\bdump\*raneeshtest_j000_5976.trc*:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-04030: out of process memory when trying to allocate 172 bytes (Typecheck,seg:kggfaAllocSeg)
    ORA-12012: error on auto execute of job 1
    ORA-04030: out of process memory when trying to allocate 16428 bytes (pga heap,kgh stack)
    Trace file details:
    Dump file d:\oracle\product\10.2.0\admin\raneeshtest\bdump\raneeshtest_j000_5976.trc
    Thu Mar 04 10:50:31 2010
    ORACLE V10.2.0.3.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Personal Oracle Database 10g Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Windows NT Version V6.0 Service Pack 1
    CPU : 2 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:27M/2037M, Ph+PgF:341M/4352M, VA:4M/2047M
    Instance name: raneeshtest
    Redo thread mounted by this instance: 1
    Oracle process number: 15
    Windows thread id: 5976, image: ORACLE.EXE (J000)
    *** 2010-03-04 10:50:31.224
    *** ACTION NAME:() 2010-03-04 10:50:30.276
    *** MODULE NAME:() 2010-03-04 10:50:30.195
    *** SERVICE NAME:(SYS$USERS) 2010-03-04 10:50:30.195
    *** SESSION ID:(137.401) 2010-03-04 10:50:30.195
    *********START PLSQL RUNTIME DUMP************
    ***Got internal error Exception caught in pfrrun() while running PLSQL***
    ***Got ORA-4030 while running PLSQL***
    PACKAGE SYSMAN.MGMT_ADMIN_DATA:
    library unit=3416af50 line=128 opcode=117 static link=0 scope=0
    FP=3ca31374 PC=30f42000 Page=0 AP=3ca47b2c ST=3ca32778
    DL0=3ca46564 GF=3ca465b0 DL1=3ca46584 DPF=3ca465a8 DS=30f421e4
    DON library unit variable list instantiation
    0 3416af50 3ca465b0 3ca2005c
    1
    2
    3
    4
    5
    6
    7
    scope frame
    2 0
    1 3ca31374
    package variable address size
    0 3ca46698 16
    1 3ca466a8 16
    2 3ca466b8 16
    3 3ca466c8 16
    4 3ca466d8 16
    5 3ca466e8 20
    6 3ca466fc 16
    7 3ca4670c 20
    8 3ca46720 16
    9 3ca46730 4
    10 3ca46734 4
    11 3ca46738 4
    12 3ca4673c 4
    13 3ca46740 4
    14 3ca46744 4
    15 3ca46748 4
    16 3ca4674c 4
    17 3ca46750 4
    18 3ca46754 4
    19 3ca46758 4
    20 3ca4675c 4
    21 3ca46760 20
    22 3ca46774 20
    23 3ca46788 20
    24 3ca4679c 20
    25 3ca467b0 4
    26 3ca467b4 4
    27 3ca467b8 4
    28 3ca467bc 4
    29 3ca467c0 16
    30 3ca467d0 16
    31 3ca467e0 8
    32 3ca467e8 39
    33 3ca46810 39
    34 3ca46838 521
    35 3ca46a44 521
    36 3ca46c50 140
    37 3ca46cdc 140
    38 3ca46d68 30
    39 3ca46d88 30
    40 3ca46da8 30
    41 3ca46dc8 30
    42 3ca46de8 30
    43 3ca46e08 30
    44 3ca46e28 30
    45 3ca46e48 30
    46 3ca46e68 30
    47 3ca46e88 30
    48 3ca46ea8 30
    49 3ca46ec8 30
    50 3ca46ee8 140
    51 3ca46f74 140
    52 3ca47000 30
    53 3ca47020 30
    54 3ca47040 30
    55 3ca47060 30
    56 3ca47080 39
    57 3ca470a8 39
    version=43123476 instantiation size=2920
    line pcode offset
    1 2
    4 620
    5 632
    6 632
    7 638
    8 644
    14 650
    29 810
    44 970
    47 992
    48 1000
    49 1008
    50 1016
    51 1024
    52 1032
    53 1040
    54 1048
    55 1056
    56 1064
    57 1072
    60 1080
    128 1814
    196 2548
    197 2554
    198 2560
    199 2566
    205 2572
    206 2578
    438 2584
    1 2586
    ***********END PLSQL RUNTIME DUMP************
    *** 2010-03-04 10:50:40.690
    ORA-12012: error on auto execute of job 1
    ORA-04030: out of process memory when trying to allocate 16428 bytes (pga heap,kgh stack)
    *** 2010-03-04 10:50:41.206
    ORA-00604: error occurred at recursive SQL level 1
    ORA-04030: out of process memory when trying to allocate 172 bytes (Typecheck,seg:kggfaAllocSeg)
    ORA-12012: error on auto execute of job 1
    ORA-04030: out of process memory when trying to allocate 16428 bytes (pga heap,kgh stack)
    SQL> select * from dual;
    D
    X
    SQL>
    This is the output. Its returning corredclty. Now what is the problem? Pls help me.

  • ORA-00604:error occurred at recursive SQL level 1ORA-01003:no stmnt parsed

    Following PL/SQL block works fine when executed as SQL statement but throws
    2147217900:ORA-00604: error occurred at recursive SQL level 1ORA-01003: no statement parsed
    error, when called from application (Visual Basic 6.0).
    Procedure xyz(pStartDt IN VARCHAR2,pEndDt IN VARCHAR2,pErrorDesc OUT VARCHAR2, pReportData OUT SYS_REFCURSOR) IS
    Begin
    Open pReportData For
    WITH Dataset AS
    (SELECT SUBSTR(forename,1,1) FName, trim(surname) SurName, trim(NVL(address_1, address_2)) Addr,
    DECODE(UPPER(hacc_num),'999999999',NULL,'N/A', NULL,'NA', NULL, 'NON GIVEN', NULL, 'NOT GIVEN', NULL, 'UNKNOWN', NULL,'NONE GIVEN', NULL,hacc_num) HaccNum,
            TRUNC(receipt_date) RcptDate,
            UPPER(SUBSTR(forename,1,1)||trim(surname)||trim(NVL(address_1, address_2))) NameAddr,
            casenum, customer_title, forename, address_1, address_2, postcode, comp_date                        
            FROM bprit_act_current
            WHERE proc_code = 'CF2'
            AND receipt_date BETWEEN ADD_MONTHS(TO_DATE(p_dtEnd,'dd/mm/yyyy'), -3)+1
            AND TO_DATE(p_dtEnd,'dd/mm/yyyy')
            AND ((ForeName IS NOT NULL AND SurName IS NOT NULL AND NVL(address_1, address_2) IS NOT NULL)
            OR hacc_num IS NOT NULL)),
    RequiredData AS (SELECT *
                     FROM Dataset
                     WHERE RcptDate BETWEEN TO_DATE(p_dtStart,'dd/mm/yyyy') AND TO_DATE(p_dtEnd,'dd/mm/yyyy')),
    DuplicateData AS (SELECT a.nameaddr, NULL haccnum, COUNT(a.Addr) Cnt
                      FROM Dataset a, RequiredData b
                      WHERE (a.NameAddr = b.NameAddr) 
                      GROUP BY a.nameaddr
                      HAVING COUNT(1) >1
                      UNION ALL
                      SELECT NULL nameaddr, a.haccnum, COUNT(1) Cnt
                      FROM Dataset a, RequiredData b
                      WHERE (a.haccnum = b.haccnum) 
                      GROUP BY a.haccnum
                      HAVING COUNT(1) >1)
    SELECT DISTINCT a.casenum "Case No.", a.customer_TITLE "Title", a.FORENAME "Forename", a.SURNAME "Surname", a.HACCNUM "Holding/Account No.",
           a.ADDRESS_1 "Address Line1", a.ADDRESS_2 "Address Line 2",a.POSTCODE "Post Code", a.RcptDate "Receipt Date", a.comp_date "Complete Date"
      FROM Dataset a, DuplicateData b
    WHERE (a.nameaddr = b.nameaddr) OR (a.haccnum = b.haccnum)
    ORDER BY a.haccnum, a.forename, a.surname, a.address_1, a.address_2;
    EXCEPTION
    WHEN OTHERS THEN
    pErrorDesc  := SUBSTR(SQLERRM, 1, 255);
    END XYZ;Any help will be appreciated.
    Oracle version is 9.2.0.6.0.
    SQL commands works fine if executed alone but calling from vb application throw following error,
    [12:53:23][ERR]getReportData::-2147217900:ORA-00604: error occurred at recursive SQL level 1ORA-01003: no statement parsed
    Edited by: rav_bhu on 05-May-2009 05:30

    Few points
    1. Use {noformat} <put your code here> {noformat} tags to format your code. Its ugly without formatting.
    2. Please remove the WHEN OTHERS THEN from your code and run again. Get the full error message with line number and post it here.
    3. Mention your database version.

  • ORA-00604: error occured at recursive SQL level 1 ORA-12705: Cannot access

    Oracle Database 10g Express Edition Release 10.2.0.1.0 on
    OS Linux Debian 3.1_r4_stable
    SQL> select userenv('LANGUAGE') from dual;
    USERENV('LANGUAGE')
    RUSSIAN_RUSSIA.AL32UTF8
    Client OS MS Vista Ultimate EN , region=RUSSIAN.RUSSIA
    Oracle Developer suite 10
    SQL-Developer
    Version 1.1.0.23.
    NLS_LANG=RUSSIAN_RUSSIA.CL8MSWIN1251
    Oracle Developer suite 10 is working properly but when
    i am attempting a connection between Oracle 10g XE and SQL-Developer.
    Need some help to resolve this error message....
    ORA-00604: error occured at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid enviroment specified

    Hi,
    You have to set NLS_LANG before connect to Oracle Database.
    $export NLS_LANG=.AL32UTF8

  • ORA-00604: error occurred at recursive SQL level 1 ORA-04063: table....

    Hi all,
    i have the following code:
    DROP TYPE unit_function FORCE
    DROP TYPE unit_moving_point FORCE
    DROP TYPE moving_point_tab FORCE
    DROP TYPE moving_point FORCE
    DROP TABLE moving_object_ref
    DROP TABLE moving_point_ref
    CREATE OR REPLACE TYPE unit_function AS OBJECT
    xi NUMBER,
    yi NUMBER
    CREATE OR REPLACE TYPE unit_moving_point AS OBJECT
    p tau_tll.d_period_sec,
    m unit_function
    CREATE OR REPLACE TYPE moving_point_tab AS TABLE OF unit_moving_point;
    CREATE OR REPLACE TYPE moving_point AS OBJECT
    u_tab moving_point_tab
    CREATE TABLE moving_point_ref OF moving_point NESTED TABLE u_tab STORE AS m_u_tab
    When i execute this for the first time the drop commands fail, as expected and the types/tables are successfully created. But if i try to run again the same code i get this error:
    ORA-00604: error occurred at recursive SQL level 1 ORA-04063: table "HERMESL.MOVING_POINT_REF" has errors
    I have tried to first drop the tables and after the types but then I get this error:
    ORA-00604: error occurred at recursive SQL level 1 ORA-22914: DROP of nested tables not supported
    this error occurs when the "DROP TYPE unit_function FORCE" and "DROP TYPE unit_moving_point FORCE" commands is to be executed...
    Can anyone help me?
    Thanks...

    Works on 10.1.0.3.
    What is your exact version?
    SQL> DROP TYPE unit_function FORCE
      2  /
    DROP TYPE unit_function FORCE
    ERROR at line 1:
    ORA-04043: object UNIT_FUNCTION does not exist
    SQL> DROP TYPE unit_moving_point FORCE
      2  /
    DROP TYPE unit_moving_point FORCE
    ERROR at line 1:
    ORA-04043: object UNIT_MOVING_POINT does not exist
    SQL> DROP TYPE moving_point_tab FORCE
      2  /
    DROP TYPE moving_point_tab FORCE
    ERROR at line 1:
    ORA-04043: object MOVING_POINT_TAB does not exist
    SQL> DROP TYPE moving_point FORCE
      2  /
    DROP TYPE moving_point FORCE
    ERROR at line 1:
    ORA-04043: object MOVING_POINT does not exist
    SQL> DROP TABLE moving_object_ref
      2  /
    DROP TABLE moving_object_ref
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> DROP TABLE moving_point_ref
      2  /
    DROP TABLE moving_point_ref
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL>
    SQL> CREATE OR REPLACE TYPE unit_function AS OBJECT
      2  (
      3  xi NUMBER,
      4  yi NUMBER
      5  );
      6  /
    Type created.
    SQL> CREATE OR REPLACE TYPE unit_moving_point AS OBJECT
      2  (
      3            m unit_function
      4  );
      5  /
    Type created.
    SQL> CREATE OR REPLACE TYPE moving_point_tab AS TABLE OF unit_moving_point;
      2  /
    Type created.
    SQL> CREATE OR REPLACE TYPE moving_point AS OBJECT
      2  (
      3  u_tab moving_point_tab
      4  );
      5  /
    Type created.
    SQL> CREATE TABLE moving_point_ref OF moving_point
      2  NESTED TABLE u_tab
      3  STORE AS m_u_tab
      4  /
    Table created.
    SQL> DROP TYPE unit_function FORCE
      2  /
    Type dropped.
    SQL> DROP TYPE unit_moving_point FORCE
      2  /
    Type dropped.
    SQL> DROP TYPE moving_point_tab FORCE
      2  /
    Type dropped.
    SQL> DROP TYPE moving_point FORCE
      2  /
    Type dropped.
    SQL> DROP TABLE moving_object_ref
      2  /
    DROP TABLE moving_object_ref
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> DROP TABLE moving_point_ref
      2  /
    Table dropped.
    SQL>
    SQL> CREATE OR REPLACE TYPE unit_function AS OBJECT
      2  (
      3  xi NUMBER,
      4  yi NUMBER
      5  );
      6  /
    Type created.
    SQL> CREATE OR REPLACE TYPE unit_moving_point AS OBJECT
      2  (
      3            m unit_function
      4  );
      5  /
    Type created.
    SQL> CREATE OR REPLACE TYPE moving_point_tab AS TABLE OF unit_moving_point;
      2  /
    Type created.
    SQL> CREATE OR REPLACE TYPE moving_point AS OBJECT
      2  (
      3  u_tab moving_point_tab
      4  );
      5  /
    Type created.
    SQL> CREATE TABLE moving_point_ref OF moving_point
      2  NESTED TABLE u_tab
      3  STORE AS m_u_tab
      4  /
    Table created.
    SQL> disconnect
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options

  • Displaying diff dates using PL/SQL expression for 'display only' item ?

    Hi ,
    I am having a display only item -- :P2_FROM_Date . If its Thu,Fri,Sat or Sun I want to set the date as the last Monday's date . If its Mon,Tue or Wed then it should be the present Monday's date .
    E.g: Today is Friday and the last Monday was on 18th .
    So for yesterday , today,tomorrow and Sunday , the date should be displayed as 18-JUN-2012.
    From the coming Monday to Wednesday , the date should of be the coming Monday i.e , 24-JUN-2012
    I tried it doing under 'Source ' of item using PL/SQL expression and PL/SQL function body. Not working
    Can someone help ?
    Thanks & Regards
    Umer

    Nice1 wrote:
    declare
    lv_date number;
    begin
    select to_char(sysdate,'D') into lv_date from dual;
    if lv_date=2 then
    :P2_FROM_DATE := to_char(sysdate-1);
    end if;
    end;I tried this under " PL/SQL function body " in "Source " tab of the item P2_FROM_DATE
    When I run this , nothing is displayed corresponding to the item P2_FROM_DATEExactly as expected. This code will only set a value for <tt>P2_FROM_DATE</tt> when run on Mondays in territories where the first day of the week is Sunday, and when run on Tuesdays where Monday is the first day of of the week:
    SQL> var P2_FROM_DATE varchar2(30)
    SQL> alter session set nls_date_format='Dy DD-MON-YYYY';
    Session altered.
    SQL> select sysdate from dual
    SYSDATE
    Mon 25-JUN-2012
    SQL> alter session set nls_territory='AMERICA';
    Session altered.
    SQL> declare
      2  lv_date number;
      3  begin
      4  select to_char(sysdate,'D') into lv_date from dual;
      5  if lv_date=2 then
      6  :P2_FROM_DATE := to_char(sysdate-1);
      7  end if;
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> print p2_from_date
    P2_FROM_DATE
    Sun 24-JUN-2012
    SQL> alter session set nls_territory='UNITED KINGDOM';
    Session altered.
    SQL> exec :p2_from_date := null
    SQL> declare
      2  lv_date number;
      3  begin
      4  select to_char(sysdate,'D') into lv_date from dual;
      5  if lv_date=2 then
      6  :P2_FROM_DATE := to_char(sysdate-1);
      7  end if;
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> print p2_from_date
    P2_FROM_DATE
    SQL>Hence the questions about language above.
    >
    I am having a display only item -- :P2_FROM_Date . If its Thu,Fri,Sat or Sun I want to set the date as the last Monday's date . If its Mon,Tue or Wed then it should be the present Monday's date .
    E.g: Today is Friday and the last Monday was on 18th .
    So for yesterday , today,tomorrow and Sunday , the date should be displayed as 18-JUN-2012.
    From the coming Monday to Wednesday , the date should of be the coming Monday i.e , 24-JUN-2012
    >
    The coming Monday is 25-JUN-2012.
    Aren't these rules equivalent to "Monday this week, where Monday is the first day of the week"? In which case the PL/SQL Expression you require is:
    trunc(sysdate, 'iw')For example:
    SQL> with t as (
      2    select date '2012-06-21' + level d from dual connect by level <= 17)
      3  select
      4            d
      5          , trunc(d, 'iw')  monday
      6  from
      7            t;
    D               MONDAY
    Fri 22-JUN-2012 Mon 18-JUN-2012
    Sat 23-JUN-2012 Mon 18-JUN-2012
    Sun 24-JUN-2012 Mon 18-JUN-2012
    Mon 25-JUN-2012 Mon 25-JUN-2012
    Tue 26-JUN-2012 Mon 25-JUN-2012
    Wed 27-JUN-2012 Mon 25-JUN-2012
    Thu 28-JUN-2012 Mon 25-JUN-2012
    Fri 29-JUN-2012 Mon 25-JUN-2012
    Sat 30-JUN-2012 Mon 25-JUN-2012
    Sun 01-JUL-2012 Mon 25-JUN-2012
    Mon 02-JUL-2012 Mon 02-JUL-2012
    Tue 03-JUL-2012 Mon 02-JUL-2012
    Wed 04-JUL-2012 Mon 02-JUL-2012
    Thu 05-JUL-2012 Mon 02-JUL-2012
    Fri 06-JUL-2012 Mon 02-JUL-2012
    Sat 07-JUL-2012 Mon 02-JUL-2012
    Sun 08-JUL-2012 Mon 02-JUL-2012
    17 rows selected.
    SQL> alter session set nls_territory='AMERICA';
    Session altered.
    SQL> alter session set nls_date_format='Dy DD-MON-YYYY';
    Session altered.
    SQL> with t as (
      2    select date '2012-06-21' + level d from dual connect by level &lt;= 17)
      3  select
      4            d
      5          , trunc(d, 'iw')  monday
      6  from
      7            t;
    D               MONDAY
    Fri 22-JUN-2012 Mon 18-JUN-2012
    Sat 23-JUN-2012 Mon 18-JUN-2012
    Sun 24-JUN-2012 Mon 18-JUN-2012
    Mon 25-JUN-2012 Mon 25-JUN-2012
    Tue 26-JUN-2012 Mon 25-JUN-2012
    Wed 27-JUN-2012 Mon 25-JUN-2012
    Thu 28-JUN-2012 Mon 25-JUN-2012
    Fri 29-JUN-2012 Mon 25-JUN-2012
    Sat 30-JUN-2012 Mon 25-JUN-2012
    Sun 01-JUL-2012 Mon 25-JUN-2012
    Mon 02-JUL-2012 Mon 02-JUL-2012
    Tue 03-JUL-2012 Mon 02-JUL-2012
    Wed 04-JUL-2012 Mon 02-JUL-2012
    Thu 05-JUL-2012 Mon 02-JUL-2012
    Fri 06-JUL-2012 Mon 02-JUL-2012
    Sat 07-JUL-2012 Mon 02-JUL-2012
    Sun 08-JUL-2012 Mon 02-JUL-2012
    17 rows selected.Also note that using the item source properties will only set the <tt>P2_FROM_DATE</tt> in the rendered page, not in session state.

  • Dual Language Data upload using SQL*Loader

    I have to load data consisting of English and Traditional Chinese characters into 8.1.5 from external files. These external files are in MS Excel.
    Is there any way that I can user SQL*Loader for this ? If yes, how ? If not, is there any other way out.
    The NLS in the database is currently AMERICAN.
    null

    ORA-00604 error occurred at recursive SQL level string
    Cause: An error occurred while processing a recursive SQL statement (a statement applying to internal dictionary tables).
    Action: If the situation described in the next error on the stack can be corrected, do so; otherwise contact Oracle Support Services
    This kind of error occurs when data dictionary is
    query a lot.
    Joel P�rez

  • Data Structures in SQL Server

    Friends,
    I am giving a session on "Data structures and SQL Server" for one of the SQL Server communities in India.
    My idea is to explain high level concepts of data structures (Stacks, Queues, Linked lists, Trees, Graphs etc.)
    here are my questions.
    Like to know how data structure concepts are implemented SQL Server components (in a high level).
    Here are some hints in my mind:
    1. Queues - SQL Server - DMVs for Processor Queue length, Disk Queue length etc.
    2. Linked Lists - SQL Server - Previous and Next page pointers in Page headers (and DBCC IND)
    3. Trees - SQL Server - Btrees in Indexes (DBCC IND and DBCC PAGE of Index pages)
    3. Linear Search - SQL Server - Table Scan
    4. Binary Search - SQL Server - Index Seek
    What i need is:
    1. Sorting algorithm used in SQL Server?
    2. Stack concept used in SQL Server? I think No
    3. what else data structure concepts are implemented in SQL Server (that can be demonstrated)
    Note: level: 300 - Intermediate to Advanced.
    Thanks in advance
    Ramkumar
    [email protected]
    Ramkumar Gopal Living For SQL Server Blog: http://www.sqlservercentral.com/blogs/livingforsqlserver/ Facebook: https://www.facebook.com/#!/groups/livingforsqlserver/ Twitter: https://twitter.com/LivingForSQL

    Hello,
    Take a look at some structures created for In-Memory OLTP (hash indexes, etc.)
    http://download.microsoft.com/download/5/F/8/5F8D223F-E08B-41CC-8CE5-95B79908A872/SQL_Server_2014_In-Memory_OLTP_TDM_White_Paper.pdf
    BUF Structures.
    http://blogs.msdn.com/b/karthick_pk/archive/2013/03/16/sql-server-memory.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Getting error ORA-00604: error occurred at recursive SQL level 1

    Folks getting this error while executing dbms-stats , before to start upgrade to 11g
    any help would be appreciated
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> EXEC DBMS_STATS.GATHER_DICTIONARY_STATS;
    BEGIN DBMS_STATS.GATHER_DICTIONARY_STATS; END;
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01426: numeric overflow
    ORA-06512: at "SYS.DBMS_STATS", line 13336
    ORA-06512: at "SYS.DBMS_STATS", line 13643
    ORA-06512: at "SYS.DBMS_STATS", line 15985
    ORA-06512: at "SYS.DBMS_STATS", line 16027
    ORA-06512: at line 1

    Have you tried to pass the parameters like for example:
    begin
    DBMS_STATS.GATHER_DATABASE_STATS (
    estimate_percent =>100,
    block_sample=>FALSE,
    method_opt=>'for all columns size auto',
    degree=>null,
    cascade=>true,
    no_invalidate=>false,
    options=>'GATHER STALE',
    gather_sys=>FALSE);
    end;
    /http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_stats.htm#i1049486

  • Data Loading using SQL* Loader giving errors..

    While loading the data using SQL* Loader, I came across the following errors:
    - SQL*Loader-00604 Error occurred on an attempt to commit
    - ORA-01041 internal error. hostdef extension doesn't exist
    My Control and Data files have proper Carriage Returns i.e. the last line of both the files is blank.
    So, if somebody know about this, plz help me.
    Thanx

    ORA-00604 error occurred at recursive SQL level string
    Cause: An error occurred while processing a recursive SQL statement (a statement applying to internal dictionary tables).
    Action: If the situation described in the next error on the stack can be corrected, do so; otherwise contact Oracle Support Services
    This kind of error occurs when data dictionary is
    query a lot.
    Joel P�rez

Maybe you are looking for

  • Identity.loginName in adobe acrobat 8.0

    Hello, I have a very simple folder level JavaScript that was working on Acrobat 7. On 8 it does not work. Is there any setting or Approach that will make this work? The script is to set the loginName from identity to global variable that will be used

  • Windows  - error : output module .mov after effects

    When exporting a Quicktime movie from After Effects on windows 7, I get the following error ... After Effects error: Rendering error while writing to file "(my main internal drive / my file name).mov". An output module failed. The file may be damaged

  • 'An error was detected on device \Device\Harddisk0\D during a paging operation.'

    Hi, since a while (as far as i am able to roll back system log in event viewer) I am having strange issues in the sys log, as in the subject. It is a warning of disk event 51: 'An error was detected on device \Device\Harddisk0\D during a paging opera

  • Re-linking a CD

    When I uploaded Disc 3 (out of 4) to the new Joni Mitchell Album, there was a choice to click "Joni 3" or "Love Has Many Faces."  I accidentally clicked Joni 3.  This made the third disc show up as a separate album.  When I renamed it to Love Has Man

  • Need to Install Java SE 6 Runtime in order to launch Illustrator from Mac OS Yosemite?  But it's not available anywhere?

    Hello, Can anyone help me with this?  I upgraded to Yosemite, and now I can't launch Illustrator because it says I need Java SE 6 runtime in order to open it.  But that version is not available anywhere, not on Apple's website and not on Oracle's.  I