Delay of Oracle and advanced functions

Hello

I have a scenario to find the next sal in the employee table as if two treatments are same it should not display the next paycheck to the same instead it should show the next higher salary as below

Suppose I have

EmpID Sal

1 2000

2 3000

3 3000

4 5000

So for employe_id 2, the next paycheck, I expect to be 5000, which is the next higher for 3000, so for both salary records the next 5000 paycheck.

Is it possible using lead.

I have a query, what is the default windowing clause in the function is analytic unlimited rank previous and current.

Please share your valuable thoughts

Kind regards

Fabiola

Without analytical function, but two times analysis of the following table will be the query:

SELECT EmpNo, sal,

(SELECT min (sal) FROM emp WHERE I i.sal > o.sal) next_bigger

OF emp o

WHERE empno = 7369

Tags: Database

Similar Questions

  • The 'back' and 'advance' functions have disappeared from the web brouser, how can I restore them?

    My PC resarted following a normal event of the update of Firefox. The brouser function that allows you to return to a step or step forward was gone. I would like to restore it.

    See:

  • fatal error when you access preferences, advanced actions, project preview and other functions.

    I get a fatal error when you access preferences, advanced actions, draft preview and other functions. I reinstalled, reimagee my machine according to different scenarios and may not get this problem solved I use version 9.0.1.320 is there a fix or a solution to this problem.  Thank you

    Try to update your PC version to 9.0.2

  • API public Oracle for loads of Internet - approval and reject functionality

    Hello

    Is there a public API to Oracle for expense - approval and reject functionality?

    I couldn't find one, the only way to reproduce the functionality of the EBS is using workflow.

    I'm looking at one for EBS - R12.1 and R12.2.

    Thank you

    Rohit

    Had opened a SR with Oracle Support to find out if there is a public API for the expense report - approval and reject functionality.

    Currently there is no, but Oracle has open an enhancement request.

    Bug 20423007 : PUBLIC FOR APPROVAL of SPENDING INTERNET API - APPROVE AND REJECT FEATURES

    If you are looking for the note of fresh - approve and reject the public API, please refer to the enhancement request.

    Thank you

    Rohit

  • Oracle Streams Advanced Queuing and advanced replication

    Hi experts,

    I don't have much experience in Oracle. Please tell me what is "Oracle Streams" in simple words. What is use of this example.

    difference between "Oracle Streams, advanced and advanced replication queues".

    Reg,

    Hard

    Hi harsh,

    I'll try and simply summarize for you.

    (1) advanced replication - the ancient mode of replication of data between databases - no one really uses this method more (even if it's still there)

    (2) AQ (or now renamed as streams AQ I think) is a technology of queues for the publication and subscription to messages - it is not a replication method on its own, but is a key technology for manufacturing workflow

    (3) water - a replication technology course complete with a huge amount of flexibility (and complexity) - one of the best tools of the oracle set product - but it is now be depracated in favor of goldengate (in large part because GG is a costly option, personally, I think)

    (4) goldengate - just like rivers but can replicate to/from databases (Sql server, sybase etc.) non-oracle

    streams and goldengate roughly the same work but are implemented very differently - flow is much plsql and queues, GG is to learn another language (although scripting tool really)

    hope that helps.

    See you soon,.

    Rich

  • Oracle query of relay and access function call does not return the list

    Thanks to aid in a previous post, I received, I created an oracle 10 g feature that returns the list after you run the sql code it contains. It works in oracle, using sql developer.

    I need to have the list that he returned to see the place in MS Access via a relay request. It does not work so far. The string for connection etc is ok, I'm able to use passthrough queries to run sql strings correctly. But when I try to call the function through the request of relay and access initially nothing seems to happen (IE no list) and if I try to run again, there is an "ongoing call odbc error. Current operation cancelled "." There are only three records in the table. I'm missing something, someone can he spot?

    The application of relay and looks like this

    Select * from fn_testvalues of the double

    Once that is running in oracle.

    To create the test table and 2 functions below.

    CREATE TABLE t_values (MyValue varchar2 (10));

    Table created
    INSERT INTO t_values)
    SELECT 'Merced' c1 FROM dual UNION ALL
    SELECT "Pixie" dual UNION ALL
    SELECT "452" DOUBLE);

    3 lines inserted
    FUNCTION to CREATE or REPLACE RETURN NUMBER IS fn_isnum(p_val VARCHAR2)
    n_val NUMBER;
    BEGIN
    n_val: = to_number (p_val);
    RETURN 1;
    EXCEPTION
    WHILE OTHERS THEN
    RETURN 0;
    END;
    /

    Feature created

    table test:
    SELECT val, isnum fn_isnum (MyValue)
    OF t_values;

    VAL ISNUM
    ---------- ----------
    Merced 0
    Pixie 0
    1 452

    Now the function that is called in the application of relay:

    create or replace function fn_testvalues
    sys_refcursor is back
    RC sys_refcursor;
    Start
    Open rc for
    Select t_values.*, fn_isnum (MyValue) t_values IsNum;
    Return (RC);

    end fn_testvalues;

    Why not?

    satyaki>
    satyaki>select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    satyaki>create or replace view bb
      2  as
      3    select *
      4    from emp;
    
    View created.
    
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    satyaki>select * from bb;
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO JOB1      DOB
    ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ----
          7521 WARD       SALESMAN        7698 22-FEB-81     226.88        500         30 SALESMAN
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1815       1400         30 SALESMAN
          7788 SCOTT      ANALYST         7566 19-APR-87     598.95                    20 ANALYST
          7839 KING       PRESIDENT            17-NOV-81       7260                    10 PRESIDENT
          7844 TURNER     SALESMAN        7698 08-SEP-81       2178          0         30 SALESMAN
          7876 ADAMS      CLERK           7788 23-MAY-87     159.72                    20 CLERK
          7900 JAMES      CLERK           7698 03-DEC-81     1379.4                    30 CLERK
          7902 FORD       ANALYST         7566 03-DEC-81    5270.76                    20 ANALYST
          7934 MILLER     CLERK           7782 23-JAN-82     1887.6                    10 CLERK
          7566 Smith      Manager         7839 23-JAN-82       1848          0         10 Manager   23-JAN-89
          7698 Glen       Manager         7839 23-JAN-82       1848          0         10 Manager   23-JAN-89
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO JOB1      DOB
    ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ----
             1 boock
    
    12 rows selected.
    
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    satyaki>select *
      2  from bb
      3  where empno = &eno;
    Enter value for eno: 7521
    old   3: where empno = &eno
    new   3: where empno = 7521
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO JOB1      DOB
    ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ----
          7521 WARD       SALESMAN        7698 22-FEB-81     226.88        500         30 SALESMAN
    
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    

    Kind regards.

    LOULOU.

  • What is the difference between Oracle and MySQL

    Hello

    I would like to know the major difference between Oracle and MySQL. I have a project to generate tables of database XML files, I used the functions XML built oracle XMLELEMENT, XMLAGG XMLATTRIBUTES, XMLFOREST. I really want to know if these functions (or) similar functions are taken into charge/availabe in MySQL.

    I'm having a hard time finding better linux distro to install Oracle11g, so I intend to move to MySQL. Please help, thanks in advance.

    Supported operating system versions are documented - http://docs.oracle.com/cd/E11882_01/install.112/e24321/pre_install.htm#CIHFICFD

    HTH
    Srini

  • NVL and deterministic function

    Hi all
    I recently found a note on deterministic function and its use. As usual check and validate with various relevant articles on the same topic. I decided to check the importance of it with an example below.

      
     create table rnd_all_objects as select * from all_objects;
       
     create or replace function RND_check_null_var(p_var in varchar)
        return varchar2
      deterministic
        as
        begin
           if p_var is null then
              return 'X';
           else
              return p_var;
          end if;
     end;
    
     create index rnd_DET on rnd_all_objects (rnd_check_null_var(status));
    
     select COUNT('X') from rnd_all_objects 
     --where status is null  
      where RND_check_null_var(status) = 'X'
    
     /*
      One can check the plan of the query by commenting the 3rd line of query and uncommenting 2nd line to compare the performance.
     */
    The example given, it seems if we happen to use deterministic functions and replace NVL in where clause if appropriate and possible its picking the index created and the query is very effective. We have tested with more records too. This is to say that the index is selected, even when records are questioned are even more than 90% of all of the data in the table for the given condition, is not happens on a normal basis.

    I pray the pros discuss and get rid of my doubts.

    Thanks in advance.

    Here's what I mean:

    After doing this:

     create index rnd_1 on rnd_all_objects (rnd_check_null_var(status));
     create index rnd_2 on rnd_all_objects (nvl(status,'X'));
     create index rnd_3 on rnd_all_objects (status,'X');
    

    And then what follows, I see no difference between NVL and deterministic function.

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> set lines 120
    SQL> set pages 999
    SQL> SELECT *
      2  FROM   rnd_all_objects
      3  WHERE  rnd_check_null_var(status) = 'X';
    
    no rows selected
    
    SQL>
    SQL> select * from table(dbms_xplan.display_cursor);
    
    PLAN_TABLE_OUTPUT
    ----------------------------------------------------------------------------------------------------
    SQL_ID  24rfj6nz0haks, child number 0
    -------------------------------------
    SELECT * FROM   rnd_all_objects WHERE  rnd_check_null_var(status) = 'X'
    
    Plan hash value: 3930105948
    
    -----------------------------------------------------------------------------------------------
    | Id  | Operation                   | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    -----------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT            |                 |       |       |   117 (100)|          |
    |   1 |  TABLE ACCESS BY INDEX ROWID| RND_ALL_OBJECTS |   428 |   902K|   117   (0)| 00:00:02 |
    |*  2 |   INDEX RANGE SCAN          | RND_1           |   171 |       |   114   (0)| 00:00:02 |
    -----------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - access("RND_ALL_OBJECTS"."SYS_NC00016$"='X')
    
    Note
    -----
       - dynamic sampling used for this statement (level=2)
    
    23 rows selected.
    
    SQL>
    SQL> SELECT COUNT(*)
      2  FROM   rnd_all_objects
      3  WHERE  rnd_check_null_var(status) = 'X';
    
      COUNT(*)
    ----------
             0
    
    SQL>
    SQL> select * from table(dbms_xplan.display_cursor);
    
    PLAN_TABLE_OUTPUT
    ----------------------------------------------------------------------------------------------------
    SQL_ID  9pkp2u9xyfd5f, child number 0
    -------------------------------------
    SELECT COUNT(*) FROM   rnd_all_objects WHERE
    rnd_check_null_var(status) = 'X'
    
    Plan hash value: 2866958763
    
    ---------------------------------------------------------------------------
    | Id  | Operation         | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------
    |   0 | SELECT STATEMENT  |       |       |       |     1 (100)|          |
    |   1 |  SORT AGGREGATE   |       |     1 |     6 |            |          |
    |*  2 |   INDEX RANGE SCAN| RND_1 |     1 |     6 |     1   (0)| 00:00:01 |
    ---------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - access("RND_ALL_OBJECTS"."SYS_NC00016$"='X')
    
    20 rows selected.
    
    SQL>
    SQL> SELECT *
      2  FROM   rnd_all_objects
      3  WHERE  nvl(status,'X') = 'X';
    
    no rows selected
    
    SQL>
    SQL> select * from table(dbms_xplan.display_cursor);
    
    PLAN_TABLE_OUTPUT
    ----------------------------------------------------------------------------------------------------
    SQL_ID  762n8j14mpqk1, child number 1
    -------------------------------------
    SELECT * FROM   rnd_all_objects WHERE  nvl(status,'X') = 'X'
    
    Plan hash value: 2211738098
    
    -----------------------------------------------------------------------------------------------
    | Id  | Operation                   | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    -----------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT            |                 |       |       |   117 (100)|          |
    |   1 |  TABLE ACCESS BY INDEX ROWID| RND_ALL_OBJECTS |   428 | 69764 |   117   (0)| 00:00:02 |
    |*  2 |   INDEX RANGE SCAN          | RND_2           |   171 |       |   114   (0)| 00:00:02 |
    -----------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - access("RND_ALL_OBJECTS"."SYS_NC00017$"='X')
    
    Note
    -----
       - dynamic sampling used for this statement (level=2)
    
    23 rows selected.
    
    SQL>
    SQL> SELECT COUNT(*)
      2  FROM   rnd_all_objects
      3  WHERE  nvl(status,'X') = 'X';
    
      COUNT(*)
    ----------
             0
    
    SQL>
    SQL> select * from table(dbms_xplan.display_cursor);
    
    PLAN_TABLE_OUTPUT
    ----------------------------------------------------------------------------------------------------
    SQL_ID  0bhwd0rc3g7pp, child number 0
    -------------------------------------
    SELECT COUNT(*) FROM   rnd_all_objects WHERE  nvl(status,'X') = 'X'
    
    Plan hash value: 1668065865
    
    ---------------------------------------------------------------------------
    | Id  | Operation         | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------
    |   0 | SELECT STATEMENT  |       |       |       |     1 (100)|          |
    |   1 |  SORT AGGREGATE   |       |     1 |     6 |            |          |
    |*  2 |   INDEX RANGE SCAN| RND_2 |     1 |     6 |     1   (0)| 00:00:01 |
    ---------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - access("RND_ALL_OBJECTS"."SYS_NC00017$"='X')
    
    19 rows selected.
    
    SQL>
    SQL> SELECT *
      2  FROM   rnd_all_objects
      3  WHERE  status is null;
    
    no rows selected
    
    SQL>
    SQL> select * from table(dbms_xplan.display_cursor);
    
    PLAN_TABLE_OUTPUT
    ----------------------------------------------------------------------------------------------------
    SQL_ID  b2zw36qjc8nxq, child number 0
    -------------------------------------
    SELECT * FROM   rnd_all_objects WHERE  status is null
    
    Plan hash value: 2472515261
    
    -----------------------------------------------------------------------------------------------
    | Id  | Operation                   | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    -----------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT            |                 |       |       |    43 (100)|          |
    |   1 |  TABLE ACCESS BY INDEX ROWID| RND_ALL_OBJECTS |  2399 |   264K|    43   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | RND_3           |  2399 |       |     8   (0)| 00:00:01 |
    -----------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - access("STATUS" IS NULL)
    
    19 rows selected.
    
    SQL>
    SQL> SELECT COUNT('X')
      2  FROM   rnd_all_objects
      3  WHERE  status is null;
    
    COUNT('X')
    ----------
             0
    
    SQL>
    SQL> select * from table(dbms_xplan.display_cursor);
    
    PLAN_TABLE_OUTPUT
    ----------------------------------------------------------------------------------------------------
    SQL_ID  03gbx96m8a4hp, child number 0
    -------------------------------------
    SELECT COUNT('X') FROM   rnd_all_objects WHERE  status is null
    
    Plan hash value: 1659481815
    
    ---------------------------------------------------------------------------
    | Id  | Operation         | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------
    |   0 | SELECT STATEMENT  |       |       |       |     9 (100)|          |
    |   1 |  SORT AGGREGATE   |       |     1 |     5 |            |          |
    |*  2 |   INDEX RANGE SCAN| RND_3 |     8 |    40 |     9   (0)| 00:00:01 |
    ---------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - access("STATUS" IS NULL)
    
    Note
    -----
       - dynamic sampling used for this statement (level=2)
    
    23 rows selected.
    

    Published by: DomBrooks on November 24, 2010 11:46

  • Can I uninstall Advanced Audio FX Engine and Advanced Video FX Engine of Vista 32 Home Basic? Vista is a software equivalent installed in its place in the laptop?

    I have Vista Home Basic 32 bit Lap top. Advanced Audio multi-effects and Advanced Video FX Engine are seen installed in quite late after its purchase. Name of the Publisher is kept empty in the programs and features list. I doubt that this installation will somehow right now. I think the Vista 32 laptop could have its own built in software to do the functions of Advanced Audio FX Engine and Advanced Video FX Engine. For this reason, is it wise to uninstall and save the discspace?

    Hello

    ·         Is the manufacturer of the Dell laptop?

    Advanced audio and video FX engine are used to control the webcam and audio on Dell computers.  If you do not want control of the webcam, then it is safe to uninstall.

    See: http://windows.microsoft.com/en-US/windows-vista/Uninstall-or-change-a-program

  • Certification of "Eloqua Oracle and Oracle Content Marketing Cloud Service 2013 pre-sales specialist"?

    Hello

    I want to know I want to take the exam of Eloqua Oracle and Oracle Content Cloud Service 2013 Marketing Specialist pre-sales.
    Currently, I'm taking classes, unable to find the page where I can go for the certification exam.

    Any suggestions?

    Thanks in advance.

    Hello

    You should be able to access through this link: http://ilearning.oracle.com/ilearn/en/learner/jsp/offering_details_home.jsp?classid=1371508648

    I was able to retrieve it by visiting this page, which has little more context that may be useful: Service of Cloud Marketing Oracle Eloqua specialization criteria

    Please like and mark as helpful if you find it useful.

    Joseph

  • on heterogeneous Services of Oracle and Oracle Gateway

    Hi all


    I am very new at this, I want to know:
    (1) heterogeneous services of oracle and Oracle Gateway even or not? Need to license or not?
    (2) want to creating link database to Oracle 11 g to Sybase 15.5 heterogeneous Oracle using the SERVICES what drivers should I install to my pc (windows 7) and my server (Linux red hat 5)? Please give me the link for this
    (3) is there a step by step link to configure odbc to create dblink?
    (4) what's more convenient connection of heterogeneous Oracle or Oracle Gateway Services sybase?

    Thank you very much for your help

    Concerning

    JOE

    Joe,
    Let the copy/paste your questions and comments online:

    (1) heterogeneous services of oracle and Oracle Gateway even or not? Need to license or not?
    Let me first clarify one thing, heterogeneous services is the generic mechanism in the database Oracle used by all gateways. The product you are talking about is database for ODBC bridge or the bridge of Sybase database.
    Database for ODBC bridge is available for Linux and Windows. It is the free product that does not require a license of Oracle. The license is included in your license data. It's a generic gateway which allows you to connect with any suitable part 3 ODBC driver to a corresponding foreign database. As this is a generic connectivity what words connect to real data, but also to MS Excel or text files as long as you have an appropriate ODBC, capacity driver is very limited.
    More powerful bridge is the bridge of Sybase database. It covers the same functionality as DG4ODBC but it also allows you to work with distributed transactions, you can call procedures stored remote Sybase etc.. This gateway is design for Sybase ASE connections, so it is also able to map some Oracle Sybase equivalent functions. This gateway for Sybase database is NOT free, it requires an additional license.

    (2) want to creating link database to Oracle 11 g to Sybase 15.5 heterogeneous Oracle using the SERVICES what drivers should I install to my pc (windows 7) and my server (Linux red hat 5)? Please give me the link for this
    It depends on your preferences. Two entry doors are available for Linux and Windows. When you use DG4ODBC, you must only be careful that you get a suitable 3rd party ODBC driver for this platform with the size of the corresponding word (64 bits for 64-bit DG4ODBC and 32-bit ODBC driver for DG4ODBC installations on 32-bit platforms).
    The latest version of the software is currently 11.2.0.3 and it can be downloaded (and installed from scratch) of "My Oracle Support". Simply open the patches & updates section, look for Patch 10404530: 11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER and make sure you choose the platform you want to use. Then check out the readme file it lists, which of these download CD contains the gateway software.
    BTW, the CD contains DG4ODBC and DG4SYBS and it is up to you to decide during installation of which product you want to use.

    (3) is there a step by step link to configure odbc to create dblink?
    Installation of the ODBC driver is different from one provider to another, and from platform to platform - so we didn't not a note specifies how to configure the ODBC driver. This kind of question is best managed by the provider of the ODBC driver.
    Regarding the implementation of DG4ODBC on Windows, you will find the appropriate information in the knowledge base on My Oracle Support. Just look:
    How to set up DG4ODBC (gateway for ODBC Oracle database) on 32-bit Windows to connect to Oracle databases Post Install [466225.1 Document]

    and to DG4SYBS:
    How to set up DG4SYBS (Oracle to Sybase database entry door) on 64-bit Unix (AIX, HP - UX Itanium, Linux and Solaris) Post Install [437696.1 Document]
    How the installer DG4SYBS (bridge of Sybase database) on a 64-bit Windows [Document 1319852.1]

    (4) what's more convenient connection of heterogeneous Oracle or Oracle Gateway Services sybase?
    It really depends on your needs. DG4SYBS is sullen more easy to install because this gateway comes with everything you need and you don't have to find an appropriate ODBC driver or get the working ODBC driver. It is also more powerful as you can for example use triggers that replicate changes to data in an Oracle database on the Sybase database in the same transaction. When you want to call Sybase stored procedures, you can also do this with DG4SYBS. So it really depends on your needs.

    -Klaus

  • Oracle and database Types invalid packets

    Hello!

    how re - validate component 'packages of database Oracle and Types. The current situation in DBA_REGISTRY indicates as "INVALID" change timestamp in 30 June 2012 10:24:40 '. While reviewing the alerts log, I found the following entries just before the status not VALID (I guess).

    Sat Jun 30 10:24:35 2012
    ID of the SERVER COMPONENT = UTLRP_BGN: timestamp = 2012-06-30 10:24:35
    ID of the SERVER COMPONENT = UTLRP_END: timestamp = 2012-06-30 10:24:39

    can anyone help on what could have caused the status "INVALID" suddenly. now, how revalidate the component. is - it safe run catproc.sql once more in a restricted session.

    database version: 10g SE (10.2.0.4.0)
    host server: rhel 5.4 x86_64

    Thanks in advance!

    Rgds,
    shannura
    /

    Hello. This usually happens after upgrade. try to recompile invalid objects with utlrp.

    Understand the State of the component
    http://docs.Oracle.com/CD/E11882_01/server.112/e25513/statviews_4208.htm#REFRN23186

    Recompilation of invalid schema objects
    http://www.Oracle-base.com/articles/Misc/recompiling-invalid-schema-objects.php

    Please do not forget to change the status thread answer whether it is possible when believe you your thread replied, he pretend to wasting time in other forums users while they are looking outstanding which is not answered, thank you for understanding

    Concerning
    Javid Hasanov

    Published by: Julien Hesenov on July 5, 2012 21:49

  • zip file to create diagrams for Oracle and Oracle Discoverer Portal

    Hello everyone.

    Im trying to install WebLogic for forms and reports under linux,
    I need the zip file to create diagrams for Oracle and Oracle Discoverer Portal
    to run the rcu scrip.

    Can someone send me the link where I can find it?

    Thanks to advanced & happy new year to all.

    If you are a developer of FMw 11 g installation, you need not configure the portal or the discoverer, unless of course you plan to use these products.

    When I installed and configured the FMw 11 g, I followed the * how to install Fusion Middleware 11 g forms and reports only [854117.1 ID] * (available via My Oracle Support). WLS and FMw share the Directory Home of Middleware. I accepted directories default installation (\Oracle\Middleware\) and WLS installed in \Oracle\Middleware\wlserver_10.3 and FMw installed at \Oracle\Middleware\Oracle_PFRD, and the Instance of forms at \Oracle\Middleware\instances\ft_inst. More Doc ID 854117.1, I chose only the following for installation in step "configure the components:


    • Server - Oracle Forms and Oracle reports components
    • Developer - Oracle Forms Builder and Oracle report builder tools
    • Management components - Enterprise Manager
    • The system - Oracle HTTP Server components

    IM thinking I have need save the fmx in a directory of this tree and also the FMAS and configure ther formsweb agreeing with that.

    It is not necessary. All you have to do is add the Variable environment of FORMS_PATH (EV) and include the directory where your files .fmb and .fmx will be created. This EV indicates forms where to find your forms Modules and libraries of forms (.pll/.plx) you can use in your forms.

    The usefulness of the repository creation (RCU), you can download it here: http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html
    Just scroll down for the * @ section additional software required and there is a separate download.

    Craig...

  • Unlike char in ORACLE and SQL SERVER

    Hello gurus,

    I tried to querying data from Oracle to sql server through linked server, but get me an error! set length corresponds to the error! I know there are CHAR data type in sql server and thus as in oracle.

    But when I use the CAST FUNCTION with CHAR it works fine
    -- error code 
    
      select * from openquery( linkoracle11 
               select  col1, col2, col3 from test_table )
    
    
    -- say col3 char(1)   -- data type
    ---

    -- working code 
    
      select * from openquery ( linkoracle 11 
               select  col1, col2, cast (col3 as char(1)) as col_3 from test_table )
    I was wondering, what is the difference between oracle and sql server for the CHAR data type?

    The gurus of the idea?

    Thank you

    What is the error you get?

    What is the characters in database and NLS_LENGTH_SEMANTICS game on your Oracle system?

    SELECT *
      FROM v$nls_parameters
     WHERE name LIKE '%CHARACTERSET';
    
    SQL> SHOW PARAMETER nls_length_semantics;
    

    What is the character set of data in SQL Server?

    If your local database is a variable length character set (like UTF8) and NLS_LENGTH_SEMANTICS is set to (default) BYTES, a char (1) allocate 1 byte of storage which may not be sufficient for a single character. The receiving application may need to allocate a buffer with 3 times more many bytes as there are characters in order to ensure that it will be able to process the result. I don't know why add an implicit CAST that would change, but since we are several levels removed from the code to figure out how large a buffer to allocate, it is not very surprising.

    Justin

  • difference between tables and advanced

    Hello

    What is the difference between tables main and advanced?

    What are the uses of the two beans?

    Hello

    OAAdvancedTableBean extends OATableBean to support existing features to the table that previously required a control by declarative programming.
    OAAdvancedTableBean also supports declarative features not available with OATableBean, such as the scope of column in a table column header. Oracle recommends new tables be implemented as 'Advanced... ' arrays

    Please read more information of Jdev Guide...

    Thank you
    AJ

Maybe you are looking for