Need to use values from the first query in other queris to the data model

Hello
Here is my requirement-

I use the data model to run multiple queries. The first query, I get 10 records. Now, I want to use these 10 records in the second query to get my final result. I am not able to use the sub query as the two motions are quite long and complex.

Select distinct Bishop of emp

Select empno, emp where Bishop in (: Bishop)

I can't use: Bishop because it will give only the last value stored at Archbishop. Is it possible to be able to use all the values from the first query in the second query using the data model?

Hello

Are you sure that you have your "dataStructure" configured correctly? Try this simple example:

                                                                      

Hope this helps

Andy

Tags: Business Intelligence

Similar Questions

  • Insert the value from the date of the operation, max

    Hello

    We use oracle 10g R2 on windows.

    I want to insert values from one table to the other. Suppose I have a table emp (empcode, salary, dt_update) and have another table emp_live (empcode, salary).

    data into the emp table are as
    EMPCODE     SALARY     DT_UPDATE
    
    281G     10611230.319     10/9/2010 6:38:30 PM
    281G     37819399.457     10/8/2010 6:38:30 PM
    291G     16500012.429     10/10/2010 6:38:30 PM
    291G     108145595.738     10/9/2010 6:38:30 PM
    292G     79449005.406     10/11/2010 6:38:30 PM
    292G     198819948.865     10/10/2010 6:38:30 PM
    293E     4532332.618     10/12/2010 6:38:30 PM
    293E     142572824.216     10/11/2010 6:38:30 PM
    294D     116505728.748     10/13/2010 6:38:30 PM
    294D     90087585.925     10/12/2010 6:38:30 PM
    My requirement is to insert only those records where the maximum date of DT_UPDATE.

    In the above senario only records below need to obtain insert
    EMPCODE     SALARY     DT_UPDATE
    281G     10611230.319     10/9/2010 6:38:30 PM
    291G     16500012.429     10/10/2010 6:38:30 PM
    292G     79449005.406     10/11/2010 6:38:30 PM
    293E     4532332.618     10/12/2010 6:38:30 PM
    294D     116505728.748     10/13/2010 6:38:30 PM
    I am trying to insert it as
    insert into emp_live select empcode,salary from emp where dt_update=(select max(dt_update) from emp)
    But above not giving not correct results beacase when I select the records as
    select empcode,max(dt_update) from emp group by empcode
    Above shows 1665 records, but when I am inserting only insert 16 records.

    Help, please.

    Something like this:

    create table test (empcode varchar2 (4), salary number, date of dt_update);
    Insert test values (' ' 281 G ", 10611230.319, to_date (October 9, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    Insert test values (' ' 281 G ", 37819399.457, to_date (October 8, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    Insert test values (' ' 291 G ", 16500012.429, to_date (October 10, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    Insert test values (' ' 291 G ", 108145595.738, to_date (October 9, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    Insert test values (' ' 292 G ", 79449005.406, to_date (October 11, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    Insert test values (' ' 292 G ", 198819948.865, to_date (October 10, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    insert into test values ('293E', 4532332.618, to_date (October 12, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    insert into test values ('293E', 142572824.216, to_date (October 11, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    Insert test values ('294, 116505728.748, to_date (October 13, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    Insert test values ('294, 90087585.925, to_date (October 12, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))

    SQL> column salary for 99999999999.9999;
    SQL> select * from test;
    
    EMPC            SALARY DT_UPDATE
    ---- ----------------- ---------
    281G     10611230.3190 09-OCT-10
    281G     37819399.4570 08-OCT-10
    291G     16500012.4290 10-OCT-10
    291G    108145595.7380 09-OCT-10
    292G     79449005.4060 11-OCT-10
    292G    198819948.8650 10-OCT-10
    293E      4532332.6180 12-OCT-10
    293E    142572824.2160 11-OCT-10
    294D    116505728.7480 13-OCT-10
    294D     90087585.9250 12-OCT-10
    
    10 rows selected.
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  select min(empcode),max(salary),max(dt_update)
      2  from test
      3  group by empcode
      4* order by 1
    SQL> /
    
    MIN( MAX(SALARY) MAX(DT_UP
    ---- ----------- ---------
    281G  37819399.5 09-OCT-10
    291G   108145596 10-OCT-10
    292G   198819949 11-OCT-10
    293E   142572824 12-OCT-10
    294D   116505729 13-OCT-10
    
    SQL> insert into test
      2  (
      3  select min(empcode) empcode,max(salary) salary,max(dt_update) dt_update
      4  from test
      5  group by empcode
      6  )
      7  /
    
    5 rows created.
    
    SQL> select * from test;
    
    EMPC            SALARY DT_UPDATE
    ---- ----------------- ---------
    281G     10611230.3190 09-OCT-10
    281G     37819399.4570 08-OCT-10
    291G     16500012.4290 10-OCT-10
    291G    108145595.7380 09-OCT-10
    292G     79449005.4060 11-OCT-10
    292G    198819948.8650 10-OCT-10
    293E      4532332.6180 12-OCT-10
    293E    142572824.2160 11-OCT-10
    294D    116505728.7480 13-OCT-10
    294D     90087585.9250 12-OCT-10
    281G     37819399.4570 09-OCT-10
    
    EMPC            SALARY DT_UPDATE
    ---- ----------------- ---------
    293E    142572824.2160 12-OCT-10
    294D    116505728.7480 13-OCT-10
    291G    108145595.7380 10-OCT-10
    292G    198819948.8650 11-OCT-10
    
    15 rows selected.
    
    SQL>
    

    Concerning
    Girish Sharma

  • passing multiple values from the query in the select statement of the procedure

    I am collecting IDS to select education agreement from the date of rental values and then I would pass the result of the query in the statement select to get the result.
    data type for the contract id is of type varchar and date of rental there is more than one id to contract for most of the time. Help, please. Thank you

    CREATE OR REPLACE PROCEDURE abstract_menu (p_letting   IN     VARCHAR2,
                                               p_results      OUT SYS_REFCURSOR)
    IS
       v_contractId   VARCHAR2 (40);
    
    SELECT lcontid
      INTO v_contractId
      FROM letprop
     WHERE datestat IS NOT NULL AND letting = p_letting AND letstat <> 'R';
    
    
    BEGIN
       OPEN p_results FOR
            SELECT DISTINCT
                      SUBSTR (l.letting, 3, 2)
                   || '-'
                   || SUBSTR (l.letting, 5, 2)
                   || '-'
                   || SUBSTR (l.letting, 1, 2)
                      lettingdate,
                   l.lcontid contractid,
                   SUBSTR (q.cprojnum, 1, 10) projectnumber,
                   DECODE (TRIM (MIN (j.route)), NULL, 'N/A', TRIM (MIN (j.route)))
                      routenumber,
                   L.DATESTAT statusdate,
                   L.LETSTAT lettingstatus,
                   (q.cdescr) jobdescription,
                   INITCAP (q.clocat1 || q.clocat2) LOCATION
              FROM vendor v,
                   vendaddr r,
                   letprop l,
                   planhold p,
                   proposal q,
                   project j,
                   propproj k,
                   bidlet bd
             WHERE     v.vendor = r.vendor
                   AND k.contid = q.contid
                   AND k.pcn = j.pcn
                   AND l.lcontid = k.contid
                   AND p.vendor = v.vendor
                   AND l.letting = p.letting
                   AND l.lcontid IN v_contactid  "**************This is where I would like to pass the contract id from the above select statement***********'"
                   AND l.CALL = p.CALL
                   AND r.addrnum = p.billto
                   AND bd.letting = l.letting
          GROUP BY q.cdescr,
                   q.clocat1,
                   q.clocat2,
                   bd.letting,
                   l.letting,
                   l.lcontid,
                   q.cprojnum,
                   L.LETSTAT,
                   L.DATESTAT
          ORDER BY lettingdate;
    
    end;

    user9196150 wrote:
    AND l.lcontid IN v_contactid ' * this is where I would like to pass the id of the select statement above contract * ""»

    CREATE OR REPLACE PROCEDURE abstract_menu (p_letting   IN     VARCHAR2,
                                               p_results      OUT SYS_REFCURSOR)
    IS
    BEGIN
       OPEN p_results FOR
            SELECT DISTINCT
                      SUBSTR (l.letting, 3, 2)
                   || '-'
                   || SUBSTR (l.letting, 5, 2)
                   || '-'
                   || SUBSTR (l.letting, 1, 2)
                      lettingdate,
                   l.lcontid contractid,
                   SUBSTR (q.cprojnum, 1, 10) projectnumber,
                   DECODE (TRIM (MIN (j.route)), NULL, 'N/A', TRIM (MIN (j.route)))
                      routenumber,
                   L.DATESTAT statusdate,
                   L.LETSTAT lettingstatus,
                   (q.cdescr) jobdescription,
                   INITCAP (q.clocat1 || q.clocat2) LOCATION
              FROM vendor v,
                   vendaddr r,
                   letprop l,
                   planhold p,
                   proposal q,
                   project j,
                   propproj k,
                   bidlet bd
             WHERE     v.vendor = r.vendor
                   AND k.contid = q.contid
                   AND k.pcn = j.pcn
                   AND l.lcontid = k.contid
                   AND p.vendor = v.vendor
                   AND l.letting = p.letting
                   AND l.lcontid IN (
                                     SELECT  ll.lcontid
                                       FROM  letprop ll
                                       WHERE ll.datestat IS NOT NULL AND ll.letting = p_letting AND ll.letstat  'R'
                                    )
                   AND l.CALL = p.CALL
                   AND r.addrnum = p.billto
                   AND bd.letting = l.letting
          GROUP BY q.cdescr,
                   q.clocat1,
                   q.clocat2,
                   bd.letting,
                   l.letting,
                   l.lcontid,
                   q.cprojnum,
                   L.LETSTAT,
                   L.DATESTAT
          ORDER BY lettingdate;
    
    end;
    /
    

    SY.

  • Need to null values with the values of filling the date before weekend/holidays

    I have a table with a Date column, column Type and rate column.

    The problem is when the weekends and holidays, column Type and rate column are null.

    I need all null values with the values of Type and fill rate before that date is the weekend and public holidays.

    Example:

    I have:

    RATE OF TYPE DATE
    07/01/2010 4510 PM 3.71
    07/01/2010 CETE28 4.59
    07/01/2010 TIIE28 4.95
    07/02/2010 4510 PM 3.82
    07/02/2010 CETE28 4.63
    07/02/2010 TIIE28 5.11
    * NULL NULL 07/03/2010 *.
    * NULL NULL 07/04/2010 *.
    07/05/2010 4510 PM 3.91
    07/05/2010 CETE28 4.74
    07/05/2010 TIIE28 5.25

    Will be:

    RATE OF TYPE DATE
    07/01/2010 4510 PM 3.71
    07/01/2010 CETE28 4.59
    07/01/2010 TIIE28 4.95
    07/02/2010 4510 PM 3.82
    07/02/2010 CETE28 4.63
    07/02/2010 TIIE28 5.11
    * 07/03/2010 4510 PM 3.82*
    * 07/03/2010 CETE28 4.63*
    * 07/03/2010 TIIE28 5.11*
    * 07/04/2010 4510 PM 3.82*
    * 07/04/2010 CETE28 4.63*
    * 07/04/2010 TIIE28 5.11*
    07/05/2010 4510 PM 3.91
    07/05/2010 CETE28 4.74
    07/05/2010 TIIE28 5.25

    What could I do?

    Hello

    You can use the analytic LAST_VALUE function to get the last day of work before each date into your table. It will be the same as the current day for every day of work.
    Do it a self-join to combine each current line (c) with the last day of work (l):

    WITH     got_last_work_day     AS
    (
         SELECT     dt, type, rate
         ,     LAST_VALUE ( CASE
                        WHEN  type  IS NOT NULL
                        THEN  dt
                       END
                       IGNORE NULLS
                      ) OVER (ORDER BY dt)     AS last_work_day
         FROM     table_x
    )
    SELECT       c.dt, l.type, l.rate
    FROM       got_last_work_day     c
    JOIN       got_last_work_day     l  ON       (    c.dt          = l.dt
                             AND  c.type          = l.type
                             )
                           OR     (    c.last_work_day     = l.dt
                             AND  c.type          IS NULL
                             )
    ORDER BY  c.dt
    ,       l.type
    ;
    

    Among other things, I guess that the type is NULL if (and only if) the line represents a holiday or weekend, and that the combination (dt, type) is uniuqe.

  • Retruning lines which have the same return value from the function RANK

    Hi, I want to achieve is to use a DENSE RANK function to identify the same value of the data, if the rank values are same then extra. Here is the code
    WITH CTE AS
    (
    SELECT SalesPersonID,
    SalesQuota,
    DENSE_RANK() OVER (ORDER BY SalesQuota DESC) as DENSE_RANK
    FROM Sales.SalesPersonQuotaHistory
    WHERE SalesQuota BETWEEN 266000.00 AND 319000.00
    )
    This retrun
    SalesPersonID SalesQuota DENSE_RANK
    280 319000.00 1
    287 304000.00 2
    280 301000.00 3
    282 288000.00 4
    283 284000.00 5
    287 281000.00 6
    278 280000.00 7
    283 280000.00 7
    283 267000.00 8
    278 266000.00 9
    How I choose the rank value that are of the same value?

    The result should be
    278 280000.00 7
    283 280000.00 7
    with cte as
    (
     select salespersonid,
         salesquota,
         dense_rank() over (order by salesquota desc) as dr
       from sales.salespersonquotahistory
      where salesquota between 266000.00 and 319000.00
    )
    select *
      from (
         select cte.*, count(*) over(partition by dr) ct
           from cte
           )
     where ct > 1
    
  • Received a message that my Garageband is damaged and I need to download it from the app store.  Never had an application to be damaged.  Is it current?  OSX 10.9.5 Garageband 10.0.2

    Received a message that my Garageband is damaged and I need to download it from the app store.  Never had an application to be damaged.  Is it current?  OSX 10.9.5 Garageband 10.0.2

    Received a message that my Garageband is damaged and I need to download it from the app store.  Never had an application to be damaged.  Is it current?  OSX 10.9.5 Garageband 10.0.2

    Is the exact error message ""GarageBand.app is damaged and cannot be opened. " Delete Name.app and download it again from the App Store. »"  ?

    The error message is caused by an expired certificate.  See: http://osxdaily.com/2015/11/12/fix-app-is-damaged-cant-be-opened-error-messages-en-mac-os-x /

    1. Restart the Mac, that alone may be sufficient to correct the problematic applications and remove the error message
    2. If a restart does not fix the app, delete the application (simply drag it to the trash and do not empty), then restart the Mac App Store and download the app again through the purchases tab or by searching for the app manually
    3. Reopen once affected applications, they should now work properly
  • What pins to use to receive the data from the PDS ELITE RS485 with the PXI-8431/2?

    Hello!

    I use the PXI-8431/2 to read data from the flow meter PDS ELITE (Modbus RTU). Receiving data, the RS485 protocol request to terminals 4 and 5, but this configuration does not seem to work. When I connect the RS-485 converter USB of Microflex I get the data correctly, so somehow between the PIN lay and PXI this problem there.

    Can someone help me?

    See you soon,.

    Steven

    Hello Steven,

    I think that what was Hossein trying to send you is the following:

    How to connect and configure a device with RS-485 2-wire

    Can you also tell me a little more what you use to read the data? What environment. You have 2-wire or 4-wire Modbus RTU?

    Kind regards

  • Save the selected value from the ListBox with its respective values control tab dropdown selected in another list box

    Hi all

    I'm doing a vi where I save the selected value from the ListBox with values respective tab control dropdown selected in another list box. Whenever I select Item1 can change of course and the respective tab will be open for this element. But now I want to just save the selection and put it into another ListBox.SO I can't renmove or add my wishes. Please help me.

    It will work.

    Probably not the greatest solution well.

  • Impossible to select the value from the search screen (quick select, then) on OFA

    Hello

    We have a problem with a user who are not able to select any value from the LOV on any page of the Oracle.

    1. click the button of LOV

    2. search + go

    3. Select or quick selection nothing happens (error on the Page appears in the left corner of the homepage)

    4. only cancel works.

    Any suggestion would be appreciated.

    I saw a similar question posted Impossible to select the value from the search screen (quick select, then) on OFA

    But unfortunately this is not the answer.

    Thank you

    Sam

    Display of the solution to help others. I tried to connect a SR and suddenly a pop Note ups that helped.

    The problem is related to the profile "Self Service Accessibility Features" customer has defined for the user concerned.

    Follow these steps:

    1 change the value of 'None' profile at the user level.

    2 disconnect / connect to the application and testing.

    See you soon.

  • Can I use pictures from the reserve for commercial use for my members to do with.  We would not sell the photos but the use for commercial use.

    Can I use pictures from the reserve for commercial use for my members to do with.  We would not sell the photos but the use for commercial use. (the 29.99 price months?)

    Thank you.

    Barbara

    In your case you will very likely get extended licenses for images from Fotolia.com otherwise you would have to buy a new license for each Member who has access to use the weather picture they actually use it or not...

  • Restore the default value from the drop-down list

    Hyperion Inreatctive reports.

    I have an embedded in a dashboard report.  I drag the lists that filter the report.  Filter feed results and it works fine.

    I want to put a command button on the dashboard that restores the default values from the dropdown lists.  I have a selection in each drop-down menu, 'all '.  "All" is the default value.

    For example, for the year

    drop_Year

    for the region:

    drop_Region

    What command should I put on the command button that any value is displayed in the drop-down lists of this command, restore it to "all"?


    Watch the Select() method

    w

  • Need to find gaps in the data

    Hi all

    I have the following documents:

    -Drop Table
    drop table agreement;
    drop table GRP_INFO;
    -Create table
    create table agreement
    (
    Agreement_Id Number (5),
    Date of Coverage_Effective_Date,
    Date of COVERAGE_termination_date
    );
    Create Table GRP_INFO
    (
    Agreement_Id Number (5),
    Grp_Id Number (5),
    Date of Effective_Date,
    Date TERMINATION_DATE
    );
    ------------

    -Insertion
    Insert into the agreement
    Select 100,'01 JAN - 2013", December 31, 2013"
    From Dual;

    Insert into the agreement
    Select 200,'01 JAN - 2013", December 31, 2013"
    From Dual;

    Insert into the agreement
    Select 300,'01 JAN - 2013", December 31, 2013"
    From Dual;

    Insert into the agreement
    Select 400,'01 JAN - 2013", December 31, 2013"
    From Dual;
    ----------
    Insert into Grp_Info
    Select 100.1, 1 January 2013 ", 31 March 2013"
    Of the double
    UNION ALL
    Select 100.2, April 1, 2013 ", April 2, 2013"
    Of the double
    UNION ALL
    Select 100.3, April 3, 2013 ", April 15, 2013"
    Of the double
    UNION ALL
    Select 100.4, April 3, 2013 ", April 15, 2013"
    Of the double
    UNION ALL
    Select 100.5, 1 June 2013 ", December 31, 2013"
    Of the double
    Union All
    Select 200.6, 1 January 2013 ", April 2, 2013"
    Of the double
    Union All
    Select 200,7, April 3, 2013 ", April 15, 2013"
    Of the double
    Union All
    Select 200,8, April 3, 2013 ", April 15, 2013"
    Of the double
    Union All
    Select 200,9, June 1, 2013 ", November 30, 2013"
    Of the double
    Union All
    Select 300,10, 1 January 2013 ", April 15, 2013"
    Of the double
    Union All
    Select 300,11, April 16, 2013 ", December 31, 2013"
    Of the double
    Union All
    Select 400,12, January 2, 2013 ", December 31, 2013"
    From Dual;

    COMMIT;

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

    -Queries on the table of the agreement

    Select * agree;

    -Result of the query

    agreement_id coverage_effective_date coverage_termination_date

    100                                         01-JAN-13                                                   31-DEC-13

    200                                         01-JAN-13                                                   31-DEC-13

    300                                         01-JAN-13                                                   31-DEC-13

    400                                         01-JAN-13                                                   31-DEC-13

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

    -Queries on grp_info table

    agreement_id grp_id effective_date termination_date

    100                                              1                     01-JAN-13                       31-MAR-13

    100                                              2                     01-APR-13                       02-APR-13

    100                                              3                     03-APR-13                       15-APR-13

    100                                              4                     03-APR-13                       15-APR-13

    100                                              5                     01-JUN-13                        31-DEC-13

    200                                              6                     01-JAN-13                        02-APR-13

    200                                              7                     03-APR-13                        15-APR-13

    200                                              8                     03-APR-13                        15-APR-13

    200                                              9                     01-JUN-13                         30-NOV-13

    300                                              10                   01-JAN-13                         15-APR-13

    300                                              11                   16-APR-13                         31-DEC-13

    400                                              12                   02-JAN-13                          31-DEC-13

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

    -Result

    agreement_id

    100

    200

    400

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

    -Logic for the above result

    Each agreement_id have several grp_id and grp_id all or at least one should cover all the period agreement_id for example:

    -Agreement_id 100 a protection from the date is January 1, 2013 and coverage_termination_date is December 31, 2013, and if you look in all the archives against agreement_id 100 so you can find the period from April 16, 2013 until 31 May 2013 are missing so I need this agreement_id.

    -Agreement_id 200 a protection from the date is January 1, 2013 and coverage_termination_date is December 31, 2013, and if you look in all the archives against agreement_id 200 then you can find that the period from December 1, 2013 until 31 December 2013 are missing so I need this agreement_id.

    -Agreement_id 300 a protection from the date is January 1, 2013 and coverage_termination_date is December 31, 2013, and if you look in all the archives against agreement_id 300 then you can find that no period is missing, I don't need this agreement_id.

    -Agreement_id 400 a protection from the date is January 1, 2013 and coverage_termination_date is December 31, 2013, and if you look in all the archives against agreement_id 300 then you can find that the period from January 1, 2013, until January 1, 2013 is missing, so I need this agreement_id.

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

    Please let me know if you have any related questions my script and I really appreciate if someone can give me the solution for this problem.

    Concerning

    Line

    Hello

    Here's one way:

    WITH got_gap AS

    (

    SELECT agreement_id, effective_date, termination_date

    CASE

    WHEN effective_date >

    1 + MAX (termination_date) OVER (PARTITION BY agreement_id

    ORDER BY effective_date

    ROWS BETWEEN UNBOUNDED PRECEDING

    AND 1 PRECEDING

    )

    THEN 1

    Difference in the END as the

    OF grp_info

    )

    SELECT g.agreement_id

    OF got_gap g

    JOIN agreement has ON a.agreement_id = g.agreement_id

    GROUP BY g.agreement_id

    GIVEN the NUMBER (g.gap) > 0

    MIN (g.effective_date) OR > MIN (a.coverage_effective_date)

    OR MAX (g.termination_date)< max="">

    ORDER BY g.agreement_id

    ;

    Output:

    AGREEMENT_ID

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

    100

    200

    400

    Makes no assumptions about effective_date and termination_date, except that effective_date<= termination_date="" on="" each="" row. ="" it's="" okay="" if="" different="" rows="" for="" the="" same="" agreement_id="" overlap,="" or="" if="" one="" encompasses="">

    Do not attempt to insert VARCHAR2 values (like January 1, 2013 "") in the DATE columns.  Use TO_DATE, either DATE literals.

  • Display of information from the data CAN at a gauge table

    Hello

    I'm new to Labview and just know the basics. I use a sample code to send and receive messages CAN. I need to view the data of received messages (only the first two bytes) on two gauges, i.e. the first two values of the data matrix. Is it possible to do? Also, it would be useful if I could control the value of the first byte of data using a button or dial. Any help would be appreciated.

    Thank you

    Brian

    Hello Brian,.

    You can use the "Subset of the table" function in your range of tables in your diagram and choose zero index and size two (2 items out of the table) in order to extract the first two values.

    Here is a link to the help of the service document:

    http://zone.NI.com/reference/en-XX/help/371361E-01/Glang/array_subset/

    You can have all of your comments as a control and set the default values for the items you want to change. You can access this property by setting the value on the control, and then right-click on it to go to the "information Operations" then 'Create this value default value'. Then, you can right click the control you want to change and replace with a dial. Make sure you only select properly its representation. For example, a byte you would probably select U8.

    Attached is an example, please take a look and let me know if it helps.

    Kind regards

    Michael S.
    Technical sales engineer
    NEITHER UK & Ireland

  • Synchronization of the comments of the column from the relational model to the data dictionary?

    I changed/added comments of column to a table in my relational model. When I try to sync the database data dictionary changes are never included the observations of the new column. In fact, I see that the values in the field 'Commentary in RDBMS' are different in the preview window to compare, but the line is not highlighted in red I guess that, in fact it is even dimmed. Also, I can not check the check box "selected".

    Is there a way to get comments to synchronize? I don't miss any option that I first? Is this a bug or an expected behavior?

    I use the version 4.0.3 x 64 of the Data Modeler.

    Any help would be appreciated,

    Charlie

    Hi Charlie,

    but the line is not highlighted in red I guess that in fact it is grayed out even.

    "that means property is excluded from the comparison - the same dialog box click on tab -" Options > properties filters '-you can control the properties to include in compare it it is to say ' comment in RDBMS ' must be checked.

    Press the button "Refresh trees" after the properties are set correctly.

    Philippe

  • How to store the result of a query in a variable in the data model

    In a model of date I want to do something like this

    < name of dataTemplate = than one dataSourceRef "HURDetail" = "BRM_DATA_SOURCE" >
    < Parameters >
    < parameter name = "PARAM_THRESHOLD_VALUE" dataType = "number", defaultValue = "0" / >
    < / Parameter >

    < SQLStatement instance name = "Q1" >
    <! [CDATA]
    SELECT count (*) FROM TABLE_NAME
    []] >
    < / sqlStatement >

    -I want to assign the output of the above query to PARAM_THRESHOLD_VALUE so I can use it in future requests...
    -My query is complex, for reason of performance I want to store the output of the query.

    Please suggest how do...
    Made a package with the PARAM_THRESHOLD_VALUE parameter and the function value entry assigns the done variable to work?

    Thank you
    Shiva

    Hey Shiva,

    If you want to use the value of the counter in the other queries in the data model, you can have an alias for the extraction of County and use it as a bind variable in other queries as


    SELECT count (*) PARAM_THRESHOLD_VALUE
    FROM TABLE_NAME
    ]]>

    and can use it in another query as


    SELECT XYZ
    FROM TABLE_NAME2
    WHERE XXX = *: PARAM_THRESHOLD_VALUE *.
    ]]>

    Hope this is what you want.
    Thank you.

Maybe you are looking for