Placing values retuened to a cursor at the place where the clause of a query SELECT

Hello
I'm trying to accomplish a task of writing a SELECT statement where I have to query the table based on the values returned by a cursor.
For example:
SELECT a.operator_name, a.country_name, a.state_name FROM Table_A a WHERE a.country_id IN (values returned by cursor for country ID) AND the a.operator_name in (values returned by cursor for Operator_Id) AND a.state_id in (values returned by cursor State_ID for).

Is it possible to make this request, my task is to write it in a stored procedure so that I can return a cursor reference with values as described above.
Please let me know how to go about this request.

PS: Cursors are used because it is a Wild-Card search for values where several records can be returned.

Thanks in advance.

Kind regards
Priya

Because your

SELECT a.operator_name, a.country_name, a.state_name
  FROM Table_A a
 WHERE a.country_id IN (Values returned from cursor for Country ID's)
   AND a.operator_name IN (Values returned from Cursor for Operator_Id's)
   AND a.state_id IN (Values returned from Cursor for State_ID's)

say something like (sliders deliberately avoided (see Tom Kyte mantra - http://asktom.oracle.com/pls/apex/f?p=100:11:0:::P11_QUESTION_ID:73891904732164))

SELECT operator_name,country_name,state_name
  FROM Table_A
 WHERE country_id IN (select country_id
                        from countries
                       where upper(country_name) like 'U%?
                     )
   AND operator_name IN (select operator_id
                           from operators
                          where operator_name like 'A%'
                        )
   AND state_id IN (select state_id
                      from states
                     where state_name like 'C%'
                   )

Concerning

Etbin

Tags: Database

Similar Questions

  • Insert the result of a query select in another table

    Hello

    I have a strange problem when I try to insert all the results of a query select in another table, using the declaration of the order.

    With the declaration of COMMAND it works fine
    Work:
    ------------------------------
    INSERT INTO ADART01 (SELECT (codart)
    "STOCK". "" CODART_STO ".
    Of
    "DB". ' ' 'ACTIONS');
    ------------------------------

    But if I try to sort the result using the declaration of the ORDER, I have the following error:
    Error: ORA-00907 missing right parenthesis
    ------------------------------
    INSERT INTO ADART01 (SELECT (codart)
    "STOCK". "" CODART_STO ".
    Of
    "DB". "" "ACTIONS"
    ORDER BY
    "STOCK". ("' CODART_STO ASC ');
    ------------------------------

    Any idea?

    Thank you for your help,
    Angel.

    delete "()" to select

    create table test1 (a number, b varchar2(100));
    
    insert into test1
        (a, b)
        select level, 'level ' || level from dual connect by level < 101;
    
    insert into test1
        (a, b)
        select level, 'level ' || level from dual connect by level < 101 order by to_char(sysdate - level, 'D');
    
    select * from test1;
    
    drop table test1;
    
  • Using a procedure in the clause FROM a query

    Is it possible to use a procedure which accepts several parameters and returns several parameters in the FROM of a query section?

    I have a procedure that puts a format BS7666 address in a friendly format Oracle Apps.

    I would like to be able to select the data from the source to feed through this procedure and output as part of a materialized view.

    PROCEDURE Format_llpg_Address
    (
    In_Loc IN VARCHAR2,
    In_Description IN VARCHAR2,
    In_County IN VARCHAR2,
    In_Town IN VARCHAR2,
    In_PostTown IN VARCHAR2,
    In_Saon_Start_num NUMBER,
    In_Saon_Start_Suffix IN VARCHAR2,
    In_Saon_End_num NUMBER,
    In_Saon_End_Suffix IN VARCHAR2,
    In_Saon_Text IN VARCHAR2,
    In_Paon_Start_num NUMBER,
    In_Paon_Start_Suffix IN VARCHAR2,
    In_Paon_End_num NUMBER,
    In_Paon_End_Suffix IN VARCHAR2,
    In_Paon_Text IN VARCHAR2,
    In_PostCode IN VARCHAR2,
    Out_Address1 OUT NOCOPY VARCHAR2,
    Out_Address2 OUT NOCOPY VARCHAR2,
    Out_Address3 OUT NOCOPY VARCHAR2,
    Out_Town OUT NOCOPY VARCHAR2,
    Out_County OUT NOCOPY VARCHAR2,
    Out_PostCode OUT NOCOPY VARCHAR2)

    Thank you very much

    Jason.

    You should look at [pipelined functions | http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/tuning.htm#i52954]

    Adrian Billington has a number of excellent articles on the pipeline functions.
    Here's a [link to one of them | http://www.oracle-developer.net/display.php?id=207]

    Published by: dombrooks on October 12, 2009 16:45

  • How to assign a value of string comman separated in the Clause of SELECT m

    In table A, I followed values

    Price ID
    -- ------
    1 100
    2,200
    3 300
    4 400
    6 500

    Now, in table B, I have following values

    Product price combi
    --------- ----- --------
    OIL 600 '1', ' 2 ', 3'

    What I do is, first of all get the combi in table B value and then get the count of the table has.

    In condition, it should return 3...

    create or replace procedure amit_combi_test
    as
    v_combi varchar2 (100);
    tot_row number (10);
    cursor table_combi is
    Select combi
    b;

    BEGIN
    OPEN table_combi.
    LOOP
    EXTRACT the table_combi in v_combi;
    EXIT WHEN table_combi % NOTFOUND;
    dbms_output.put_line (v_combi);

    Select count (1) INTO tot_row
    a.
    WHERE ID in (v_combi);

    dbms_output.put_line (to_char (tot_row));

    END LOOP;

    CLOSE Table_combi;
    END;

    But the problem is... it shows the value of the variable tot_row = 0; It should come 3...

    ace_friends22 wrote:
    Thank you all, but it seems regexp_ functions and xmltable are not available in Oracle 9.2... I tried to use it, but it says invalid identifier......

    So why it is always a good idea to display the version of your database with your question, especially if you use a version not supported by the database, otherwise we have to assume that you use one of the latest versions supported. This saves also we are wasting our time.

  • "Invalid column" on the place where several clauses with subqueries and cfqueryparam

    I see a behavior in the cfquery coldfusion I would like to find an exmplanation for.  I have a query that performs a subquery in the select part and if I have several where lines, I get a message 'invalid column name' to find out where my second article, but only when I'm with cfqueryparam

    For example, on what follows, I get "invalid column name «position_id»»

    SELECT department_staff_tbl.*,
    (SELECT max (bookmark_id)
    OF bookmarked_items_tbl
    WHERE item_id = department_staff_tbl.staff_id

    ) AS bookmark_id
    OF department_staff_tbl
    WHERE department_id = < cfqueryparam value = "" #arguments.deptid # "cfsqltype ="cf_sql_integer">"
    AND position_id = < cfqueryparam value = "" #arguments.posid # "cfsqltype ="cf_sql_integer">"
    AND staff_id = < cfqueryparam value = "" #arguments.staffid # "cfsqltype ="cf_sql_integer">"

    If I change the order of my where clause staff_id is first, and then he said "department_id" is an invalid column.

    If I don't have a where clause, it works.  (i.e. WHERE position_id = < cfqueryparam value = "" #arguments.posid # "cfsqltype =" cf_sql_integer">).

    If I remove the where clause of my subquery (WHERE item_id = department_staff_tbl.staff_id) it works.

    This also works if I remove the cfqueryparam where my article so that my query looks like this:

    SELECT department_staff_tbl.*,
    (SELECT max (bookmark_id)
    OF bookmarked_items_tbl
    WHERE item_id = department_staff_tbl.staff_id

    ) AS bookmark_id
    OF department_staff_tbl
    WHERE department_id = #arguments.deptid #.
    AND position_id = #arguments.posid #.
    AND staff_id = #arguments.staffid #.

    Any thoughts?

    A more conventional way to enter your data is without the subquery.  Something like that

    Select fields, the bookmarkid max (bookmark_id)

    from bookmarked_items__tbl join department_staff_tbl on staff_id = bookmark_id

    When etc.

    Some field group

  • Using bind variable to allow the user the place where complete clause.

    Hello

    I have a question like that I am able to run in SQL_Developer:
    SELECT INITCAP(c.name) AS "Species Name"
         , AVG(b.height) AS "Avg Height (m)"
      FROM smt_plot_index a
         , smt_photo_plot_data b
         , smt_species_names c
     WHERE a.plot_id = b.plot_id
       AND b.species_name_id = c.species_name_id
       AND a.plot_id IN (2473201,2473202)
     GROUP BY c.name
    But I'd like to do the following in an apex application:
    SELECT INITCAP(c.name) AS "Species Name"
         , AVG(b.height) AS "Avg Height (m)"
      FROM smt_plot_index a
         , smt_photo_plot_data b
         , smt_species_names c
     WHERE a.plot_id = b.plot_id
       AND b.species_name_id = c.species_name_id
       AND a.plot_id IN ( :P11_ENTER_PLOT_NUMBERS )
     GROUP BY c.name
    But this returns an error:

    error report:
    ORA-01722: invalid number

    I know that if I included only one number for example 2473201 in the element: P11_ENTER_PLOT_NUMBERS it market, but if I try and enter the following text in the element 2473201,2473202 it does not work. The screen session state, said that the value of the item is correct depending on how I entered it.

    Anyone have any solutions for this?
    Thank you
    Ben

    Published by: Benton on May 6, 2010 13:54

    Very strange... read the whole message again, there is already something, you should change: INSTR (': ' |: P11_ENTER_PLOT_NUMBERS |': ',' :'|| a.plot_id |': ') > 0 use INSTR ("," |: P11_ENTER_PLOT_NUMBERS |) ',', ',' || a.plot_id | ', ') > 0

    When you use one as a separator instead of:

    You can try to run in the SQL Developer and see how it works?
    If it works, then you would look in session state to see what values are actually used.

    I tried with BLAKE as a value in P1_TEST and that seems to work:
    Select *.
    WCP
    where INSTR (': ' |: P1_TEST |': ',' :'||) Ename |': ') > 0

    Hope that helps,
    Dimitri

  • If then the clause for a simple select statement.

    Good afternoon

    I'm sure this will be really simple for a person: I have three paintings that I need to access it in a simple select statement. However, I need to make two separate petitions by a field has an entry or not. Here is the code I wrote so far. It is only to retune the ELSE part, which means that I know I'm close, but I know I'm missing something incredibly simple and boring for me right now.

    IF common_event.efeanme IS NULL
    THEN
      SELECT a.num_1 AS "EVENT NUMBER", CONCAT(CONCAT(CONCAT(CONCAT(SUBSTR(a.cdts,5,2), '/'), SUBSTR(a.cdts,7,2)), '/'), SUBSTR(a.cdts,1,4)) AS "EVENT DATE", CONCAT(CONCAT(c.xstreet1, ' / '), c.xstreet2) AS "EVENT LOCATION"
      FROM common_event c JOIN agency_event a ON c.eid=a.eid JOIN disposition_type d ON a.ag_id=d.ag_id
      WHERE a.ag_id='JCSO'
      AND a.lev3='JC3'
      AND a.cdts BETWEEN '20140701' AND '20141001'
      AND d.tycod='CIT'
      ORDER BY a.num_1;
    ELSE
      SELECT a.num_1 AS "EVENT NUMBER", CONCAT(CONCAT(CONCAT(CONCAT(SUBSTR(a.cdts,5,2), '/'), SUBSTR(a.cdts,7,2)), '/'), SUBSTR(a.cdts,1,4)) AS "EVENT DATE", CONCAT(CONCAT(CONCAT(CONCAT(CONCAT(CONCAT(c.estnum, ' '), c.edirpre), ' '), c.efeanme), ' '), c.efeatyp) AS "EVENT LOCATION"
      FROM common_event c JOIN agency_event a ON c.eid=a.eid JOIN disposition_type d ON a.ag_id=d.ag_id
      WHERE a.ag_id='JCSO'
      AND a.lev3='JC3'
      AND a.cdts BETWEEN '20140701' AND '20141001'
      AND d.tycod='CIT'
      ORDER BY a.num_1;
    END IF;
    

    If I run a query on its own, it works as expected. Which means that I don't get something right (in my opinion) in my CASE SO the ELSE clause. As I said, it's probably something so simple I forget only she, but I better ask for a direction somewhat see where I'm going to do it right.

    Thanks in advance for any guidance.

    Tony

    Cant you just do:

    SELECT a.num_1 'EVENT NUMBER. "

    Concat (Concat (Concat (Concat (substr (a.CDTS, 5, 2), ' / '), SUBSTR (a.cdts, 7, 2)), ' / '), SUBSTR (a.cdts, 1, 4)) AS 'EVENT DATE ',.

    -case when c.efeanme IS NULL

    then CONCAT (CONCAT (c.xstreet1, ' /'), c.xstreet2)

    of another CONCAT (CONCAT (CONCAT (CONCAT (CONCAT (CONCAT (c.estnum, ' '), c.edirpre), ' '), c.efeanme), ' '), c.efeatyp)

    end AS 'EVENT ADDRESS'

    OF common_event c

    JOIN THE

    agency_event one

    WE c.eid = a.eid

    JOIN the disposition_type d

    ON a.ag_id = d.ag_id

    WHERE a.ag_id = 'JCSO.

    AND a.lev3 = 'JC3.

    AND a.cdts BETWEEN '20140701' AND '20141001'

    AND d.tycod = 'CIT '.

    ORDER BY a.num_1

    Concerning

    Etbin

    Deleted AND c.efeanme IS NULL

  • between the clause of sql query?

    Hi all

    After sql query using a report.
    ------------------------------------------------

    Select trunc (m.spc_doc_date) prod_date, sum (nvl(d.req_qty,0)) order_qty, sum (nvl(d.spc_item_qty,0)) prod_qty
    of spc_ppc_daily_m m, spc_ppc_daily_d d
    where m.spc_doc_ # in (select spc_doc_ # to spc_ppc_daily_m)
    - and d.blce_qty > 0
    and m.spc_locn_code =: locn_code
    and m.spc_doc_date between: TO_date and: FROM_date
    and m.spc_locn_code = d.spc_locn_code
    and m.spc_doc_ #= d.spc_doc_ #.
    and (m.obu =: obu OR: OLGA IS NULL)
    and (m.customer =: customer OR: CUSTOMER IS NULL)
    Trunc Group (m.spc_doc_date)
    order of trunc (m.spc_doc_date)

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

    "When I use to_date = 22 February 2012 ' from_date = February 22, 2012"
    There is no pick up. (acually documents are there on February 22, 2012)

    "When I use to_date = 22 February 2012 ' from_date = February 23, 2012"
    now shows data of February 22, 2012.

    I have replace between it of > = & < =, same result two cases respectively.

    Why?

    Thank you
    Yoann

    date you hours minutes and seconds
    then

    use
    trunc (m.spc_doc_date)

    or to: from_date in the parameter after form convert to February 23, 2012 23:59:59 '

  • using a list to the place where a part of my query

    I don't want to get results worth it for everyone in my DB.
    I want only to retrieve information in a list of up to 5 people - the list will change constantly.
    I started with the code below:

    < name cfparam = "useYear" default = "Year (now ()" >

    <!--LIST-->
    < cfset riderList = "1,5,10,18,53" >

    < cfloop index = "i" = "1" to = "#ListLen (riderList) #" >
    < cfquery name = "getRiderSum" datasource = "mileage" >
    SELECT riderId,
    SUM (IIf (month (rideDate) = 1, rideDistance, 0)) AS janSum,
    SUM (IIf (month (rideDate) = 2, rideDistance, 0)) AS febSum,
    SUM (IIf (month (rideDate) = 3, rideDistance, 0)) AS marSum,.
    SUM (IIf (month (rideDate) = 4, rideDistance, 0)) AS aprSum,
    SUM (IIf (month (rideDate) = 5, rideDistance, 0)) AS maySum,.
    SUM (IIf (month (rideDate) = 6, rideDistance, 0)) AS junSum,
    SUM (IIf (month (rideDate) = 7, rideDistance, 0)) AS julSum,
    SUM (IIf (month (rideDate) = 8, rideDistance, 0)) AS augSum,
    SUM (IIf (month (rideDate) = 9, rideDistance, 0)) AS sepSum,
    SUM (IIf (month (rideDate) = 10, rideDistance, 0)) AS octSum,
    SUM (IIf (month (rideDate) = 11, rideDistance, 0)) AS novSum,
    SUM (IIf (month (rideDate) = 12, rideDistance, 0)) AS decSum
    OF mileageLog
    WHERE riderId = #i #.
    AND year (rideDate) = #useYear #.
    GROUP BY riderId
    < / cfquery >
    < / cfloop >

    But how can I keep the information ordered by the riderId?
    I use the 'i' in my name of the query?... name = "getRiderSum ".
    I use as part of each monthly variable? ... LIKE janSum
    etc.

    You don't need a cfloop. Try instead an IN (...) clause. Obviously, we must validate the #riderlist # is not empty first or the query will be error.

    SELECT riderId,
    SUM (IIf (month (rideDate) = 1, rideDistance, 0)) AS janSum,
    SUM (IIf (month (rideDate) = 2, rideDistance, 0)) AS febSum,
    SUM (IIf (month (rideDate) = 3, rideDistance, 0)) AS marSum,.
    SUM (IIf (month (rideDate) = 4, rideDistance, 0)) AS aprSum,
    SUM (IIf (month (rideDate) = 5, rideDistance, 0)) AS maySum,.
    SUM (IIf (month (rideDate) = 6, rideDistance, 0)) AS junSum,
    SUM (IIf (month (rideDate) = 7, rideDistance, 0)) AS julSum,
    SUM (IIf (month (rideDate) = 8, rideDistance, 0)) AS augSum,
    SUM (IIf (month (rideDate) = 9, rideDistance, 0)) AS sepSum,
    SUM (IIf (month (rideDate) = 10, rideDistance, 0)) AS octSum,
    SUM (IIf (month (rideDate) = 11, rideDistance, 0)) AS novSum,
    SUM (IIf (month (rideDate) = 12, rideDistance, 0)) AS decSum
    OF mileageLog
    WHERE riderId IN ( )
    AND year (rideDate) = #useYear #.
    GROUP BY riderId
    ORDER BY riderId

  • How to pass the value of the cursor in the procedure to use as dblink

    Hello

    I have a cursor in the procedure. I am inserting some values into the destination table by querying the source table using dblink. And I'm collecting this db link in the cursor. So, my question is how I will pass on the value of dblink values read from the cursor in each iteration? This is my procedure.

    CREATE OR REPLACE
        PROCEDURE desktop_proc
        AS
          v_name VARCHAR2(10);
          v_dblink  VARCHAR2(10);
          CURSOR db_cur
          IS
            SELECT PNAME,OLTP_DBLINK
            FROM PDATA
            WHERE pname in ('RMA','RNA')
            ORDER BY PNAME;
        BEGIN
          OPEN db_cur;
          LOOP
            FETCH db_cur INTO v_name,v_dblink;
            EXIT WHEN db_cur%NOTFOUND;
            INSERT INTO desktop_lite
              (
                Datestamp,
                pname,
                Db_name,
                Company_name
              )
            SELECT Date_Range,
              v_name,   -- local variable
              dbname,
              Company_name
              FROM
              (SELECT bu.datestamp Date_Range,
                      (SELECT name FROM v$database@v_dblink) dbname,
                      bu.name Company_name
               FROM dboltp.s_org_ext@v_dblink bu
               INNER JOIN com_unique uusers ON (uusers.bu_id = bu.row_id)
              );
          END LOOP;
          CLOSE db_cur;
        END desktop_proc;
    

    Thank you

    Maybe this can work for you:

    CREATE OR REPLACE
        PROCEDURE desktop_proc
        AS
          v_name    VARCHAR2(10);
          v_dblink  VARCHAR2(10);
          v_statement varchar2(2000);
          CURSOR db_cur
          IS
            SELECT 'test_name' dual_name, 'test_dbl' dual_link
            FROM dual;
        BEGIN
          OPEN db_cur;
          LOOP
            FETCH db_cur INTO v_name,v_dblink;
            EXIT WHEN db_cur%NOTFOUND;
            v_statement := '
            INSERT INTO desktop_lite
              (
                Datestamp,
                pname,
                Db_name,
                Company_name
              )
            SELECT Date_Range,
              '''|| v_name || ''',
              dbname,
              Company_name
              FROM
              (SELECT bu.datestamp Date_Range,
                      (SELECT name FROM v$database@' || v_dblink || ') dbname,
                      bu.name Company_name
               FROM dboltp.s_org_ext@' || v_dblink || ' bu
               INNER JOIN com_unique uusers ON (uusers.bu_id = bu.row_id)
              )';
            dbms_output.put_line (v_statement);
    --            execute immediate v_statement;    -- first look at the statments you produce, then uncomment and test it
           END LOOP;
           CLOSE db_cur;
    END desktop_proc;
    /
    show err
    
    exec desktop_proc
    

    This is my result, it seems that this can work:

    INSERT INTO desktop_lite

    (

    Timestamp,

    PName,

    Db_name,

    Company_name

    )

    SELECT Date_Range,

    "test_name."

    dbname,

    Company_name

    Of

    (SELECT bu.datestamp Date_Range,

    Dbname (SELECT name FROM v$database@test_dbl).

    Bu.Name Company_name

    Dboltp.s_org_ext@test_dbl drunk

    INNER JOIN com_unique uusers ON (uusers.bu_id = bu.row_id)

    )

  • How can I get the default value of the cursor in the address bar when I open a new tab, rather than the cursor by default a search engine text box?

    Using Firefox 17.0.1 and then I XP

    Firefox does by default. You probably have an add-on installed that changed the focus of the cursor in the URL bar of the search bar.

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+themes

  • amount of data to decode the values retuening

    How to calculate the sum of multiple values back to decode, the following conditions I: =.

    sum (decode (v.value, 1, 1, 0)) s of the sum (decode (v.value, 2, 1, 0)) s1,
    sum (decode (v.value, 4, 1, 0)) s3

    now I want the sum of s, s1, s3..., but applying the sum at the level of the query does not... sum (s, s1, s3) does not work

    Help, please

    Published by: user12403816 on June 16, 2012 06:46

    The easiest way would be to wrap another query around that you have doing the decoding, something like:

    select s, s1, s3, s + s1 + s2 total
    from (select sum(decode(v.value, 1 , 1 , 0 )) s,
                 sum(decode(v.value, 2 , 1 , 0 )) s1,
                 sum(decode(v.value, 4 , 1 , 0 )) s3
          from ...
          where ...)
    

    You could also add decodes and the sum which, something like:

    select sum(decode(v.value, 1 , 1 , 0 )) s,
           sum(decode(v.value, 2 , 1 , 0 )) s1,
           sum(decode(v.value, 4 , 1 , 0 )) s3,
           sum(decode(v.value, 1 , 1 , 0 ) + decode(v.value, 2 , 1 , 0 ) + decode(v.value, 4 , 1 , 0 ))
    from ...
    where ...
    

    John

  • Why new tabs do not place the cursor in the url as before?

    yesterday, I click New tab and the tab page comes up with the emphasis placed in the URL bar Highlighter and all I have to do is enter the address I want to search or go to
    Today, the focus ends up with the cursor at the end of the address in the URL bar... NOT GOOD!

    Hello, you can try to reproduce this behavior when you start firefox in safe mode, once? If not, perhaps an addon intrudes here...

    Troubleshoot extensions, themes, and issues of hardware acceleration to resolve common problems of Firefox

  • Execution of 'bringing to the Center' on a free cursor in a graph XY of the newspaper brings the cursor to the top edge of the graphic (instead of Center)

    Dear support,

    Dear users of LV,

    by selecting "make to the Center" for a free cursor in a XY graph has no
    Place the cursor in the center of the chart, but rather the order brings to the
    average/average value. This isn't a problem for a linear
    axis [due to the fact that the center of the axis is equal to]
    medium/medium value of the points on the axis end]. But when
    mapping of the axis is logarithmic, the cursor is found on top of the
    the screen. This is because the average value of the end tip
    ((min (y_axis) + max (y_axis)) / 2) does not match the center of the axle.

    What's the desired behavior, please?

    Example: For a y_axis = [1.100], to the highly anticipated pivot post would be
    10 and no to 50.5. The central position for the logarithmic mapping
    must be calculated as (log (min (y_axis)) + log (max (y_axis))) / 2, IMHO.

    Kind regards

    Lynn,

    It is certainly no bug. You can make a feature request.

    I can't climb this case. LabVIEW wants this behavior.

    It may be possible to program a work around with a property node.

    Richard

  • Is it possible to set the mouse cursor in the Xcontrol?

    In my Xcontrol, I want to change "the mouse cursor. But I found, I can only change the cursor in the VI, which contains my Xcontrol.

    An example: I edited the example labview "Dual Mode thermometer. In case of change of front/data, I put the cursor 2. but it did not work?

    Here is an example to change the cursor when the user points the thermometer

    This mouse enter for the class VI of VI of façade:

    I have a similar setup for the mouse event leave with the value 1.

    Tone

Maybe you are looking for