MS Access AS condition returns zero records

When you use the 'WHERE' clause to the status of 'LIKE' with database connectivity kit, I have zero records returned by my Access database. The exact same query text running in MS Access returns the correct number of records.

"I use the" Open DB: ', DB run the query "and then"extract the data recordset"live

Replacement of SIMILAR with a simple "=" will return the corresponding as expected a record.

Is there a known issue with the condition of 'LIKE '?

Bill

LabVIEW 2011 SP1

While the former, this can enlighten us:

http://forums.devarticles.com/Microsoft-Access-development-49/like-operator-not-working-with-Ms-ACCE...

Your SIMILAR statement may not be properly trained.  Insida access, the connection is different from the one through ODBC, and similar generic characters are different as well.

Tags: NI Software

Similar Questions

  • 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
        
          
        
      
    
    
  • How to access a conditional expression IF-step via API?

    If we have a flow control stage IF so we can access its conditional expression via:

    "" 'RunState.SequenceFile.Data.Seq ["MainSequence']." Hand ['IF']. ConditionExpr

    How to access this term if we do not know the type of step beforehand? I create a sort of auditor of static expressions. I have access to a step through

    RunState.InitialSelection.SelectedFile.Data.Seq [Locals.seqIndex]. GetStep (Locals.stepIndex, Locals.groupIndex)

    What if

    RunState.InitialSelection.SelectedFile.Data.Seq [Locals.seqIndex]. GetStep (Locals.stepIndex, Locals.groupIndex). StepType.Name == "NI_Flow_If".

    then I want to use the Engine.CheckExpression method to the conditional expression IF-step

    Hey maksya,

    Attached is a file of sequence with a flow control if statement that checks to see if the step is a 'NI_Flow_If' using:

    "" 'RunState.SequenceFile.Data.Seq ["MainSequence']." GetStep (0, StepGroup_Main). StepType.Name == "NI_Flow_If".

    If this is the case, it will then call check expression on the current ConditionExpr:

    RunState.Engine.CheckExpression (ThisContext, RunState.SequenceFile.Data.Seq ["MainSequence"]. GetStep(0,StepGroup_Main). ConditionExpr, 0, Locals.errorString, NULL, null)

    You will notice that this expression is not valid, and that's because "ConditionExpr" is not valid for all types of step.  However, because this step will not work UNLESS the stage is a NI_Flow_If, the expression will be valid at run time.

    Also is that I changed to using InitialSelection.SelectedFile to SequenceFile just to facilitate the testing of the installation.  However, it will be the same for your SelectedFile.

  • Table of index always returns zero when reading the table 3D

    I have a 9 x 2000 x 5 table table 3D diamension.  I have this table filled with data and when I try to read a data point unique on the table the function Index Array always reads zero. I place a probe on the 3D input array and when I put in the index of the probe to the same data point the probe shows the value stored in the table. I also have an indicator showing the 3D table and it displays data in all locations. For example if I try to read the location 0, 144.0 in 3D it array always return zero. Yet I know that the value of this element is 6.8616E - 5. Each item I try to retreave table gives zero.

    Anyone saw the Index room table this kind of behavior?

    Problem solved. As usual, it was pilot error on my part had knocked down the lines of lines and columns.

  • error message trying to run a clean boot "an access error was returned while trying to change a service."

    While trying to solve a problem with IE 8, I have a problem trying to run a clean boot.  When I start up I get a message on change in the config file. Click ok and sys config is displayed. Now, if I make a modification, OR not, I get an error message - "an access error was returned while attempting to change a service. You may need to log on using an administrator account to make the specified changes. "First of all I am logged on as administrator, secondly I get this error even when I select"normal start ". I used the clean boot before without problem.  Any ideas?  I am running win xp sp3.  I started having problems after the sp3 upgrade.

    Given that you are not using the standalone SP3 Installer AND since McAfee was working at the time of installation, that's what I'd do (well, I would do it only if I was almost 100% convinced there was no malware on my system):

    1. download the McAfee removal tool.

    2. download the installation file for the free version of Avira AntiVir.

    3. download the standalone SP3 Installer.

    4. download the standalone installer of IE8.

    5. physically disconnect from the Internet.

    6 turn off the automatic updates (temporarily).

    7 uninstall McAfee.

    8 run the McAfee removal tool to make sure that all other loose ends are supported.

    9 Uninstall SP3.

    10. run the system restore, select the before date SP3 has been installed.

    11 uninstall IE8 (and IE7, if necessary). Reason: It is important to be at the level of IE6.

    12 install the SP3. Reset.

    13 Installing IE8. Restart twice.

    14 install AntiVir.

    15 re - connect to the Internet.

    16. download and install the update of AntiVir.

    17 go into Windows Update and install all post-SP3 SECURITY update (stay away from any optional object).

    18 re-rockers automatic updates.

    After the back if you need links to the downloadable.

  • 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.

  • 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.

  • 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

  • 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.

  • one of the three conditions, return true

    I just saw the GOLD (Boolean Express) where if one of the TWO conditions, then return true to stop the labview.

    Y does it have that provides all Boolean Express if one of THREE conditions met, return true?

    type in compound under the rapid fall.

  • CTRL val get reference returns zero refnum

    I use 'ctrl val get' in a vi.  The value it gets is a bunch of references, the references are returned with a value of zero.  Is there a prohibition against the use of 'ctrl val get' by references?

    Adde a probe earlier to see what Ref was not valid.

    Ben

  • GetRawInputDeviceList / GetRawInputDeviceInfo return zero for hid.usUsage and hid.usUsagePage _

    GetRawInputDeviceList call (.) / GetRawInputDeviceInfo works great on Windows Vista and Windows 7, but running the same code on a PC running Windows XP, returns RID_DEVICE_INFO structures where the fiedls. hid.usUsage and. hid.usUsagePage are filled with zeros.

    This is not implemented on Windows XP?

    UINT nDevices;
    UINT uiCount = GetRawInputDeviceList (NULL, & nDevices,

    sizeof (RAWINPUTDEVICELIST));
    If (-1! = uiCount & nDevices > 0)
    {
    RAWINPUTDEVICELIST * pRawInputDeviceList = new RAWINPUTDEVICELIST [nDevices];
    If (pRawInputDeviceList)
    {
    uiCount = GetRawInputDeviceList (pRawInputDeviceList & nDevices, sizeof (RAWINPUTDEVICELIST));
    Di RID_DEVICE_INFO = {0};
    for (unsignedint iNdx = 0; iNdx)< ndevices;="" indx++="">
    {
    Memset (& di, 0, sizeof (di));
    UINT uiSizeOfDI = sizeof (di);
    UINT uiDI = GetRawInputDeviceInfo (pRawInputDeviceList [iNdx] .hDevice, & RIDI_DEVICEINFO, & uiSizeOfDI);

    di.hid.usUsage & di.hid.usUsagePage are on XP always 0.

    We use this function to find the correct values for the busy and usUsagePage of a scanner barcode for our call to RegisterRawInputDevices (.)
    I couldn't find any documentation on the correct values. The values returned on a Windows 7 PC dosometimes work on Windows XP.

    / * static * /.

    bool CBarcodeScanner_RawInput::RegisterForRawInput (HWND hWnd)
    {
    RAWINPUTDEVICE rid = {0};
    rid.dwFlags = RIDEV_INPUTSINK;
    rid.hwndTarget = hWnd;
    rid.usUsage = 0x4A00;
    rid.usUsagePage = 0xFF45;
    UINT uiRegCount = RegisterRawInputDevices (& RID, 1, sizeof (RAWINPUTDEVICE));
    Return uiRegCount > 0;
    }

    Is there a universal approach to solve this problem?

    Kind regards

    Jan Oudkerk

    Hey Jan Oudkerk,

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the MSDN Web site. Please post your question in the MSDN forum. Link: http://social.msdn.microsoft.com/Forums/en/categories

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • Access denied, need permission to record a simple text file

    I recently installed Windows 7 Ultimate Build 7600.  This pc is a pc private home with no one else having access or all other user accounts.

    Even something as simple as change, then by recording a Notepad text file is not suitable.

    Things, I tried to solve this problem:

    1 taking possession; It shows that I am the owner
    2 set the permissions for the 'total control '; shows all the boxes ticked in permissions
    3 set my profile only on this pc to be called w/admin Admin privileges
    4 - Set the slider all the way up to minimum level UAC
    5 used "control of userpassword2" to disable login by username
    6 tried to set sharing to other users; was not allowed to do this.

    I was able to save/edit this text file, while in Mode without failure.  However, when I login to my account the singular admin, I am not allowed to save a plain text file.

    I read extensively on this issue as well as snobs "admin" who think that I should not have full control of the files/folders that I have control over.  It's my pc, and if I accidentally ruin, then so be it.

    UAC is an understandable feature for Rookie pc users.  However, the option should be there for pc users experienced changes on their personal computers without harassment by Redwood.

    Rant aside, does anyone have a real solution to a simple text file can be edited and saved without going into Safe Mode and connecting to the main account?

    Thank you.

    Hello

    If you log in using the hidden Windows administrator account, you should have no trouble.
    1, log in using your normal account
    2, open the command line by right-clicking on the icon and run as admin.
    3, type "net user administrator / Active: Yes" and press enter
    4, log off your user account and when the login screen appears you should now see a new admin logon.
    5, once connected to this account, you should be OK to change your files.
    6, before closing this admin account back to the cmd prompt and
    Type "net user administrator / active: No.»
    7, sign out, then work I hope.
    Good luck
    Mike
  • Is there any way to access the disabled user account record? : - 1.5 CWMS MR1

    Hello

    We, users who represent we want to turn off, but in that user profile recordings are available.

    As currently CWMS have no download option so we / he cannot store locally

    We want to know is there any way we can access his record after disabling his account?

    (FYI :-sso to authantication, we have implemented)

    Help & information will be our concern! Help, please

    Thank you

    Pratik Nimablkar

    Hey Pratik,

    As long as registration has been shared (manually via the share record option that has the host or through the e-mail received by participants) and then the link for registration will be still valid after the user is disabled.

    There is no other way to access this disk once the account is disabled, also to reactivate it, log and generate the share link for records associated with the account.

    Thank you

    Derek Johnson

    TAC Conference

Maybe you are looking for