Can I return a record/table of records of proceedings aside Java Server?

I need to get data from a remote service during the execution of a PL/SQL procedure. The first of these calls returns a table, each entry that consists of a number of channels, but the second Gets a master-detail structure, a parent row, and an arbitrary number of records of invoice line.

Just to make it interesting the PL/SQL must operate on an existing 8i database, which means that I have to encode any Java JDK 1.1.8 (which should be about 1990 vintage).

The natural way to do this would be to code a java procedure that return an array of records. Unfortunately, I understand that you cannot return a record of PL/SQL returned by a call to jdbc, which suggests that there may be no class in Java or Jave to manage server-side. There is certainly no record type in oracle.sql. *;

Is it possible to return a record or a table of records or as a return value or OUT of a java PL/SQL function procedure parameter and, if not, what is the best way to return data that can be structured in the PL/SQL code?

Oracle 8i shouldn't be so bad - you should still have nested table types, and the ability to use a collection in a select... TABLE... MOUNT the statement and return a refcursor, for example - without doubt the best way to return a set of information from a java client.

However, you can map collections of Oracle to Java arrays using oracle.sql.STRUCT, oracle.sql.ARRAY, oracle.sql.StructDescriptor and oracle.sql.ArrayDescriptor - are they available in the JDK?

Oracle 8.1.7 documentation is always available online:
http://Tahiti.Oracle.com/pls/Tahiti/Tahiti.homepage

See also the Oracle8i - object-relational features applications developer's Guide
http://download.Oracle.com/docs/CD/A87860_01/doc/AppDev.817/a76976/TOC.htm

Published by: Dom Brooks on March 8, 2011 11:06

Tags: Database

Similar Questions

  • Can I return a video project 4.0 after I recorded in 9.0?

    I need to recover several 4.0 video projects I recorded to 9.0.  They will not open in 4.0 now.  Can I return them to 4.0?

    Nope. It's one of the reasons why I recommend to my books NEVER open an old project of version with a new version of the program. (Cela and the fact that it tends to corrupt the old version of the project and cause a behavior bug.)

  • How can I display the records of a table for the $ e?

    Hi all

    I had some constraints declared in the target data store. In my interface, I can see that some records have been moved to the table$ e.

    I want to see these documents. How can I see who? Help, please...

    GoTo model ODI of the creator--> YOUR DATA (right-click) store--> controls--> errors

    or

    Make sure that in IKM (delete temporary objects is SET to False). You can question him in the target schema. Select * from E$ _ (unless and until what during the installtaion you have not changed the prefix for ODI).

  • Return the record type


    Hello

    I have a requirement of the company, where I need to return a record type (OUT parameter) for environment call based on the given input value.

    Suppose that if the value is correct and corresponding record is found in the table then the return values for this key entry. If matching record is found, then return the exception to the calling environment.

    To do this, I created an example of test table and populated records.

    create table plch_test(dept_id number,dept_name varchar2(50),cost_centre number);
    insert into plch_test values(10,'SALES',1010);
    insert into plch_test values(20,'FINANCE',2010);
    insert into plch_test values(30,'MKTG',3010);
    
     
    SQL> select * from plch_test;
       DEPT_ID DEPT_NAME                                          COST_CENTRE
    ---------- -------------------------------------------------- -----------
            10 SALES                                                     1010
            20 FINANCE                                                   2010
            30 MKTG                                                      3010
    
     
     
    

    I wrote a simple block and gave a valid key dept_id (10 in this case) to display costcentre for this dept_id and dept_name I said tow types of records, one for valid record and another exception

    
    

    SQL> DECLARE 
      2  TYPE rec_dept IS RECORD(dept_name varchar2(50),cc number);
      3  l_rec_dept rec_dept;
      4  TYPE rec_exception IS RECORD(err_code number,error_message varchar2(300));
      5  l_rec_exception rec_exception;
      6  BEGIN
      7  SELECT dept_name,cost_centre
      8  INTO l_rec_dept
      9  FROM plch_test
     10  where dept_id=10;
     11  dbms_output.put_line('DEPT_NAME'||' '||l_rec_dept.dept_name||' '||'COSTCENTRE'||' '||l_rec_dept.cc);
     12  EXCEPTION WHEN NO_DATA_FOUND THEN
     13  l_rec_exception.err_code:=sqlcode;
     14  l_rec_exception.error_message:=sqlerrm;
     15  dbms_output.put_line(l_rec_exception.err_code||' '||l_rec_exception.error_message);
     16  END;
     17  .
    SQL> /
    DEPT_NAME SALES COSTCENTRE 1010
    PL/SQL procedure successfully completed.
    SQL> 
    
     
    

    Now for invalid dept_id and expose the message by using exception record type I stated.

    SQL> ed
    Wrote file afiedt.buf
      1  DECLARE
      2  TYPE rec_dept IS RECORD(dept_name varchar2(50),cc number);
      3  l_rec_dept rec_dept;
      4  TYPE rec_exception IS RECORD(err_code number,error_message varchar2(300));
      5  l_rec_exception rec_exception;
      6  BEGIN
      7  SELECT dept_name,cost_centre
      8  INTO l_rec_dept
      9  FROM plch_test
     10  where dept_id=40; --Invalid --data is not present
     11  dbms_output.put_line('DEPT_NAME'||' '||l_rec_dept.dept_name||' '||'COSTCENTRE'||' '||l_rec_dept.cc);
     12  EXCEPTION WHEN NO_DATA_FOUND THEN
     13  l_rec_exception.err_code:=sqlcode;
     14  l_rec_exception.error_message:=sqlerrm;
     15  dbms_output.put_line(l_rec_exception.err_code||' '||l_rec_exception.error_message);
     16* END;
    SQL> /
    100 ORA-01403: no data found
    PL/SQL procedure successfully completed.
    
    

    Now as you can see I need to include this point in a procedure with an input parameter and output must be a record types which will return

    rec_dept if it becomes a key input valid or an exception if she meets a key not valid.

    
    CREATE PROCEDURE test_prc IS(p_in_dept_id IN plch_test.dept_id,p_output ??????
    DECLARE 
    TYPE rec_dept IS RECORD(dept_name varchar2(50),cc number);
    l_rec_dept rec_dept;
    TYPE rec_exception IS RECORD(err_code number,error_message varchar2(300));
    l_rec_exception rec_exception;
    BEGIN
    BEGIN
    SELECT dept_name,cost_centre
    INTO l_rec_dept
    FROM plch_test
    where dept_id=p_ind_dept_id;
    RETURN l_rec_dept;
    EXCEPTION WHEN NO_DATA_FOUND THEN
    l_rec_exception.err_code:=sqlcode;
    l_rec_exception.error_message:=sqlerrm;
    RETURN l_rec_exception;
    END;
    dbms_output.put_line('DEPT_NAME'||' '||l_rec_dept.dept_name||' '||'COSTCENTRE'||' '||l_rec_dept.cc);
    END;
    

    Hope that the explanation above help in imposes the requirement

    Kind regards

    Claudy kotekal

    Return a record which can mean two things is complicated; I'm not an experienced myself pl/sql developer, but this looks like a craft.

    The idea of exceptions under Sir Thomas of Kyte, is that any treatment must be stopped; You should RAISE an exception to the appellant so that he can figure out what to do with it.  What you are saying, this is an exception, but is not a little, cos it's okay, I'll just keep but I will go back to the appellant in any way, but the appellant shall include this registration type is - would it be a record representing a row of the table, or it might be an exception... yuck.

    (a) is it really an exception

    (b) what do you do with it? You he could log into a table, you could write to a file, you can display an error message on the screen

    But really, it's weird to want to pass an exception as return value.

    These are all considerations of design, not really anything to do with the pl/sql language in itself.

    But hard, if you send a record type a successful being found, registration-based stick to it and don't use it to return a record; do not try to do double duty with her flipping something else.  Just save the message put in a table, or print it to the console, or what you want to do with; but as I said, the most important decision is, is this really an exception. And is based on the data model and the expectations of cleanliness of the data etc.

    Think about how you call built-in functions. If you send garbage to a built-in function it does not return successfully, leaving you to figure out whether he succeeded or not by inspecting the return value; It goes kaboom, something bad happened.  That's what your function should do if something bad happens, that is to say, if you get an exception, it should probably go kaboom.

  • fusion of the fields to return 1 record instead of 2 or more

    Hi all

    New here and maybe above novice in SQL statements, but it's escape me if its even possible.

    The problem is that I have tables in the main table is unique id'd records and not dupes, table 2 contains the unique id of 1, but can contain multiple because some areas are the entry like one to multiple and stored values in the form of 2 folders. What I need to be able to do is to shoot that these records back out as 1 Plug and not multiple. Example as follows:

    Int table1 ID (INT PK SINGLE) Field1, Field2 int - theres only one ton more fields but not necessary to even put them here
    Table2 ID INT, int Field1, Field2 int - once again a ton more is not necessary


    Table1:
    ID Field1 Field2
    1 2 5
    2 5 5

    Table2
    ID Field1 Field2
    1 1 3
    1-3-3
    2-1-1
    2-3-1
    2 1 2

    And so when I do a select and do a left outer join on the ID I'm would get returned 2 records for ID 1 and ID 2 3 records.

    Any ideas on how to merge the 2fields Table Select to return only records?

    Thank you

    Stan

    Hi, Stan,

    Welcome to the forum!

    If you want a row of output for each id. What do you want on this line? After the correct output, want to get sample data you have already posted.

    This site normally compresses white space, so if you want to post something when the columns are well aligned, and then type the 6 characters:

    {code}

    (small letters only, inside curly braces) before and after the section of text formatted to preserve spacing.

    You can ask on the aggregation of the string, in which case [this page | http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php] will be helpful.

  • Can I make a record on the Air of MacMook, etc.. ?

    In our master class, we use "Collaborate" for audio visual. Here is a somewhat convoluted series of question for which I couldn't find an answer online.

    1. can I I dictate a recording on MacBook Air? When I try to play the record AND dictate, there is no sound. That is, it seems that I can have one or the other, but not both.

    2. just behind that, can I make a voice memo to my iPhone? I know that it will be on my MacBook but I encounter the same problem. Is there an "end-around" that would allow me to do this?

    3. is there a software that would allow me to do this?

    4. is there a way that I could use a splitter microphone cable that allow me to do that?

    5. Finally, if I have a 3.5 male cable, it would allow me to dictate (or save) from the iPhone directly on the MacBook Air.

    Any help on this maze would be a great help. Also, I'm techno-challenged so a process step by step would also be useful.

    Thank you!

    I suggest you section in the Apple local store for a discussion with one of the geniuses.

    I guess this app is the Blackboard application work?

    1: Yes, OS X can record audio.    GarageBand from Apple iLife app is commonly used for this and can be effective to record audio and to overlay additional tracks on audio existing.   Better get a mic if you can manage that, the microphone has a terrible audio quality.   The people of Blue Microphone products with good reputation, as do AudioTechnica and other sellers...

    1a: simultaneous record and playback means that you pick up playback during recording if you're not careful.  Which means a helmet or another mechanism to keep the isolated audio tracks or a directional microphone with noise cancellation.  Headphones are probably preferable here, too.   Mikes can and do pick up all kinds of noise, even the most accomplished.

    2: Yes, there is an audio recorder app on iOS.

    2a: same problem as 1 a - you need to separate the channels to the inputs and outputs.

    3: See what GarageBand can do - but it is the registration center and not collaboration - and maybe the products proposed by Rogue Amoeba or Audacity.

    4: again, you must separate channels of input and output (and headset), or you get the audio output in return via the input channel.

    5: I think technically possible, but you will get the output on the input and sound from the microphone of the iPhone is not very good either.

    To save a collaboration and not the typical rather more static recording with GarageBand, the various applications that are people doing podcasting are probably in the arena just for your needs here, especially if they can - as different packages can do, either directly or through the products of Rogue Amoeba - audio capture from several sources.   Several people use these tools for audio Messages (for example) or Skype capture of several participants, as part of the capture of content for an audio podcast.

    There are various podcasting discussions around, too.

  • Web service PLSQL returning multiple records

    Hello

    I am creating a web service using oracle 11 g, which should be able to return multiple records.

    Based on the code and the advice of the samples found on the internet, here is my code:

    CREATE OR REPLACE TYPE test_rec is OBJECT (
        s_nume_adre                    NUMBER ,
        c_eta_civi                     VARCHAR2(4 BYTE),
        l_nom1_comp                    VARCHAR2(40 BYTE),
        l_nom2_comp                    VARCHAR2(40 BYTE),
        l_nom3_comp                    VARCHAR2(40 BYTE),
        l_pren_comp                    VARCHAR2(30 BYTE),
        d_date_nais                    DATE);
    
    
    CREATE OR REPLACE TYPE test_array AS TABLE OF test_rec;
    */
    
    CREATE OR REPLACE PACKAGE test_pkg AS
      function get_rows(snume_adre in number) return test_array;
    END;
    /
    
    CREATE OR REPLACE PACKAGE BODY test_pkg AS
      function get_rows(snume_adre in number) return test_array is
        v_rtn   test_array := test_array(null);
        v_first boolean := true;
    
        cursor c_get_rows(snume_adre in number) is
          SELECT a.s_nume_adre,
                 nvl(a.c_eta_civi, '') c_eta_civi,
                 nvl(a.l_nom1_comp, '') l_nom1_comp,
                 nvl(a.l_nom2_comp, '') l_nom2_comp,
                 nvl(a.l_nom3_comp, '') l_nom3_comp,
                 nvl(a.l_pren_comp, '') l_pren_comp,
                 nvl(a.d_date_nais, to_date('01.01.1900', 'dd.mm.yyyy')) d_date_nais
        FROM bro.z45 a
      where a.s_nume_adre = snume_adre or snume_adre is null;
    
      begin
       
        for rec in c_get_rows(snume_adre) loop
          if v_first then
            v_first := false;
          else
            v_rtn.extend;
          end if;
       
        v_rtn(v_rtn.last) := test_rec(rec.s_nume_adre, rec.c_eta_civi, rec.l_nom1_comp, rec.l_nom2_comp,
                                    rec.l_nom3_comp, rec.l_pren_comp, rec.d_date_nais);
        end loop;   
    
        return v_rtn;
      end;
    END;
    /
    
    --select * from table (test_pkg.get_rows(null));
    
    
    

    I am able to retrieve data using select.

    However, when I try to access its wsdl I get an error:

    < envelope soap: >

    < soap: Body >

    < soap: Fault >

    Client: soap < faultcode > < / faultcode >

    entry processing < faultstring > error < / faultstring >

    < detail >

    < OracleErrors > < / OracleErrors >

    < / details >

    < / soap fault: >

    < / soap: Body >

    < / envelope soap: >

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

    If I comment the function call in the package declaration I get a "correct": wsdl

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

    " < name definitions = targetNamespace"GET_ROWS"=" http://xmlns.Oracle.com/orawsv/test/TEST_PKG/GET_ROWS "xmlns =" http://schemas.xmlsoap.org/wsdl/ "xmlns:tns =" http://xmlns.Oracle.com/orawsv/test/TEST_PKG/GET_ROWS "container =" http://www.w3.org/2001/XMLSchema "xmlns:soap =" http://schemas.xmlsoap.org/wsdl/SOAP/ "> " ""

    < types >

    " < xsd: Schema targetNamespace = ' http://xmlns.Oracle.com/orawsv/test/TEST_PKG/GET_ROWS "elementFormDefault ="qualified"> "

    < xsd: element name = "GET_ROWSInput" >

    < xsd: complexType >

    < / xsd: complexType >

    < / xsd: element >

    < xsd: element name = "GET_ROWSOutput" >

    < xsd: complexType >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: Schema >

    < / types >

    < name of message = "GET_ROWSInputMessage" >

    < name of part = "parameters" element = "tns:GET_ROWSInput" / >

    < / message >

    < name of message = "GET_ROWSOutputMessage" >

    < name of part = "parameters" element = "tns:GET_ROWSOutput" / >

    < / message >

    < portType name = "GET_ROWSPortType" >

    < operation name = "GET_ROWS" >

    < input message = "tns:GET_ROWSInputMessage" / >

    < output message = "tns:GET_ROWSOutputMessage" / >

    < / operation >

    < / portType >

    < connection name = "GET_ROWSBinding" type = "tns:GET_ROWSPortType" >

    " < style: soap = transport = 'document' binding ' http://schemas.xmlsoap.org/SOAP/HTTP "/>

    < operation name = "GET_ROWS" >

    < soap: operation soapAction = "GET_ROWS" / >

    < input >

    < soap body parts: = 'settings' use = "literal" / >

    < / Entry >

    < output >

    < soap body parts: = 'settings' use = "literal" / >

    < / output >

    < / operation >

    < / binding >

    < service name = "GET_ROWSService" >

    < documentation > Oracle Web Service < / documentation >

    < name of port = "GET_ROWSPort" binding = "tns:GET_ROWSBinding" >

    " < soap: address location = ' http://server.domain.ch:8080 / orawsv/TEST/TEST_PKG/GET_ROWS "/>

    < / port >

    < / service >

    < / definitions >

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

    Any suspicion that how create and access pl sql web service returning multiple lines?

    I use java not and do not have access to tools such as JDeveloper.

    Thank you!

    The real problem is that collection types are not supported for the return parameters.

    The solution is to wrap the collection into another object.

    Here is an example of work based on your settings:

    CREATE OR REPLACE TYPE test_rec is OBJECT (
      empno  number(4)
    , ename  varchar2(10)
    , hiredate date
    );
    /
    
    CREATE OR REPLACE TYPE test_array AS TABLE OF test_rec;
    /  
    
    CREATE OR REPLACE TYPE test_array_wrapper is OBJECT ( arr test_array );
    /
    
    CREATE OR REPLACE PACKAGE test_pkg AS
      function get_rows(p_deptno in number) return test_array_wrapper;
    END;
    /  
    
    CREATE OR REPLACE PACKAGE BODY test_pkg AS
      function get_rows(p_deptno in number) return test_array_wrapper is
        results  test_array;
      begin  
    
        select test_rec(empno, ename, hiredate)
        bulk collect into results
        from scott.emp
        where deptno = p_deptno;     
    
        return test_array_wrapper(results);
      end;
    END;
    /
    

    The wsdl is then generated correctly:

    SQL> select httpuritype('http://DEV:dev@localhost:8080/orawsv/DEV/TEST_PKG/GET_ROWS?wsdl').getxml() from dual;
    
    HTTPURITYPE('HTTP://DEV:DEV@LOCALHOST:8080/ORAWSV/DEV/TEST_PKG/GET_ROWS?WSDL').GETXML()
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
      
        
          
            
              
                
              
            
          
          
            
              
                
              
            
          
          
            
              
                
                  
                    
                      
                        
                          
                        
                      
                    
                  
                
              
            
          
          
            
              
              
                
                  
                    
                  
                
              
              
            
          
        
      
      
        
      
      
        
      
      
        
          
          
        
      
      
        
        
          
          
            
          
          
            
          
        
      
      
        Oracle Web Service
        
          
        
      
    
    
  • Add a string when the query returns all records

    DB version: 11.2

    create table t (empname varchar2 (25), salary number, varchar2 (20) months, number of over_time);

    insert into values t ('JOHN', 2000, "NOVEMBER2014", 0);

    insert into values t ('KATE', 2000, "NOVEMBER2014", 300);

    insert into values t ('HANS', 5000, "NOVEMBER2014", 100);

    insert into values t ("KRISHNA", 2500, "NOVEMBER2014", 0);

    insert into values t ("SIEW", 3000, "NOVEMBER2014", 0);

    commit;

    SQL > select * from t;

    EMPNAME MONTHS SALARY OVER_TIME

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

    JOHN 2000 NOVEMBER2014 0

    KATE 2000 NOVEMBER2014 300

    HANS 5000 NOVEMBER2014 100

    KRISHNA 2500 NOVEMBER2014 0

    SIEW 3000 NOVEMBER2014 0

    SQL > select * from t where MONTH = 'NOVEMBER2014' and OVER_TIME! = 0 ;

    EMPNAME MONTHS SALARY OVER_TIME

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

    KATE 2000 NOVEMBER2014 300

    HANS 5000 NOVEMBER2014 100

    What I need is:

    If the query above returns at least one record, it should display the line ' Yes. We have one or more employees who worked overtime in November2014'

    before the documents are printed

    Thus, the expected production is

    Yes. We have one or more employees who worked overtime at the November2014

    EMPNAME MONTHS SALARY OVER_TIME

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

    KATE 2000 NOVEMBER2014 300

    HANS 5000 NOVEMBER2014 100

    If the query returns no records then usual 'no rows selected' isn't enough

    Lothar G.f. says:

    In fact, sql * more is no good tool for use considered.

    Really?  It may be a good reporting tool if you learn to use it as such...

    for example

    SQL > ttitle left 'Yes. We have one or more employees who worked overtime in November2014.
    SQL > select * from emp where empno = 1234;

    no selected line

    SQL > select * from emp where empno = 7788;

    Yes. We have one or more employees who worked overtime at the November2014
    EMPNO, ENAME, JOB HIREDATE DEPTNO COMM SAL MGR
    ---------- ---------- --------- ---------- -------------------- ---------- ---------- ----------
    7788, SCOTT, ANALYST, 7566 19 APRIL 1987 00:00:00 3000 20

    This is just a basic example.  It is possible to get SQL * more to ask for the required criteria and that the title could adjust according to this criterion, as well as the query building on it also.

    However, the OP did not specify SQL * as the reporting tool, so there is little interest providing a complete solution which, until they specify what user interface that they are actually using.

  • pls 00382 expression is of the wrong type as he returned a record

    Hi Experts,

    I returned a record type variable in the function below. but I'm getting pls 00382 expression is of the wrong type error

    Could you please all you please solve this problem.

    {format} {format}

    CREATE or REPLACE TYPE vp40.t_attr_list_tab AS TABLE OF VARCHAR2 (4000);

    CREATE or REPLACE TYPE vp40.t_fin_tab () AS OBJECT

    object_id NUMBER (8),

    object_name VARCHAR2 (50)

    );

    create or replace type vp40.t_objects_info

    AS AN OBJECT

    (

    node_id number,

    NUMBER THE OBJECT_ID,

    OBJECT_NAME VARCHAR2 (200)

    );

    / * Formatted on 2013/09/03 07:58 (trainer more v4.8.8) * /.

    (Vp40.findobjects) FUNCTION to CREATE or REPLACE

    i_object_type_id in NUMBERS

    i_l_filter_list IN VARCHAR2,

    i_scope_node_id NUMBER

    )

    RETURN t_fin_tab

    AS

    l_tab t_attr_list_tab: = t_attr_list_tab ();

    TYPE t_objects_info_arr IS TABLE OF THE t_objects_info

    INDEX BY PLS_INTEGER;

    l_obj_info t_objects_info_arr;

    TYPE t_fin_tab_arr IS TABLE OF THE t_fin_tab

    INDEX BY PLS_INTEGER;

    l_fin_tab t_fin_tab_arr;

    l_text VARCHAR2 (32767): = i_l_filter_list | ',';

    l_idx NUMBER;

    BEGIN

    LOOP

    l_idx: = INSTR (l_text, ",");

    OUTPUT WHEN NVL (l_idx, 0) = 0;

    l_tab. EXTEND;

    l_tab (l_tab. (Last): = TRIM (SUBSTR (l_text, 1, l_idx - 1));

    l_text: = SUBSTR (l_text, l_idx + 1);

    END LOOP;

    SELECT t_objects_info (n.node_id, o.object_id, o.NAME)

    LOOSE COLLECTION l_obj_info

    FROM (SELECT n.node_id, n.object_id

    N nodes

    START WITH n.node_id = i_scope_node_id

    N.node_id CONNECT BY PRIOR = n.parent_node_id) n

    JOIN IN-HOUSE

    objects o ON o.object_id = n.object_id

    WHERE o.object_type_id = i_object_type_id;

    IF l_obj_info. COUNT > 0

    THEN

    BECAUSE me IN l_obj_info. FIRST... l_obj_info. LAST

    LOOP

    FOR j IN l_tab. FIRST... l_tab. LAST

    LOOP

    BEGIN

    SELECT t_fin_tab (o.object_id, o.NAME)

    LOOSE COLLECTION l_fin_tab

    O objects, ATTRIBUTES att

    WHERE o.object_id = l_obj_info (i) .object_id;

    AND att. VALUE = l_tab (j);

    EXCEPTION

    WHEN NO_DATA_FOUND

    THEN

    raise_application_error

    (- 20004,

    "Attribute values do not match."

    );

    WHILE OTHERS

    THEN

    raise_application_error (-20005, "an error has occurred.");

    END;

    END LOOP;

    END LOOP;

    END IF;

    RETURN l_fin_tab;

    END;

    /

    {format} {format}

    Hello

    Sorry, I don't understand,

    mbb774 wrote:

    ...

    -for example with node_id = 100 and object_type_id = 200

    -Suppose we get 4 items

    ...

    Do you have after the bad examples of data? I don't see numbers of 100 or 200 anywhere in the sample data you posted.

  • How can I fill the records using the value LOV

    Create a form based on the use of the following output Table EMP

    Create a database block IE control-> Dept No. block


    Create a database block - EMP
    Create a LOV to the Dept not according to the dept table.
    For the current No. Dept. Complete records of the employees

    How can I fill the records using the value LOV?


    Thank you

    Hello

    Create trigger KEY-LISTVAL for control_block.dept_no with code similar to the following:

    IF SHOW_LOV ('LOV_NAME') THEN
            SET_BLOCK_PROPERTY ('EMP_BLOCK', DEFAULT_WHERE, 'DEPT_NO = ' || :CONTROL_BLOCK.DEPT_NO);
         GO_BLOCK ('EMP_BLOCK');
         EXECUTE_QUERY;
    END IF;
    

    Hope this helps

    Best regards

    Arif Khadas

  • I can't find the recorded files recently in my document folder

    I can't find the recorded files recently in my document folder

    Maybe not save them there.

    Assuming that you have saved the today, go to the Finder, type 'Today' in the oval at top right.

  • I can't write operating records

    My hay program mast view some data from a controller. This with an Ethernet connection. I read everything and I can write coils bet I can't write operating records. I hope someone can help? Heir my VI: Rutte

    With split or join in the digital numbers / range of data manipulation, you can take two U8 and join them in a single U16 (and vice-versa using split).  And you can take two U16 and join them in an only U32.

    Take a look at the attached Subvi, I did.  It is a wrapper for the Modbus VI functions so that I could use enumerations to read or write specific registers by name and manage the manipulation of data as a result.  It may call for a couple of typedef, that I created for my particular application, but that should not prevent you to see the structure and how I did the manipulation of data using the split and join.

  • How can I add a 'Record number' column in a folder that contains the music?

    How can I add a 'Record number' column for my music files?  It does not appear as a column I add when I right click on the folder in its display of details.  Zune program uses this file attribute.

    I learned from this thread (http://social.technet.microsoft.com/Forums/en/w7itpromedia/thread/47e46e5a-63c0-4a92-b39d-64ea9a07953e) Windows Media Player 12 IS NOT only an attribute of disc number!  Incredible.  Zune has it, and it works fine.   Come on Microsoft, please join us in THIS century it please?

  • How can I make my adodc more quickly connect my SqlServer?, its takes a minute before that I can view thousands of record in my listview.

    How can I make my adodc more quickly connect my SqlServer?, its takes a minute (so long) before I can view thousands of record in my listview.please someone help me.

    I'm using...

    Public Class McheckpaymentNew
    Cn as New ADODB. Connection
    Private RS As New ADODB. Recordset

    Private Sub McheckpaymentNew_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    Try

    CN. ConnectionString = "DSN = database; UID = user; PWD = password"
    CN. Open()

    RS. CursorLocation = ADODB. CursorLocationEnum.adUseClient
    RS. CursorType = ADODB. CursorTypeEnum.adOpenStatic
    RS. LockType = ADODB. LockTypeEnum.adLockBatchOptimistic

    Catch ex As Exception
    MsgBox ("could not connect!, please check your network connections, or Contact MIS Dept. for assistance.", vbCritical, "Error connecting to the database...")
    End
    End Try

    End Sub

    Please correct if I wrong use, causing the delay.please someone help me...


    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.msdn.Microsoft.com/forums/en-us/home

  • I can't stop the recording of data on a DVD. is it possible to stop this?

    I can't stop the recording of data on DVD

    is it possible to stop this?

    It indicates a security error

    Please help as recycling seems to be the only solution

    Original title: HP Pro Book S-series windows 7 proffessional

    Hello Mike,.

    Thanks for posting your question on the Forum of the Microsoft community.

    I understand that you have problems with a DVD, but I would like to learn more about the issue to provide you with better assistance.

    1. What do you mean when you say, 'I can't stop recording of data on a DVD?
    2. You talk about a blank rewritable DVD? It is specific to a particular disc?
    3. What is the accurate and complete error message when you say, 'this shows that a security error "?
    4. Are you able to eject the DVD? If so, what happens when you save the data without any disc in the drive?

    I suggest you to provide the information identified above to refine the question and provide you with better assistance. Apart from that, you can try the mentioned below of methods based on specified corresponding understanding.

    Method 1:

    If you mean that the data you record are, by default, saved on the DVD player, then you can change the default save location as detailed below.

    1. Open libraries.
    2. Right-click on the Documents folder, and then click Properties.
    3. Click on restore the default settings.
    4. Repeat steps 2 and 3 for the musicfiles, photos and videos in the library.

    Try to save all the data and check if the number is reproduced.

    Method 2:

    If you have problems with the specific DVD when inserted into the CD/DVD drive, you can try to let flow the next fixit and check if it helps.

    http://support.Microsoft.com/mats/cd_dvd_drive_problems

    Hope this information is useful. Please post back with the information required for any further assistance. We will be happy to help you.

Maybe you are looking for

  • How to remove iMessage, if I can't use the old SIM card?

    I've traveled abroad and used a temporary SIM card with my iPhone 6. Now I'back home, inserted my regular SIM card but iMessage continues to try to register with the temporary number, I used abroad. Although I always temporary SIM card, it is useless

  • using find my iPhone for missing phone if offline

    Hi guys. My father in another State has lost his iphone, and I try to help him from another State. Needless to say it is not so good with these things. However, I HAVE configured previously find my iphone, iCloud backup etc and I saved all his passwo

  • framework of the actor

    Hello Where can I get the version of the Framework of actor that I have on my PC? Best regards, Bjarne

  • Network device network implementation network Ethernet card network card wireless

    Hello I can not started my google page when I put myself on tape public sfr wifi then ke until then I had no problem! I do an analysis of microsoft and is telling me that the computer settings are good but not Microsoft does ke. How do I? Pour me fin

  • Don't download win - xp 6 kb2572073,

    I have downloads on hold and I automatically download it does but the icon (shield w /!) always returns download w/same