PI - SQL ORACLE TO RFC

Hi!
  I am studing PI and I have a question.
  I create a process to select a table in SQL Oracle
  and to send to the RFC.
  I run (Test ) the process and it is a erro.
Step 1.  Send agreement
Log.
<Trace level="1" type="B">SENDER AGREEMENT SIMULATION</Trace>
<Trace level="1" type="T">Simulating Adapter Engine...</Trace>
<Trace level="1" type="T">Simply trying to loolup for the most specific Sender Agreement object</Trace>
<Trace level="1" type="T">no objects found</Trace>
<Trace level="1" type="T">Note that real results may differ</Trace>
Stpe 2.  Receice Determination
Runtime error
"Die Nachricht ist unvollständig. Es wurde kein Sender gefunden."
  =  "The message is incomplete. There was no station is found."
Your change list is not empty; activate changes before simulation
<Trace level="1" type="B">CL_RD_PLSRV-ENTER_PLSRV</Trace>
<Trace level="1" type="T">R E C E I V E R - D E T E R M I N A T I O N </Trace>
<Trace level="1" type="T"> Cache Content is up to date </Trace>
<Trace level="1" type="E">CL_RD_PLSRV-ENTER_PLSRV</Trace>
May you help me? Where is it the problem?
Thanks.

Hi Clayton,
Are you using the ICO object or the classic configuration (SA, RD, ID, RA)?, with the ICO object the ID test doesn't work.
For the test, are you generating the right sender XML payload?, have you set the receiver fields in the ID test? (Configuring the Sender JDBC Adapter - Configuring the JDBC Adapter in the Integration Directory/PCK - SAP Library)
Personally, i usually test the JDBC sender scenario directly, setting up the channel; but i dont see any reason because the ID test with a classical configuration wouldn't work.
Regards.

Similar Messages

  • Difference   LDAP & SQL & ORACLE

    Hi All
    I'm currently working in a messaging environment which
    includes LDAP Server and here i want to know the difference
    bettween LDAP - SQL - ORACLE.
    The Read access is faster in LDAP than write ? is it correct ??
    & i think in SQL write access is faster that read acess ?? is it correct??
    My Ques..
    1) If Any body know difference between LDAP,SQL & ORACLE ?
    kindly let me know ??
    Thanks in Advance.

    LDAP is a standard defined at IETF (RFC 4510 and associated)
    It is derived from the ISO-ITU standard X.500 and has a hierarchical, object oriented model.
    Sun Directory Server implements LDAP.
    SQL is a query language to access relational databases.
    Oracle is a company which has several products including a relational database, an LDAP server (Oracle OID).
    For more details, I would suggest a simple search on the internet for "LDAP vs RDBMs". There are many well written articles available.
    Regards,
    Ludovic.

  • Pl-Sql Oracle Function Concurrency Issue

    Hi All,
    Issue - pl-sql Oracle Function performance issue, when muliple users are accessing the function
    Detail -
    Oracle 11g / Linux Server
    I have developed a pl-sql oracle function to retrieve information from 3 tables, output as a particluar type array.
    Single request is getting processed within 2.2 seconds, but when multiple request are sent concurrently <tested with 50>, time taken for each output is different.
    BreakUp of Response times:-
    8 messages took - 2.2 sec
    +8 messages took - 4.4 sec
    ++8 messages took - 6.6 sec....etc
    I'm looking for any DB tunning parameter, which will help to resolve this issue.
    My only aim is to expose developed function to multiple users, who all can access it concurrently, but response should limit within 2.2 seconds.
    Any thoughts + guidance is higly appreciated.
    Thanks
    Preetam Singh

    Supporting data insert statements:
    =======================================================================================================================
    REM INSERTING into EXPERTISE
    Insert into EXPERTISE (USH_USER_NAME,USH_SKILL_SET1,USH_SKILL_SET2,USH_SKILL_SET3,USH_SKILL_SET4,USH_SKILL_SET5,USH_SKILL_SET6,USH_SKILL_SET7,USH_SKILL_SET8,USH_SKILL_SET9,USH_SKILL_SET10,USH_SKILL_SET11,USH_SKILL_SET12,USH_SKILL_SET13,USH_SKILL_SET14,USH_SKILL_SET15,USH_SKILL_SET16,USH_SKILL_SET17,USH_SKILL_SET18,USH_SKILL_SET19,USH_SKILL_SET20) values ('A','ENGLISH','FRENCH','HINDI',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
    Insert into EXPERTISE (USH_USER_NAME,USH_SKILL_SET1,USH_SKILL_SET2,USH_SKILL_SET3,USH_SKILL_SET4,USH_SKILL_SET5,USH_SKILL_SET6,USH_SKILL_SET7,USH_SKILL_SET8,USH_SKILL_SET9,USH_SKILL_SET10,USH_SKILL_SET11,USH_SKILL_SET12,USH_SKILL_SET13,USH_SKILL_SET14,USH_SKILL_SET15,USH_SKILL_SET16,USH_SKILL_SET17,USH_SKILL_SET18,USH_SKILL_SET19,USH_SKILL_SET20) values ('B',null,'GERMAN','CHINIESE','HINDI',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
    Insert into EXPERTISE (USH_USER_NAME,USH_SKILL_SET1,USH_SKILL_SET2,USH_SKILL_SET3,USH_SKILL_SET4,USH_SKILL_SET5,USH_SKILL_SET6,USH_SKILL_SET7,USH_SKILL_SET8,USH_SKILL_SET9,USH_SKILL_SET10,USH_SKILL_SET11,USH_SKILL_SET12,USH_SKILL_SET13,USH_SKILL_SET14,USH_SKILL_SET15,USH_SKILL_SET16,USH_SKILL_SET17,USH_SKILL_SET18,USH_SKILL_SET19,USH_SKILL_SET20) values ('C','ENGLISH',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
    =======================================================================================================================
    ==================================================================
    REM INSERTING into WORKING
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('A','MON','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('A','TUE','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('A','WED',null,null);
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('A','THU','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('A','FRI','09:00','12:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('B','MON','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('B','TUE','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('B','WED','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('B','THU','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('B','FRI','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('C','MON',null,null);
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('C','TUE','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('C','WED','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('C','THU','09:00','18:00');
    Insert into WORKING (NAME,WEEKDAY,DAYSTARTTIME,DAYENDTIME) values ('C','FRI','09:00','12:00');
    ==================================================================
    =====================================================================================================================
    REM INSERTING into SCHEDULE
    Insert into SCHEDULE (APPOINTMENTDATE,APPOINTMENTSTART,APPOINTMENTEND,STATUS,NAME) values (to_timestamp('11-FEB-12 10.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 10.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 11.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),'MEETING','A');
    Insert into SCHEDULE (APPOINTMENTDATE,APPOINTMENTSTART,APPOINTMENTEND,STATUS,NAME) values (to_timestamp('11-FEB-12 10.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 10.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 11.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),'TRAINING','B');
    Insert into SCHEDULE (APPOINTMENTDATE,APPOINTMENTSTART,APPOINTMENTEND,STATUS,NAME) values (to_timestamp('13-FEB-12 10.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 10.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 11.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),'MEETING','A');
    Insert into SCHEDULE (APPOINTMENTDATE,APPOINTMENTSTART,APPOINTMENTEND,STATUS,NAME) values (to_timestamp('11-FEB-12 10.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 11.00.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('11-FEB-12 11.30.00.000000000 AM','DD-MON-RR HH.MI.SS.FF AM'),'MEETING','B');
    =====================================================================================================================
    Edited by: 910614 on Feb 10, 2012 9:29 AM

  • Can i Use two qery hints in one SQL(Oracle)?

    Hi,
    Can i Use two Query hints in one SQL(Oracle)? USE_HASH and No_Merge
    Thanks

    user10916886 wrote:
    Can I use like
    /*+ USE_HASH(X,Y) NO_MERGE(X) */
    will this work?Not really: NO_MERGE relates to mergeable views, not base tables. So whilst the USE_HASH may result in a hash join between the tables X and Y, USE_MERGE will be ignored for X.
    As hoek says, however, HINTs should be a last resort only, and if they're to be used at all you're best to stay with those that don't involve explicit objects, like ALL_ROWS, FIRST_ROWS_10, etc.
    user10916886 wrote:
    Im my database, if i don't use query hints. The expalin plan uses Nested loops, hence the query takes a lot of time.You would be better trying the ALL_ROWS hint here, instead of USE_HASH.
    Edit
    The optimizer, however, will have chosen NESTED LOOPs where it did because it believed that to be the most efficient data retrieval path with the information that it had to hand. So, if your statistics are comprehensive and up-to-date, yet the optimizer is continually opting for the less efficient plan, there's something else wrong, and HINTs are only masking that problem in the short-term.

  • Native and open  sql - oracle

    hi all,
    <dynamic >  = SELECT matnr  FROM mara .
    EXEC SQL.
      OPEN c1 FOR <dynamic >ENDEXEC.
    ENDEXEC.
    can  i use dynamic native sql in open sql-oracle .
    cheers
    senthil

    EXEC SQL doesn't allow for dynamic constructs. In order to get native SQL features dynamically you can use the JDBC-like classes CL_SQL_STATEMENT, CL_SQL_CONNECTION, and so on.
    Best regards
      Ulrich

  • How to create scheduler sql oracle developer

    Hi
    how to create How to create scheduler sql oracle developer?

    Hi
    finally i refer below link its usefull
    ORACLE-BASE - SQL Developer 3.1 Scheduler (DBMS_SCHEDULER) Support

  • 很全的help.sql 安装Oracle的sqlplus帮助系统

    在linux系统下的时候,我们可以通过man命令,获得系统里对某个命令的usage的解释。
    在sqlplus里我们也可以通过help和?命令。
    sqlplus的帮助主题对应的是数据库里的一张表(system.help)。
    在$ORACLE_HOME/sqlplus/admin/help/目录下的helpus.sql包含了这个表的帮助主题
    不过oracle自带的help和?的解释太少了
    在网上找了很久终于找到一个很全的help.sql叻
    下载文中附件,用system登录,因为这个是建立在system的schema里的help表里的。
    直接执行脚本就可以了。比如我把这个sql保存到$ORACLE_HOME\sqlplus\admin\help里,
    大家在这里可以看到有
    helpbld.sql
    helpdrop.sql
    helpus.sql
    hlpbld.sql
    这四个文件,这就是oracle自带的help脚本。可以执行
    helpbld.sql来安装oracle默认的help, 这里会提示你输入两个参数,看了这个源文件。
    两个参数一个是当前路径,一个是helpus.sql, 还是用system来执行,执行完就安装了help,
    就可以使用我上面的那些方式。这个是默认会安装的。
    要安装我这个最新的help文件,只需要执行就可以了
    SQL>conn system/systempwd;
    SQL>@?/sqlplus/admin/help/helpbld.sql
    输入 1 的值: F:\developer\oracle\product\10.2.0\db_1\sqlplus\admin\help
    输入 2 的值: F:\developer\oracle\product\10.2.0\db_1\sqlplus\admin\help\help.sql
    这里就会执行了,执行是有一些和默认的有冲突,可以忽略这些错误。
    成功以后,我们执行一下
    SQL> select count(*) from system.help ;
    COUNT(*)
    5085
    呵呵呵一下多了好多条了哟
    SQL> help create database;
    引用:
    CREATE DATABASE
    Use this command to create a database, making it available for
    general use, with the following options:
    * to establish a maximum number of instances, data files, redo
    log files groups, or redo log file members
    * to specify names and sizes of data files and redo log files
    * to choose a mode of use for the redo log
    * to specify the national and database character sets
    Warning: This command prepares a database for initial use and erases
    any data currently in the specified files. Only use this command
    when you understand its ramifications.
    .......这里还要好多有关create table的帮助信息,我就不写了。
    有了这个帮助系统,要查一个命令的详解,正是太方便叻。
    help.sql文件【 下载 】

  • Data insert in SQL & ORACLE databases

    Hi
    We are sending vendor master data from SAP to SQL & ORACLE database .
    It is working successfully for SQL.
    we have deployed oracle drivers, completed the configuration part.
    When idoc is triggered in SAP,data is uploaded in SQL successfully....but it is showing the following error for Oracle....
    ....." Unable to execute statement for table or stored procedure. 'tblVendorAddress' (Structure 'Table') due to java.sql.SQLException: FATAL ERROR: Column 'cVendorCode' does not exist in table 'tblVendorAddress' "......
    cVendorCode in SQL is defined as cVendorCode ... but in Oracle it is defined as CVENDORCODE...
    If  i change the datatype in XI as CVENDORCODE...my SQL scenario will not work(cVendorCode)..
    I don't want to change my XI datatype structure....records should be updated in SQL & Oracle datadase at the same time.
    Please suggest a solution..
    Regards
    Abhijit

    Hi!
    As far as I know this is the only way, because the PI works like all Java based systems (and unix systems) case-sensitive.
    But maybe there is a "Wizard" in this forum who knows another way
    Regards,
    Volker

  • XML to SQL (oracle) Parallel Processing Scenario

    hi,
    I have one scenario to load datas from XML to SQL but when this scenario runs in parallel duplicate information.
    I have done tests with 5 xml file these xml file have unique header_id but when run in parallel , insert 5 record in target table but one is repeat.
    the flow is the following,
    1. My scenario recieved one variable (name xml file), this variable is sent for bpel.
    2. Load datas from xml to sql(oracle), in this step I have concatenated to tables C$_, I$ and E$_ the session number how explain this link http://odiexperts.com/?p=1417.
    3. Invoke web service with status finished.
    I have tried the following.
    after of first step I set a procedure with sentence "SYNCHRONIZE schema SO from file" and modify my topology to &ro=true some time run perfect but check the target table and datas are duplicated and other time catch the error ....
    0 : null : java.sql.SQLException: class org.xml.sax.SAXException
    class java.lang.NullPointerException said null.
    Any suggestion o coment to execute my scenario in parallel?
    Thanks a lot.
    Antonio

    Please repost in the Data Integrator forum Data Integrator
    (this forum is for Data Service Integrator - an entirely different product).

  • Pl sql---sql---oracle sql

    whats the difference between
    sql
    pl/sql
    oracle sql??

    You can google it and get the answer
    Both SQL and PL/SQL are languages used to access data within Oracle databases.
    SQL is a limited language that allows you to directly interact with the database. You can write queries (SELECT), manipulate objects (DDL) and data (DML) with SQL. However, SQL doesn't include all the things that normal programming languages have, such as loops and IF...THEN...ELSE statements.
    PL/SQL is a normal programming language that includes all the features of most other programming languages. But, it has one thing that other programming languages don't have: the ability to easily integrate with SQL.
    Some of the differences:
    SQL is executed one statement at a time. PL/SQL is executed as a block of code.
    SQL tells the database what to do (declarative), not how to do it. In contrast, PL/SQL tell the database how to do things (procedural).
    SQL is used to code queries, DML and DDL statements. PL/SQL is used to code program blocks, triggers, functions, procedures and packages.
    You can embed SQL in a PL/SQL program, but you cannot embed PL/SQL within a SQL statement

  • Oracle 8.1.5.1 upgrade to 9.2.0.6 sql - Oracle change or bug ?

    The following query is working on Oracle 8.1.5.1 (result 1 record), but not on Oracle 9.2.0.6 (result 0 record).
    We don't have the source to this application, and we then have to solve it on the Oracle side - it looks like an Oracle change/bug ?
    I've turned on Oracle tracing to trace the actual sql and also running explain seeing no difference.
    SELECT UNIQUE change_log.pkey_val1, customer.customer_name, customer.brief_name,
    change_log.user_id, trunc(change_log.created_date, 'DD'), change_log.auth_status,
    trunc(change_log.auth_status_date,'DD'), trunc(change_log.print_date,'DD'),
    change_log.print_status FROM customer, change_log WHERE customer.customer_id=change_log.pkey_val1
    AND auth_status = '0' AND change_log.pkey_val1 like '5334073' ORDER BY 5;
    SELECT STATEMENT_ID, operation, options, object_name, object_type, id, parent_id FROM plan_table
    WHERE STATEMENT_ID = 'QUERY1' ORDER BY id;
    Oracle 8.1.5.1
    QUERY1 SELECT STATEMENT
    QUERY1 SORT UNIQUE
    QUERY1 NESTED LOOPS
    QUERY1 TABLE ACCESS BY INDEX ROWID CHANGE_LOG
    QUERY1 INDEX RANGE SCAN DX_971_01 NO
    QUERY1 TABLE ACCESS BY INDEX ROWID CUSTOMER
    QUERY1 INDEX UNIQUE SCAN U128_13 UN
    Oracle 9.2.0.6
    QUERY1 SELECT STATEMENT
    QUERY1 SORT UNIQUE
    QUERY1 NESTED LOOPS
    QUERY1 TABLE ACCESS BY INDEX ROWID CHANGE_LOG
    QUERY1 INDEX RANGE SCAN DX_971_01 NO
    QUERY1 TABLE ACCESS BY INDEX ROWID CUSTOMER
    QUERY1 INDEX UNIQUE SCAN U128_13 UN

    Please refer [url http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/conditions10a.htm
    ]'Patterns Without % Example' on Oracle9i SQL Reference.
    Here is [url http://download-west.oracle.com/docs/cd/F49540_01/DOC/server.815/a67779/operator.htm#997970]Oracle8i SQL Reference.
    If a pattern does not contain the "%" character, the condition can be TRUE only if both operands have the same length.
    So... there are bugs on 8.1.x, 9.2.0.4...
    SQL> select * from v$version where rownum <= 1;
    BANNER
    Personal Oracle7 Release 7.3.2.3.1 - Production Release
    SQL> create table tab1 (col1 char(6));
    Table created.
    SQL> insert into tab1 values ('xyz');
    1 row created.
    SQL> select * from tab1 where col1 like 'xyz';
    no rows selected
    SQL> select * from v$version where rownum <= 1;
    BANNER
    Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
    SQL> create table tab1 (col1 char(6));
    Table created.
    SQL> insert into tab1 values ('xyz');
    1 row created.
    SQL> select * from tab1 where col1 like 'xyz';
    COL1
    xyz
    SQL> select * from v$version where rownum <= 1;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    SQL> create table tab1 (col1 char(6));
    Table created.
    SQL> insert into tab1 values ('xyz');
    1 row created.
    SQL> select * from tab1 where col1 like 'xyz';
    COL1
    xyz
    SQL> select * from v$version where rownum <= 1;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    SQL> create table tab1 (col1 char(6));
    Table created.
    SQL> insert into tab1 values ('xyz');
    1 row created.
    SQL> select * from tab1 where col1 like 'xyz';
    no rows selected

  • Date format in different databases like DB2, MS SQL, Oracle etc.

    Hi,
    Is there any standard date format, which works on any database like DB2, MS SQL Server, or Oracle 8i.
    Right now I am using specific format for each database.
    I am using the following syntax to retrieve the records on Jun 14, 2001.
    MS SQL Server:
    select * from tablename where
    CONVERT(character(10),ReceiptDateTime, 120) >='2001-06-14'
    and CONVERT(character(10), ReceiptDateTime , 120) <'2001-06-15'
    Oracle:
    select * from tablename where
    TO_CHAR(ReceiptDateTime,'YYYY-MM-DD') >= '2001-06-14'
    AND TO_CHAR(ReceiptDateTime,'YYYY-MM-DD') < '2001-06-15'
    Is there any way we can generalize the date formt?
    Any help appreciated.
    Thanks,
    Naidu

    Hi,
    Perhaps any difference when you compare the outcomes of
    SQL> select * from nls_database_parameters;
    SQL> select * from nls_session_parameters;on both databases?

  • How to reduce the database size based on MS SQL/Oracle?

    Hi,
    I had deleted severy clients via SCC5, but the database size is more and more bigger. Do you know how to reduce the database size.
    my platform is: NT, MS SQL 2005
                           NT, Oracle 10.2
    Best Regards,
    Simon Shen

    Hi Simon,
    In the case of SQL you need to check how many space free you have in your datafiles and the based on that you need to Shrink them using DBCC SHRINKFILE command.
    Find a couple of reference docs here,
    http://www.intermedia.net/support/kb/default.asp?id=996
    http://doc.ddart.net/mssql/sql70/dbcc_21.htm
    Also i'm pretty sure that if your check the properties of the datafiles in MSSQL Enterprise Manager you get a "Shrink" option.
    Regards
    Juan
    Please reward with points if helpful

  • MS-SQL - Oracle SELECT INTO conversion problem...

    Under MS-SQL (T-SQL) Select statement is defined as follows:
    SELECT select_list
    [INTO new_table_]
    ^^^^^^^^^^^^^^^^^^^^^
    FROM table_source
    [WHERE search_condition]
    [GROUP BY group_by_expression]
    [HAVING search_condition]
    [ORDER BY order_expression [ASC | DESC] ]
    Q:How under PL/SQL can one redirect sorted (ORDERed BY) results
    from SELECT query to another table.
    Slawek
    null

    I have asked the question because of the following reason:
    I have a large select query that returns rows from a table in
    different sort orders depending on user inputs, and I wonder if
    there is any way to return just the rows between two specified
    positions.
    I figured that I'm going to either create one temporary table
    with all the data (1000 records for example), sort the data in
    the prefered order and use the rownum method to obtain the row
    range (works fine under T-SQL). Other way is to try an inline
    view that return the rownumber. I can then restrict the numer of
    fields, e.g.
    select empid, rowNumber from emp,
    (select empid as id, rownum as rowNumber from emp) x
    where empid = id
    and rowNumber between 2 and 5
    The problem is that under Oracle the subquery is not allowed to
    have an ORDER BY clause (even if it had, rownum reflects row
    numbers before they were sorted) and there is no SELECT into
    TABLE_NAME.
    Michael Malicky (guest) wrote:
    : Slawek (guest) wrote:
    : : Under MS-SQL (T-SQL) Select statement is defined as follows:
    : : SELECT select_list
    : : [INTO new_table_]
    : : ^^^^^^^^^^^^^^^^^^^^^
    : : FROM table_source
    : : [WHERE search_condition]
    : : [GROUP BY group_by_expression]
    : : [HAVING search_condition]
    : : [ORDER BY order_expression [ASC | DESC] ]
    : : Q:How under PL/SQL can one redirect sorted (ORDERed BY)
    results
    : : from SELECT query to another table.
    : : Slawek
    : Order by is irrelevant when creating a new table out of a
    : query, as the rows are NOT stored in any order in a table.
    : The syntax for creating a new table out of an existing one
    : is:
    : CREATE TABLE new_table AS
    : SELECT select_list FROM old_table
    : WHERE ...
    : etc.
    : /mike
    null

  • Warning: Type created with compilation errors. sql : oracle 11gr2

    I'm trying to create a supertype customer service and subtype agent and supervisor, so they can inherent values however when I try to run this in oracle sql: a message comes up
    Warning: Type created with compilation errors.
    What is wrong with the code below?
    Create or replace type customer_s_type as object ( csID number, csName varchar(15), csType number ) NOT FINAL;  Create or replace type supervisor_type UNDER customer_s_type ( title varchar (10) );  Create or replace type agent_type UNDER customer_s_type (title varchar (10));  Create table supervisor of supervisor_type ( CONSTRAINT supervisor_PK PRIMARY KEY (csID));  Create table agent of agent_type (CONSTRAINT agent_PK PRIMARY KEY (csID));  create table customer_service( csID number(10), csType number(10), constraint supervisor_pk primary key(csID) );

    Wile creating TYPE you need to terminate with a back slash (/) semi colon does not work.
    Try like this
    create or replace type customer_s_type as object ( csid number, csname varchar(15), cstype number ) not final
    create or replace type supervisor_type under customer_s_type ( title varchar (10) )
    create or replace type agent_type under customer_s_type (title varchar (10))

Maybe you are looking for

  • ORA-01114: IO error writing block

    What is the best way to recover from error : Wed Nov 22 21:44:01 2006 Errors in file c:\oracle\admin\orcl\bdump\orcl_dbw0_3932.trc: ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode ORA-01114: IO error writing block to file 6

  • Problem moving files from USB to Network Drive

    I moved my music data from an USB drive to a NAS drive in the network. This also changed the drive letter assigned to the iTunes Music Folder location. I updated the location in iTunes after moving the files. But iTunes does not find the files any mo

  • Selection background color in 452 vs 447

    I am using a TextFlow with a SelectionManager.  I have not been able to track this down, but since switching from build 447 to 460 today, my selection background color does not change during a selection.  The selection works fine and it copies fine,

  • One server 4 wire and wireless

    /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in

  • Error when updating second gen ipod touch to os 4

    when i am trying to update to os 4 on my ipod touch it downloads and when installing at the end it says "network unavailable" my mum has managed to do it on her 32gb ipod touch but i cant on my 8gb ipod touch any answers?