How to retrieve the values of character without using single quotes

Hi all

How to retrieve the values of character without the use of single quotes. Its Possible in Oracle SQL

Please answer me...

For example

Is actual query-> Select * from employees where name like in("SCOTT", "JAMES", "ALBERT",...);

I want to--> Select * from employees where name like(SCOTT, JAMES, ALBERT...); -without the use of single quotes.

Why I need this application, I need to retrieve the records more than 200 employees in a select statement by using name in where clause.

shagarmahabubjan wrote:

Hi all

How to retrieve the values of character without the use of single quotes. Its Possible in Oracle SQL

Please answer me...

For example

Actual query is---> Select * from employees where name like in("SCOTT", "JAMES", "ALBERT",...);

I want to---> Select * from employees where name like(SCOTT, JAMES, ALBERT...); -without the use of single quotes.

Why I need this application, I need to retrieve the records more than 200 employees in a select statement by using name in where clause.

In short... you can't.  The channels are channels, and SQL and PL languages dictate that the string literals are provided within single quotes.

I don't see how trying to retrieve more than 200 records of employees in the select statement means that you must get rid of the quotes.

Be clear in what you ask: Re: 2. How can I ask a question on the forums?

and take note of the FAQ link davidp provided the solution "variable IN the list.

Tags: Database

Similar Questions

  • search form Web apps: how to retrieve the value of the data-source type field

    Hello

    My question is:

    How can I retrieve the value of the source field of a web - app data-types when you insert the "form web search apps" on a web page.

    I have a web application that contains fields from the data source of the type. These fields to recover the (data) value of the 'web app' - 'elements of the field' field of another web application.

    When I insert the form

    Web apps

    Web apps-search form

    Name of the Web application

    It displays the fields with the field (ie. string, number) types other than type of field 'data source '.

    (Note: in the mode 'model of list' module of data tags, the fields of the data source are visible).

    What other (alternative) possibilities are there to create a search form?

    Thanks for your help.

    Kind regards

    Carla

    By chance, I came up with this workaround. Of course there are other methods to get your data from a web - app, but if you want to use the 'Web apps search form', it would be a workaround.

    I noticed that the "Web apps entry form" contains all the fields of web applications for your web application (including the fields of the data source).

    It is possible to add the fields to the form of the "Web apps entry form" in the «Web apps search form»

    If you insert the "Web apps entry form" on a blank page, you will see all the fields in your web App including the "data source fields. The names of form fields contain something like.

  • How to retrieve the value of a custom field

    Hello @all.

    In my vCenter, I created a custom field 'email '. The value of this field is set to the e-mail address of the operator of that belongs to a virtual machine.

    I would like to retrieve these values in a perl script. But I have found a method to set the values of the custom fields. For example:

    $CustomFieldsManager -> SetField(entity => $_, key=> $emailKey, value => "[email protected]");
    

    What should I do to retrieve the value of the $emailKey key? Could someone provide a quick and dirty-snippet, please?

    Best regards

    Trondesson

    of course, in this discussion https://communities.vmware.com/message/1512863#1512863 you can see how it's done

  • How to retrieve the value of base on the value on other nodes

    Hi, I have a XML below
    <? XML version = "1.0" encoding = "iso-8859-1"? > <? XML-stylesheet type = "text/xsl" href="C:\temp\horizontal.xsl"? " >
    < Type report = "REPORT" >
    < prop Type = 'Result' Flags = "0 x 0" > "
    < prop Name = 'STEP' Type = "Obj" Flags = "0 x 0" > "
    < prop Name = 'Sequence' >
    < prop Name = 'RList' >
    < ArrayElementPrototype Type = "TEResult" Flags = "0 x 0" > "
    < / ArrayElementPrototype >
    < value ID "[0]" = >
    < prop Type = 'Result' Flags = "0 x 0" > "
    < prop Name = "Status" Type = "String" Flags = "0x400000" > "
    < value > < / value >
    < / prop >
    < prop Name = "ReportText" Type = "String" Flags = "0x400000" > "
    < value > < / value >
    < / prop >
    < prop Name = "Common" Type = "Obj" TypeName = "CommonResults" Flags = "0 x 0" > "
    < / prop >

    < / prop >
    < / value >
    < value ID "[60]" = > = > ID is not set
    < prop Type = 'Result' Flags = "0 x 0" > "
    < prop Name = "Error" Type = "Obj" TypeName = "Error" Flags = "0x400000" > "
    < prop Name = "Code" Type = "Number" Flags = "0x400000" > "
    < value > 0 < / value >
    < / prop >
    < prop Name = "Msg" Type = "String" Flags = "0x400000" > "
    < value > < / value >
    < / prop >
    < prop Name = "occurred" Type = "Boolean" Flags = "0x400000" > "
    < value > false < / value >
    < / prop >
    < / prop >
    < prop Name = "Status" Type = "String" Flags = "0x400000" > "
    < value > spent < / value >
    < / prop >
    < prop Name = "Numeric" Type = "Number" NumFmt = "%i" Flags = "0 x 2400" > "
    < Value > * 88 * < / value > = > value I want back
    < / prop >
    < prop Name = "ReportText" Type = "String" Flags = "0x400000" > "
    < value > < / value >
    < / prop >
    < prop Name = "Common" Type = "Obj" TypeName = "CommonResults" Flags = "0 x 0" > "
    < / prop >
    < prop Name = "Units" Type = "String" Flags = "0x2000" > "
    < Value >TESTDATA< / value > = > basic data
    < / prop >

    < / prop >
    < / value >

    < / prop >
    < / prop >
    < / prop >
    < / prop >
    < / report >

    I want to retrieve the value 88 the TESTDATA found in this node, can someone show me how to recover?

    Thank you

    Vincent

    Published by: pj * April 29, 2011 01:14

    Yes, it is possible, but the query will be slightly less effective.

    SELECT XMLQuery(
            'for $i in $d/descendant::Value/Prop
             where $i/Prop[@Name="Units"]/Value = $PropValue
             return $i/Prop[@Name="Numeric"]/Value/text()'
             passing t.object_value as "d"
                   , sys_xmlgen('TESTDATA') as "PropValue"
             returning content
           ).getNumberVal()
           as result
    FROM test_xml t
    ;
    
  • How to retrieve the value of the attribute-based

    Hello
    I save our file XML in a clob field.
    The contend of the XML file is as below
    < Reports >
    "< report Type = 'USE' Title = 'USE report' Link="-1-2010-11-2-0-39-48-750 ' UUTResult = 'Fail' StepCount '69' = >
    < prop Name = 'USE' Type = "Obj" TypeName = "USE" Flags = "0 x 0" >
    < prop Name = "Serial number" Type = "String" Flags = "0 x 0" >
    < value > 20302884 < / value >
    < / prop >
    < prop Name = "UUTLoopIndex" Type = "Number" Flags = "0 x 0" >
    < value > 2 < / value >
    < / prop >
    < prop Name = "CriticalFailureStack" Type = "Array" LBound = HBound "[0]" = "[1]" ElementType = "Obj" Flags = "0 x 0" >
    < ArrayElementPrototype Type = "Obj" TypeName = "NI_CriticalFailureStackEntry" Flags = "0 x 0" >
    < prop Name = "StepName" Type = "String" Flags = "0 x 0" >
    < value > < / value >
    < / prop >
    < prop Name = "SequenceName" Type = "String" Flags = "0 x 0" >
    < value > < / value >
    < / prop >
    < prop Name = "SequenceFileName" Type = "String" Flags = "0 x 0" >
    < value > < / value >
    < / prop >
    < prop Name = "Result identifier" Type = "Number" Flags = "0 x 0" >
    < value > 0 < / value >
    < / prop >
    < / ArrayElementPrototype >
    < value ID "[0]" = >
    < prop Type = "Obj" TypeName = "* NI_CriticalFailureStackEntry *" Flags = "0 x 0" > ""
    < prop Name = "StepName" Type = "String" Flags = "0 x 0" >
    < Value >pre-program test< / value >
    < / prop >
    < prop Name = "SequenceName" Type = "String" Flags = "0 x 0" >
    < value > MainSequence < / value >
    < / prop >
    < prop Name = "SequenceFileName" Type = "String" Flags = "0 x 0" >
    < value > Challenger_Phase1.seq < / value >
    < / prop >
    < prop Name = "Result identifier" Type = "Number" Flags = "0 x 0" >
    < value > 368 < / value >
    < / prop >
    < / prop >
    < / value >
    < value ID "[1]" = >
    < prop Type = "Obj" TypeName = "* NI_CriticalFailureStackEntry *" Flags = "0 x 0" > ""
    < prop Name = "StepName" Type = "String" Flags = "0 x 0" >
    < Value >regulator LogicReg< / value >
    < / prop >
    < prop Name = "SequenceName" Type = "String" Flags = "0 x 0" >
    < value > pre-program test < / value >
    < / prop >
    < prop Name = "SequenceFileName" Type = "String" Flags = "0 x 0" >
    < value > Challenger_Phase1.seq < / value >
    < / prop >
    < prop Name = "Result identifier" Type = "Number" Flags = "0 x 0" >
    < value > 371 < / value >
    < / prop >
    < / prop >
    < / value >
    < / prop >
    < / prop >
    < / report >
    < / Reports >



    Can someone guide me how can I retrieve the value of the Prop Name = "StepName", i.e. "Before the program tests" and "LogicReg regulator", which is 1 level under the TypeName = "NI_CriticalFailureStackEntry." I extracted the part of XML code below

    < prop Type = "Obj" TypeName = "NI_CriticalFailureStackEntry" Flags = "0 x 0" >
    < prop Name = "StepName" Type = "String" Flags = "0 x 0" >
    < value > pre-program test < / value >
    < / prop >
    and
    < prop Type = "Obj" TypeName = "NI_CriticalFailureStackEntry" Flags = "0 x 0" >
    < prop Name = "StepName" Type = "String" Flags = "0 x 0" >
    Regulator LogicReg < value > < / value >
    < / prop >


    Thank you

    Vincent

    PJ * wrote:
    I save our file XML in a clob field.

    If you still have the choice, you should consider storing XML data in XMLType column.

    For the moment, assume that the XML data resides in the CLOB SAMPLE_TABLE column. DOC:

    You can use XMLTable to break a sequence of XML elements in columns and relational rows:

    SQL> select x.*
      2  from sample_table t,
      3       xmltable(
      4        '//Prop[@TypeName="NI_CriticalFailureStackEntry"]/Prop[@Name="StepName"]'
      5        passing xmltype(t.doc)
      6        columns num for ordinality,
      7                val varchar2(100) path 'Value'
      8       ) x
      9  ;
    
           NUM VAL
    ---------- -----------------------------------
             1 Pre-program tests
             2 Regulator LogicReg
     
    

    XMLQuery or to extract it as a string:

    SQL> select xmlquery(
      2          'string-join(//Prop[@TypeName="NI_CriticalFailureStackEntry"]/Prop[@Name="StepName"], "|")'
      3          passing xmltype(t.doc)
      4          returning content
      5         ).getstringval() as "RESULT"
      6  from sample_table t
      7  ;
    
    RESULT
    ----------------------------------------------
    Pre-program tests|Regulator LogicReg
     
    
  • How to retrieve the values of a number of column by column in pl sql

    I wanted to know how can I retrieve the values of a column just in number and not the name of the column.

    user10989720 wrote:
    I need exactly this kind of thing.

    I am retrieving the name of the column from all_tab_columns and under this column name can I retrieve values using any kind of query sub.

    Select column_name
    from all_tab_columns
    where table_name = 'QUOTE_HEADERS_EXT' and
    column_id = 58

    You're still not understanding. You need to do if you want to get the values of the table dynamically.

    Either like this:

    SQL> create or replace type t_colval is table of varchar2(4000);
      2  /
    
    Type created.
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  CREATE OR REPLACE FUNCTION get_column(p_sql IN VARCHAR2, p_column_no NUMBER) RETURN t_colval PIPELINED IS
      2    v_finaltxt  VARCHAR2(4000);
      3    v_v_val     VARCHAR2(4000);
      4    v_n_val     NUMBER;
      5    v_d_val     DATE;
      6    v_ret       NUMBER;
      7    c           NUMBER;
      8    d           NUMBER;
      9    col_cnt     INTEGER;
     10    f           BOOLEAN;
     11    rec_tab     DBMS_SQL.DESC_TAB;
     12    col_num     NUMBER;
     13  BEGIN
     14    c := DBMS_SQL.OPEN_CURSOR;
     15    DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
     16    d := DBMS_SQL.EXECUTE(c);
     17    DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
     18    FOR j in 1..col_cnt
     19    LOOP
     20      CASE rec_tab(j).col_type
     21        WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
     22        WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);
     23        WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);
     24      ELSE
     25        DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
     26      END CASE;
     27    END LOOP;
     28    LOOP
     29      v_ret := DBMS_SQL.FETCH_ROWS(c);
     30      EXIT WHEN v_ret = 0;
     31      v_finaltxt := NULL;
     32      CASE rec_tab(p_column_no).col_type
     33        WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,p_column_no,v_v_val);
     34        WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,p_column_no,v_n_val);
     35                    v_v_val := to_char(v_n_val);
     36        WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,p_column_no,v_d_val);
     37                    v_v_val := to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS');
     38      ELSE
     39        DBMS_SQL.COLUMN_VALUE(c,p_column_no,v_v_val);
     40      END CASE;
     41      PIPE ROW (v_v_val);
     42    END LOOP;
     43    DBMS_SQL.CLOSE_CURSOR(c);
     44* END;
    SQL> /
    
    Function created.
    
    SQL> select * from table(get_column('select * from emp',1));
    
    COLUMN_VALUE
    ---------------------------------------------------------------------------------------------------------------
    7369
    7499
    7521
    7566
    7654
    7698
    7782
    7788
    7839
    7844
    7876
    7900
    7902
    7934
    
    14 rows selected.
    
    SQL> select * from table(get_column('select * from emp',2));
    
    COLUMN_VALUE
    ---------------------------------------------------------------------------------------------------------------
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    
    14 rows selected.
    
    SQL>
    

    Or like this:

    SQL> create or replace type t_colval is table of varchar2(4000);
      2  /
    
    Type created.
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  CREATE OR REPLACE FUNCTION get_column(p_table IN VARCHAR2, p_column_no NUMBER) RETURN t_colval PIPELINED IS
      2    v_column_name VARCHAR2(30);
      3    v_rc          SYS_REFCURSOR;
      4    v_val         VARCHAR2(4000);
      5  BEGIN
      6    SELECT column_name
      7    INTO   v_column_name
      8    FROM   user_tab_columns
      9    WHERE  column_id = p_column_no
     10    AND    table_name = UPPER(p_table);
     11    OPEN v_rc FOR ('SELECT '||v_column_name||' FROM '||p_table);
     12    LOOP
     13      FETCH v_rc INTO v_val;
     14      EXIT WHEN v_rc%NOTFOUND;
     15      PIPE ROW(v_val);
     16    END LOOP;
     17    CLOSE v_rc;
     18* END;
    SQL> /
    
    Function created.
    
    SQL> select * from table(get_column('EMP',2));
    
    COLUMN_VALUE
    ----------------------------------------------------------------------------------------------------------------
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    
    14 rows selected.
    
    SQL>
    
  • [ADF, JDev12.1.3] SelectOneChoiche created from VO instance with 3 fields: how to retrieve the value of all the fields of the selected element?

    Hallo,

    I defined a VO with 3 fields (A, B and C) and I would like to create a SelectOneChoiche that shows only the field as options from this instance of VO.

    In a managed bean, I need to retrieve the values for all areas (A, B and C) of the item selected by the user.

    I started dragging the entire VO instance to UI to create a SelectOneChoiche (in which I have chosen to show only the to field).

    Then, I created a for the SOC ValueChangeListener read the values A, B and C of the selected element, but the only thing I've done is to get the displayed value:

    System.out.println((String) ((RichSelectOneChoice) FacesUtils.findComponent("MySoc")).getValue());
    

    You kindly help me?

    Thank you

    Federico

    Federico, sorry I didn't see your answer.

    As you use 12.1.3 you can do this more easily than the code that I posted before. You can use

    {} public void onCountrySelection (ValueChangeEvent valueChangeEvent)

    FacesContext will involve = FacesContext.getCurrentInstance ();

    Make sure that the selection change is processed and the current link lov line has the new selected line

    valueChangeEvent.getComponent () .processUpdates (contxt);

    BindingContext lBindingContext = BindingContext.getCurrent ();

    BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();

    List JUCtrlListBinding = lBindingContainer.get ("CountryId") (JUCtrlListBinding);

    the newindex in not necessary, but ok let's get it (must be equal to the CountryId, the pharmacokinetics of the binding of the lov

    String newindex = (String) valueChangeEvent.getNewValue ();

    get the selected value in the list that is the selected line of the binding of the lov

    Line lFromList = list.getSelectedValue () (line);

    now, we can get the attributes of the line of lov

    String s = (String) lFromList.getAttribute ("CountryId");

    System.out.println ("CountryId:" + s);

    String s2 = (String) lFromList.getAttribute ("CountryName");

    System.out.println ("CountryName:" + s2);

    BigDecimal s3 = lFromList.getAttribute("RegionId") (BigDecimal);

    System.out.println ("RegionId:" + s3.toString ());

    }

    The form that I use is based on the location of the HR DB schema table. The CountryId is configured in the view object to display a lov based on the campagneVoir. This view contains thre CountryId, CountryName and RegionId attributes.

    If you want to get to the attributes of an action listener you can use this code

    {} public void onGetSelectedCountryLov (ActionEvent actionEvent)

    BindingContext lBindingContext = BindingContext.getCurrent ();

    BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();

    List JUCtrlListBinding = lBindingContainer.get ("CountryId") (JUCtrlListBinding);

    get the selected value in the list that is the selected line of the binding of the lov

    Line lFromList = list.getSelectedValue () (line);

    now, we can get the attributes of the line of lov

    String s = (String) lFromList.getAttribute ("CountryId");

    System.out.println ("CountryId:" + s);

    String s2 = (String) lFromList.getAttribute ("CountryName");

    System.out.println ("CountryName:" + s2);

    BigDecimal s3 = lFromList.getAttribute("RegionId") (BigDecimal);

    System.out.println ("RegionId:" + s3.toString ());

    }

    You must add the valueChangeListener and at least add the lines

    FacesContext will involve = FacesContext.getCurrentInstance ();

    Make sure that the selection change is processed and the current link lov line has the new selected line

    valueChangeEvent.getComponent () .processUpdates (contxt);

    to ensure that the selected line is available when you click the button.

    And set autosubmit'= true for the field in the UI that displays the LOV.

    Timo

  • How to retrieve the value of a measure over a period determined using VROPS 6.1?

    Hello!

    Is it possible to extract a metric, using supermetrics for example or any other means, the value of a measure over a period of time?

    For example, I will pick up average CPU usage of my VMs during the last hour with VROPS 6.1?

    How could I do that please?


    Concerning

    Unfortunately, you are just such a feature (apply the calculation over a period of time) is not supported.

  • How to view the line of columns without using the pivot keyword

    Hello
    could someone help me how to display lines in columns without using the keyword pivot and actuall is my scenario, iam having two tables with names and examples of data is shown below

    MIDDLE MINAME TASKID TASKNAME IDENTIFICATION PROJECT

    1 PROJ1 1 AA 100 PR1_TASK1
    1 PROJ1 3 CC PR1_TASK3 102
    1 PROJ1 DD 4 103 PR1_TASK4
    1 PROJ1 EE 5 104 PR1_TASK5
    1 PROJ1 6 105 FF PR1_TASK6
    2 PROJ2 EE 5 114 PR2_TASK1
    2 PROJ2 6 115 FF PR2_TASK2
    2 PROJ2 GG 7 116 PR2_TASK3
    2 PROJ2 HH 8 117 PR2_TASK4
    2 PROJ2 9 118 PR2_TASK5 JJ
    2 PROJ2 KK 10 119 PR2_TASK6
    2 PROJ2 1 AA PR2_TASK7 120


    The output should show the project and County of tasks at a given stage as shown below

    project AA BB CC DD EE FF GG HH JJ KK
    1 2 0 1 5 3 2 0 2 1 0
    2 1 2 0 2 1 0 2 4 3 1


    Thanks in advance,
    VVR
    CREATE TABLE pivot_test (
    ID           NUMBER,
    PROJECT      VARCHAR2(10),
    MID          NUMBER,
    MINAME       VARCHAR2(5),
    TASKID       NUMBER,
    TASKNAME     VARCHAR2(10)
    );
    
    INSERT INTO pivot_test VALUES (1, 'PROJ1', 1,  'AA', 100, 'PR1_TASK1');
    INSERT INTO pivot_test VALUES (1, 'PROJ1', 3,  'CC', 102, 'PR1_TASK3');
    INSERT INTO pivot_test VALUES (1, 'PROJ1', 4,  'DD', 103, 'PR1_TASK4');
    INSERT INTO pivot_test VALUES (1, 'PROJ1', 5,  'EE', 104, 'PR1_TASK5');
    INSERT INTO pivot_test VALUES (1, 'PROJ1', 6,  'FF', 105, 'PR1_TASK6');
    INSERT INTO pivot_test VALUES (2, 'PROJ2', 5,  'EE', 114, 'PR2_TASK1');
    INSERT INTO pivot_test VALUES (2, 'PROJ2', 6,  'FF', 115, 'PR2_TASK2');
    INSERT INTO pivot_test VALUES (2, 'PROJ2', 7,  'GG', 116, 'PR2_TASK3');
    INSERT INTO pivot_test VALUES (2, 'PROJ2', 8,  'HH', 117, 'PR2_TASK4');
    INSERT INTO pivot_test VALUES (2, 'PROJ2', 9,  'JJ', 118, 'PR2_TASK5');
    INSERT INTO pivot_test VALUES (2, 'PROJ2', 10, 'KK', 119, 'PR2_TASK6');
    INSERT INTO pivot_test VALUES (2, 'PROJ2', 1,  'AA', 120, 'PR2_TASK7');
    
    SELECT ID as PROJECT,
           SUM(DECODE(miname, 'AA', 1, 0)) AS AA,
           SUM(DECODE(miname, 'BB', 1, 0)) AS BB,
           SUM(DECODE(miname, 'CC', 1, 0)) AS CC,
           SUM(DECODE(miname, 'DD', 1, 0)) AS DD,
           SUM(DECODE(miname, 'EE', 1, 0)) AS EE,
           SUM(DECODE(miname, 'FF', 1, 0)) AS FF,
           SUM(DECODE(miname, 'GG', 1, 0)) AS GG,
           SUM(DECODE(miname, 'HH', 1, 0)) AS HH,
           SUM(DECODE(miname, 'JJ', 1, 0)) AS JJ,
           SUM(DECODE(miname, 'KK', 1, 0)) AS KK
    FROM   pivot_test
    GROUP BY ID;
    
    PROJECT AA BB CC DD EE FF GG HH JJ KK
    ------- -- -- -- -- -- -- -- -- -- --
          1  1  0  1  1  1  1  0  0  0  0
          2  1  0  0  0  1  1  1  1  1  1 
    
  • urgent request: how to read the value of a register using VISA read?

    Hello world

    This is a very urgent investigation. can someone help me please? Thank you very much!!

    I wrote a few commands in several registers using VISA write. now, I want to read the value of a different register.

    But the bytes returned are just the commands, I wrote before and a few other commands that I don't know what they are for.

    This is the format of the command, and I enclose the sheet... I want to read the value of register (0 * 41)

    .

    Ravens, if you have something more than me, do not so much it at all =)

    The command you have posted has several components:

    The gray area of the transport layer uses for a checksum

    several bits set to 0.

    a single bit to define if it's a read/write operation

    a byte to identify the register of interests.

    two bytes for the data.

    With what you have provided, there are only three things we need to worry:

    (1) set the R/W bit to 0 to mean we're reading rather than write.

    (2) set the second byte 0 x 41 to focus on the register of interests.

    (3) with a reading, I can't imagine the last issue of two bytes.  They probably ignored.  The documentation you provided does nothing to explain this.  The most logical thing I can think is that these two bits contain the data, you go to the registry if you set the R/W bit to 1.

    There are two parts to this communication.  The first part is an entry VISA to send this control unit.  It is likely that you will need to complete the message.  You will need to know how to do this.

    The device must respond with the message that you mentioned in the original post.  Crows is right.  He's coming back as a string.  You can use the subset of string to separate the components defined by the standard.  You can use these components to determine if the data is legitimate and then do what you want with the data.

  • How to restart the Satellite 5200 801 without using the recovery disk?

    Hello
    I haven't used my Satellite 5200 801 for awhile and now it does not start. That's what I have on the black screen:

    Intel® Boot Agent Version 4.1.04
    Copyright © 1997-2002, Intel Corporation
    PXE - E61: Media test failure, check cable of
    PXE - M0F: Exit Intel Boot Agent.
    Insert system disk in drive.
    Press a key when tready.

    I have the product recovery disc, but which will erase all existing data and rebuild. Is there a way to boot my PC without the use of the recovery disk?

    Thanks for any help.

    > PXE - E61: Media test failure, check cable of

    This message means that laptop tried to boot from LAN.
    Given that this was not possible the PXE - E61: Media test failure, check cable appeared

    I guess that the HARD drive is defect and therefore, the laptop won't boot from the internal HARD drive.
    In this case also your internal data on the HARD disk are lost.

    But to be100% sure that you can remove the laptop HARD drive, could use a drive enclosure HARD 2.5 to connect the HARD drive to another computer just to check if you would be able to access data on the HARD drive

  • How to retrieve the value from the insert statement

    Hello
    How can I get a certain value of the insert and store it in a variable.
    Suppose that I am inserting emp_no, emp_name, emp_salary for the employee table
    and I want to record the emp_name in a variable for further processing,
    How can I accomplish this? I guess I should use the trigger,
    but do not know the procedure.
    any help will be greatly appreciated
    Thank you

    insert into

    values (...) return in

    You can and should have found that using the SQL language reference manual
    or
    http://www.morganslibrary.org/reference/insert.html

    --------
    Sybrand Bakker
    Senior Oracle DBA

  • How to translate the VALUE of character counter

    Hi all

    Is there a way to translate the text of in (for example) the character counter (which goes hand in hand with the text box field)?
    Now, it's showing 100 of 512' but I need to have it translated and I can't find in the translation of messages in the APEX or models.

    This value is also present if you, for example, use a master screen / detail with the next/previous buttons. There is also show that I would like to translate.

    Any help on this?

    Kind regards
    Guido

    Hi Guido,

    Try

    FORM_OF
    

    as the name of the message text.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • How to acquire the values of CFP 1800 use FP read via RS 232?

    Hello

    We have an application in which there is a provision of the redundancy of the system. By redundancy, I want to say that I have a CFP-2120 and a host PC. Both are accquiring real-time AI module using concept shared Variable values. Each of these variables is linked with a particular channel of the Module & will acquire the data automatically. Initially when the system is Ok, the PC acquires data from the PSC 1800 using ethernet. Now, suppose that the ethernet connection has been lost, now that the PC will not be able to acquire. At this point, I want my PC to acquire data from the PSC 1800 using RS 232. In this case the binding of the variable with channel won't be of such use. I think that in this case, what I can do is to accquire data .vi FP READ and update the variable by plugging the variable for each channel.

    What else will be the solution. Can someone tell me if my colleague and I are on the right track or if the best solution is here, please share with us.

    The move will be highly appreciated.

    Thank you best regards &,.

    Samriddh Sarbalhi

    Hello

    You're going in the right direction for creating redundancy for you system controller PSC.

    Here is the link for system redundancy with two components:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/5997

    I hope that this should help.

    Anuj Bhansali

    AE

    NEITHER the India

  • Starting from two data tables, how do you get the values in two columns using values in a column (values get col. If col. A is not null values and get the pass. B if col. A is null)?

    Two tables provided, how you retrieve the values in two columns using values in a column (the pass get values. If col. A is not null values and get the pass. B if col. A is null)?

    Guessing

    Select nvl (x.col_a, y.col_b) the_column

    from table_1 x,.

    table_2 y

    where x.pk = y.pk

    Concerning

    Etbin

Maybe you are looking for