How to find the value max and min of an attribute for a master VO
HelloIs it possible to find maximum and minimum a master view object attribute values in groovy.
I need to have the (START_DATE) min and max (end_date), values to pass to my Gantt chart to the table project start date and end date.
For detail view objects, we can use < accessor > .max (start_date), but to see Master objects?
I use jdeveloper 11.1.1.3.
Thank you
Guna.
Published by: guna.b on December 13, 2010 11:01
How about setting GOES to the same point of view and by using the groovy you mentioned in your message
Tags: Java
Similar Questions
-
How to find the value max and min for each column in a table 2d?
How to find the value max and min for each column in a table 2d?
For example, in the table max/min for the first three columns would be 45/23, 14/10, 80/67.
Thank you
Chuck,
With color on your bars, you should have enough experience to understand this.
You're a loop in the table already. Now you just need a function like table Max and min. loop. And you may need to transpose the table 2D.
-
How to find the value dated the same day in the last year
I want to know how to find the value dated the same day in the last year.
I use now, there is the function with the year and the result is
Year Rev There are Rev 2011 3000 2012 4000 3000 2013 2000 4000 2014 5000 2000 It works but it's not that I want. I'm trying to add the column date (Ex.20140101) in my report but it'snot work.
I want to show:
Date Rev There are Rev 20110112 200 20120112 100 200 20130112 300 100 20140112 500 300 If use (< degree >, < time_dim >. < date >, 365), it works but does not correct 100%
Please help me...
Thank you very much
Check this link cool - bi.com
-
How to find the first Sunday and the second Saturday of each month
Hi all
How to find the first Sunday and the second Saturday of each month
Thank you
Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
994122 wrote:
Hello
I need to pass the months parameter how to do this? like Jan, Feb etc... (one of those)
Do you have a procedure?
Should you output only for the months you passed in the parameter?
The easiest way is to set the parameter as date. When you go such as p_date as DATE ' 2014-10-01', then you can
PROCEDURE two_dates)
p_date IN DATE
p_first_sunday DATE
p_second_saturday DATE
)
IS
BEGIN
p_first_sunday: = NEXT_DAY (TRUNC (p_date, 'MM') - 1, TO_CHAR (DATE ' 2014-10-12', 'DAY'));
p_second_saturday: = NEXT_DAY (TRUNC (p_date, 'MM') - 1, TO_CHAR (DATE ' 2014-10-11', 'DAY')) + 7;
END two_dates;
Or you describe what you need.
-
How to find the value closest in the table?
Hi all
I just want to find the value closest from the string table. That I joined herer as an image.
Now, if I want to find the value of 350 of the string table and that's not in the table in the output array there should be more close 350 display value...
Thank you for the support
Vinal Gandhi
Hi G Vinal,
something like the joint comes to my mind.
It may be useful
Mike
-
How to find the session killed and computer name
Hello
At the time of the batch run killed .somebody this session without me knowing how to find the user particular db level or oslevel .de name which machine they killed how know at the OS level. but when I put the audit_trail = os only user SYSDBA activities are not checked the other activities of the user.
The server is AIX and db version 11i provide the query for conclusion or os level.
Thank you
DBC.
Published by: dbc001 on March 26, 2013 21:48check with who ever is privilleges to kill these perticluar session, if you have few users.
It is not possible to findout without verification or error info... etc.
Otherwise, restart these jobs perticluar and follow closely. -
How to calculate the value of 2.50e + 2 in the analysis of string function when the %f format string is selected?
the format may be stung a control
-
How to find the first max value for each item
Hello
I have the me_result of the table as below,
SELECT * FROM me_result;
ID ||| ELITE ||||||||||| FREQ_ITEM | COMBINED_STR | SUP
1 ||; 1; 10; 2; 3; 4; 5; 7; 8. 1 ||||||||||||||; 1; 10; 2; 3; 4; 5; 7; 8 ||| 2
2 ||; 1; 10; 2; 3; 4; 5; 7; 8. 2 ||||||||||||||; 1; 10; 2; 3; 4; 5; 7; 8 ||| 2
3 ||; 1; 10; 2; 3; 4; 5; 7; 8. 3 ||||||||||||||; 1; 10; 2; 3; 4; 5; 7; 8 ||| 2
4 ||; 1; 10; 2; 3; 4; 5; 7; 8. 4 ||||||||||||||; 1; 10; 2; 3; 4; 5; 7; 8 ||| 2
5 ||; 1; 10; 2; 3; 4; 5; 7; 8. 5 ||||||||||||||; 1; 10; 2; 3; 4; 5; 7; 8 ||| 2
6 ||; 10; 2; 3; 4; 5; 8; 9. 1 ||||||||||||||; 10; 2; 3; 4; 5; 8; 9; 1 ||| 1
7 ||; 10; 2; 3; 4; 5; 8; 9. 2 ||||||||||||||; 10; 2; 3; 4; 5; 8; 9 ||| 2
8 ||; 10; 2; 3; 4; 5; 8; 9. 3 ||||||||||||||; 10; 2; 3; 4; 5; 8; 9 ||| 2
9 ||; 10; 2; 3; 4; 5; 8; 9. 4 ||||||||||||||; 10; 2; 3; 4; 5; 8; 9 ||| 2
10 ||; 10; 2; 3; 4; 5; 8; 9. 5 ||||||||||||||; 10; 2; 3; 4; 5; 8; 9 ||| 2
I need to find the first COMBINED_STR max for each element of the ELITE,
I mean, max value is the max REGEXP_COUNT (combined_str,' ;')))
really, I try to write down, but I had a lot of values for each ELITE and I need only the first, that
SELECT * from me_result
WHERE (ELITE, REGEXP_COUNT (combined_str,' ;')))) IN
(SELECT ELITE, MAX (REGEXP_COUNT (combined_str,' ;'))))) ME_RESULT ELITE GROUP);
I need the result to be as below.
1; 1; 10; 2; 3; 4; 5; 7; 8-1; 1; 10; 2; 3; 4; 5; 7; : p
6; 10; 2; 3; 4; 5; 8; 9 1; 10; 2; 3; 4; 5; 8; 9; 1 1
any help please,.
Published by: user11309581 on July 10, 2011 22:03Can be
with t as (select 1 ID, ';1;10;2;3;4;5;7;8' ELITE, 1 FREQ_ITEM, ';1;10;2;3;4;5;7;8' COMBINED_STR, 2 SUP from dual union all select 2 ,';1;10;2;3;4;5;7;8' ,2 ,';1;10;2;3;4;5;7;8' ,2 from dual union all select 3 ,';1;10;2;3;4;5;7;8' ,3 ,';1;10;2;3;4;5;7;8' ,2 from dual union all select 4 ,';1;10;2;3;4;5;7;8' ,4 ,';1;10;2;3;4;5;7;8' ,2 from dual union all select 5 ,';1;10;2;3;4;5;7;8' ,5 ,';1;10;2;3;4;5;7;8' ,2 from dual union all select 6 ,';10;2;3;4;5;8;9' ,1 ,';10;2;3;4;5;8;9;1' ,1 from dual union all select 7 ,';10;2;3;4;5;8;9' ,2 ,';10;2;3;4;5;8;9' ,2 from dual union all select 8 ,';10;2;3;4;5;8;9' ,3 ,';10;2;3;4;5;8;9' ,2 from dual union all select 9 ,';10;2;3;4;5;8;9' ,4 ,';10;2;3;4;5;8;9' ,2 from dual union all select 10 ,';10;2;3;4;5;8;9' ,5 ,';10;2;3;4;5;8;9' ,2 from dual ) select ID,ELITE,FREQ_ITEM,COMBINED_STR,SUP from ( SELECT ID,ELITE,FREQ_ITEM,COMBINED_STR,SUP, ROW_NUMBER() over (PARTITION BY ELITE order by id) RN FROM t WHERE (ELITE,REGEXP_COUNT(combined_str,';')) IN (SELECT ELITE,MAX(REGEXP_COUNT(combined_str,';')) FROM t GROUP BY ELITE) ) where RN=1 order by id ID ELITE FREQ_ITEM COMBINED_STR SUP ---------------------- ----------------- ---------------------- ----------------- ---------------------- 1 ;1;10;2;3;4;5;7;8 1 ;1;10;2;3;4;5;7;8 2 6 ;10;2;3;4;5;8;9 1 ;10;2;3;4;5;8;9;1 1
-
Place a value max and min on the date picker
Apex 4.2
I have a report interactive apex which is framed by a start_date and end_date a. We will call P1_START and P1_END. They are the two fields of date picker. Once the user selects a date, the report is updated accordingly display the results falling between the date ranges. Pretty sImple. As we know, the date picker has throughout the calendar year. Is there a way to limit the date picker to go only to come or already in a month? So if the user were using the application today, would later return they might choose 24/10/2013 and the furthest in the future would be 12 24, 2013, honorably.
Any help on this would be greatly appreciated. Thanks in advance.
Change your date picker control object
Go to the settings section
The value of minimum date to "-1 m".
Maximum date "m + 1"
Click on the legends of the attribute for more options.
-
How to find the model, product and serial number on your Hp Printer.
This video shows you how to find your model number, product number and the serial number of your Hp Printer. This information is required to use the Hp customer care website, downlad the latest drivers, find product specifications, order correct substitute parts, troubleshooting to find the items and validate the warranty status.
* If you find this useful or mean please make sure you click on the White Star under my name to give me congratulations. **
I hope this helps!
-
How to find the value duplicate of each column.
I have it here are four columns,
How can I find the duplicate of each columns value.
with All_files like)
Select ' 1000 'like BILL, "2000" AS DELIVERYNOTE, CANDELINVOICE ' 3000', '4000' CANDELIVERYNOTE of all union double
Select ' 5000 ', ' 6000', ' 7000 ', ' 8000' Union double all the
Select '9000 ', '1000', '1100',' 1200' from dual union all
Select ' 1200 ', ' 3400', ' 6700 ', ' 8790' Union double all the
Select ' 1000 ', ' 2000', ' 3000 ', ' 9000' Union double all the
Select '1230', '2340', ' 3450 ', ' 4560' double
)
SELECT * from All_files
Output should be as shown below.
1000 2000 3000 4000
9000 1000 1100 1200
1200 3400 6700 8790
1000 2000 3000 9000
Required to check uniqueness columns.
Thank you.Hello
If you are not too concerned about performance, this should give you the desired result:
SELECT distinct INVOICE, DELIVERYNOTE, CANDELINVOICE, CANDELIVERYNOTE FROM ( SELECT a.*, count(*) over(partition by t.column_value) cnt FROM All_files a, table( sys.odcivarchar2list( a.INVOICE , a.DELIVERYNOTE , a.CANDELINVOICE , a.CANDELIVERYNOTE ) ) t ) WHERE cnt > 1 ;
-
I have Table with columns of test
name value values_date
-----------------------------
A 40 01/08/2010
A 10 02/08/2010
A 10 03/08/2010
A 10 08-04-2010
A 20 03/08/2010
A 50 02/08/2010
A 50 03/08/2010
A 50 04/08/2010
B 100 01/08/2010
B 10 02/08/2010
B 20 03/08/2010
B 10 08-01-2010
B 100 11/08/2010
B 100 12/08/2010
B 100 13/08/2010
Insert into test values('A','40','1/8/2010');
Insert into test values('A','10','2/8/2010');
Insert into test values('A','10','3/8/2010');
Insert into test values('A','10','4/8/2010');
Insert into test values('A','20','3/8/2010');
Insert into test values('A','50','2/8/2010');
Insert into test values('A','50','3/8/2010');
Insert into test values('A','50','4/8/2010');
Insert into test values('B','100','1/8/2010');
Insert into test values('B','10','2/8/2010');
Insert into test values('B','20','3/8/2010');
Insert into test values('B','10','1/8/2010');
Insert into test values('B','100','11/8/2010');
Insert into test values('B','100','12/8/2010');
Insert into test values('B','100','13/08/2010');
I like OP
name min_value max_value max_value_date min_value_date
-------------------------------------------------------------------------
A 50 04/08/2010 10 02/08/2010
B 10 01/08/2010 100 13/08/2010Hello...
Try saying,.
SQL> SELECT A.NAME,A.VALUE,MIN(A.V_DATE),B.VALUE,MAX(B.V_DATE)FROM TEST A,TEST B WHERE 2 (A.NAME,A.VALUE) IN (SELECT NAME,MIN(VALUE) FROM TEST GROUP BY NAME) AND 3 (A.NAME,B.VALUE) IN (SELECT NAME,MAX(VALUE) FROM TEST GROUP BY NAME) GROUP BY A.NAME,A.VALUE,B.VALUE; NAME VALUE MIN(A.V_DATE) VALUE MAX(B.V_DATE) ---------- ---------- --------------- ---------- --------------- A 10 2/8/2010 50 4/8/2010 B 10 1/8/2010 100 13/08/2010
Kind regards
Santosh.Minupurey -
How to find the percentage, division and the other half sign on my iMac
Please can you help. How can I do per cent, of division and half of the signs on my iMac [El Capitan]
There are simple shortcuts per cent and division:
SHIFT % + 5
÷ Option + /.
As the ½ side, there is no shortcut to it, but you can use the Emoji keyboard and symbols.
You will need to activate it in the keyboard preferences (System preferences - keyboard - put a check mark next to display keyboard, Emoji, and viewers of symbol in the menu bar). After you select it, you can use shortcut ⌃⌘Space to open this keyboard or Edit - Emoji & symbols.
If you do not ½ character in this toolbar, you can search by key word "half" and add it to your favorites for quick access.
-
How to find the values of the parameters of a default listener using LSNRCTL
Hello
I have a default listener with name as 'lsnr_abcd' in the default port.
I'm on 10.2.0.4 version database. If I want to know the parameter values (such as displaymode, dynamic_registration, etc.)
for a listener by default, should what command I use?
I know that for the default listener, we can do the following
(1) run lsnctl
(2) show dynamic_registration
What should I run if I want to get this detail to a listener of "lsnr_abcd".
Thank you
DelphineAfter setting your current listener to the default listener, not the same
lsnrctl > CURRENT_LISTENER SET lsnr_abcd
You can run additional commands without your name of the listener
lsnrctl > set DISPLAYMODE
Published by: renee_mathieu on July 19, 2012 06:53
Published by: renee_mathieu on July 19, 2012 06:54
-
How to find the simultaneous executable and a program attached to it.
Hi all
Could someone help me find the ingredients for a simultaneous program.
Thank you.>
System - simultaneous administrator - programs...
>
or
application developer-> simultaneous-> program or executable fileOh oh oh
>
Handle: user651567
Status level: Beginner
Join date: August 11, 2008
Messages total: 271
Total Questions: 139 (134 pending)
>
Nobody can't help you?Published by: Alexandr on June 22, 2012 06:24
Maybe you are looking for
-
Hello My firefox has suddenly started to stutter a reason any. I have not installed or uninstalled modules or software to my computer. I did a full reboot of my computer and used the browser in safe mode, but it did not help. In the resource monitor,
-
Compaq 610 functional keyboard then not work and therefore in a circle
Good greetings to all members of this forum . right, a strange thing, when I turn on my laptop all the keys work fine, then after 3... only 5 minutes from the navigation keys will work. in this case I would restart the laptop, so again, it will work.
-
Windows XP hangs for about 2 minutes after I click on start-> stop. So it takes 2 minutes to XP display the shutdown options. I checked the event viewer, and it seems to point the problem to some sort of DCOM error. I have provided a screen shot of
-
Help me understand this notification!
In the upper left corner of my screen there is what looks like a bubble of 'cat' with a big circle with three circles following behind her. It is said in the middle of the bubble XL... the clues!
-
My CPU fan is noises when my computer is turned on (although if I put the camera on the side, I hear no sound at all). I've had my computer for about a decade now, and it works like a charm, except for the fan who has suddenly started to make noise.