Selection of data according to the requirement
HelloI HAVE A STRUCTURE OF TABLE AND ITS VALUES AS BELOW.
create table test
(code varchar2 (10))
usable varchar2 (2));
insert into test ('CV001', 'V') values;
insert into test ('CV002', 'V') values +
Insert test values ('CV002', ' don't);
insert into test ('CV003', 'V') values;
insert into test ('CV004', 'V') values;
insert into test ('CV005', 'V') values;
insert into test values ('CV006', ' don't); +
Insert test values ('CV006', ' don't);
insert into test ('CV007', 'V') values +
Insert test values ('CV007', ' don't);
insert into test ('CV007', 'P') values;
insert into test ('CV008', 'V') values;
insert into test ('CV009', 'V') values;
Insert test values ('CV0010', ' don't);
insert into test ('CV0010', 'P') values +
I want to choose the code using the following condition.
"If you find 2 or more records with the same code, you take that is usable in alphabetical order the letter higher."
In this case, I would take records "BOLD" italics between above documents with the same code. (highlighted in bold)
I'm unable to reach higher.
Any help would be appreciated.
Thank you
Mahesh
Hello Manu,
simple function max:
SELECT code, MAX (usable) usable
FROM test
GROUP BY code;
CODE USABLE
---------- ------
CV003 V
CV006 N
CV009 V
CV0010 P
CV001 V
CV004 V
CV007 V
CV002 V
CV008 V
CV005 V
If case you want to take only the code having 2 or more records, you can use the HAVING clause:
SELECT code, MAX (usable) usable
FROM test
GROUP BY code
HAVING COUNT(*)>= 2;
CODE USABLE
---------- ------
CV006 N
CV0010 P
CV007 V
CV002 V
Kind regards.
Al
Published by: Alberto Faenza on December 12, 2012 12:11
Tags: Database
Similar Questions
-
Using SQL query, create data according to the requirement
Hello
Here is my table
CREATE TABLE Test_Data ( Test_Id VARCHAR2(10), Start_Date DATE, end_date DATE ); INSERT INTO Test_Data VALUES ( 'A1', To_Date('10-OCT-2013','DD-MON-YYYY'), To_Date('11-OCT-2013','DD-MON-YYYY') ); INSERT INTO Test_Data VALUES ( 'A2', to_date('05-APR-2014','DD-MON-YYYY'), to_date('05-APR-2014','DD-MON-YYYY') ); commit
Nauru output like:
ID Date Date_Part A1 OCTOBER 10, 2013 1 A1 OCTOBER 10, 2013 2 A1 OCTOBER 10, 2013 3 A1 OCTOBER 10, 2013 4 A1 OCTOBER 11, 2013 1 A1 OCTOBER 11, 2013 2 A1 OCTOBER 11, 2013 3 A1 OCTOBER 11, 2013 4 A2 APRIL 5, 2014 1 A2 APRIL 5, 2014 2 A2 APRIL 5, 2014 3 A2 APRIL 5, 2014 4 Help, please.
Something along these lines perhaps, but I suggest that you create your own collection types.
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > WITH test_data AS
2 (SELECT 'A1' test_id, to_date (October 10, 2013 ',' MON-DD-YYYY "") start_date,)
3 to_date (11 October 2013 ',' MON-DD-YYYY "") end_date
4 DOUBLE
5. ANY TRADE UNION
6. SELECT 'A2', to_date (5 April 2014 ',' MON-DD-YYYY "").
7 to_date (5 April 2014 ',' MON-DD-YYYY "")
8 DOUBLE)
9. SELECT td.test_id 'ID', da.column_value 'Date', pa.column_value 'Date_Part '.
10 test_data TD,
TABLE 11 (CAST (MULTISET
12 (SELECT td.start_date + LEVEL - 1
13 DOUBLE
14 CONNECT BY LEVEL<= td.end_date="" -="" td.start_date="" +="" 1)="">=>
da 15 sys.odcidatelist)).
16 pa TABLE (sys.odcinumberlist (1, 2, 3, 4));
ID Date Date_Part
-- --------- ----------
A1 10 OCTOBER 13 1
OCTOBER 10, 13 2 A1
OCTOBER 10, 13 3 A1
A1 10 OCTOBER 13 4
OCTOBER 11, 13 1 A1
OCTOBER 11, 13 2 A1
OCTOBER 11, 13 3 A1
OCTOBER 11, 13 4 A1
A2 5 APRIL 14 1
APRIL 5, 14 2 A2
APRIL 5, 14 3 A2
APRIL 5, 14 4 A2
12 selected lines.
SQL >
-
How to set values in a select list dynamically according to the user action
Hello
I'm new to Apex. With the help of Apex 4.0 on Oracle 10 g. In my page, I will have a list of selected countries. According to the user selection value I have to display the States / provinces of this country in another selection list. States have to fetch the state_list table and the province of province_list table.
Can someone tell me how to do this.
n advance thanksHello
LoV using cascading as detailed here http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/bldapp_item.htm#HTMDB05014Kind regards
-
Update the field Date according to the date of another field
Hi I have a field called "contract end Date" which I update manually according to the contract, and a field called "notify contract end Date" I want to be updated automatically with the "end of contract date" - 45 days.
Is this possible via workflow? can someone give me the syntax that works? If I want to manually insert the value of the field 'Date to end the contract to notify' it will overwrite it?
Thank you, DavidHello!
Create your workflow on your object type, select the before saving the trigger modification event, put the following condition:
[< contract end date >] <>MEADOW ("< the contract end date > '")
And in action, update the field End Date of the contract to notify with end Date of contract - 45 and check the replacement value. You contract end Date field must be with the type date.
I hope this will help, do not hesitate to ask for more!
Max
-
Scale to record data according to the time
Hello
I NI 9237, OR cDAQ-9172 and a set of scales. I downloaded the VI 'load_cell_null_off_shuntcal' on the web. And now I need one of no to save the load cell data according to time in an EXCEL file (column of the first hour and second column is load). And how to control the rate of data acquisition? Are there examples of this application? Any help would be appreciated!
Thank you!
Melody
-
How to refine the products according to the requirements of the Satellite L850 series
I would like to know how can I refine the products on this page: -.
http://Gulf.computers.Toshiba-Europe.com/innovation/en/series/satellite-L850-series/1122205/
As you can see, the products on this page are so, and it's really a pain just traverse to distinguish according to the needs, for example:-all products with 6 GB of physical memory, or all products equipped with generation processors third i5?
y at - it an option to choose a specific configuration as in this page? -
http://us.Toshiba.com/computers/laptop-Finder/
Please do the same option in the website of toshiba Gulf also as it is very handy and time recording.
Hi mate
I found this beautiful page on Toshiba EU called Portal: you find ideal for Toshiba laptop
http://EU.computers.Toshiba-Europe.com/innovation/generic/product-selector/
Should be useful for you.
-
Insert data according to the length of column in table
Hello
If the length of the characters is more than one defined causes error. It's very embarrassing especially when get data dynamically
and our query does not insert information that we expect.
While trying to find the solution an idea came to my mind that, before insertion, so we check that the next data is greater than the specified length
Take only the amount of characters that can be inserted and ignore the rest.
I thought that the query as follows but failed.
Is it possible to insert data up to the amount this column length defined by ignoring the obsolete characters and if the dataSQL> insert into cvDetails(cv_id,objectives) values(9687,substr("Hello",1,3950)); insert into cvDetails(cv_id,objectives) values(9687,substr("Hello",1,3950)) * ERROR at line 1: ORA-00984: column not allowed here
length is less defined length of column, and then insert it as it is?
Thank you in anticipationHello
Do not use double quotes as the string delimiters:
SQL> create table test_nsa (str varchar2(10)); Table created. Elapsed: 00:00:00.88 SQL> insert into test_nsa values (substr('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',1,10)); 1 row created. Elapsed: 00:00:00.08
-
extract data according to the date and time
Hi all
create table orders
(number of order_id,
number of customer_no
ORDER_DATE date,
primary key constraint orders_pk (order_id))
Insert orders (order_id, order_date, customer_no)
Select 1,7508, to_date (September 15, 2013 22:09 ',' dd/mm/yyyy hh24 ') of double
Union
Select 2,7508, to_date (September 16, 2013 00:09 ',' dd/mm/yyyy hh24 ') of double
Union
Select 3,7508, to_date (September 16, 2013 11:09 ',' dd/mm/yyyy hh24 ') of double
Union
Select 4,7508, to_date (September 24, 2013 05:00 ',' dd/mm/yyyy hh24 ') of double
-need to recover all the commands which made between 15:00 and 08:00 the next day.
I want that my results will look like:
time of orders
time of orders order_id time Hader 4 September 15, 2013 15:00 ' - 16/09 / 2013 08:00 1 15/09/2013 22:09 '. 2 September 16, 2013 00:09 23/09/2013 15:00-24/09/2013 08:00 4 23/09/2013-05:00 ". Please your help.
Naama
My final request-
WITH t1 as
(
Select 1 order_id, 7508, to_date (September 15, 2013 22:09 ',' dd/mm/yyyy hh24 ') double dt
UNION all
Select 2,7508, to_date (September 16, 2013 00:09 ',' dd/mm/yyyy hh24 ') of double
UNION all
Select 3,7508, to_date (September 16, 2013 11:09 ',' dd/mm/yyyy hh24 ') of double
UNION all
Select 4,7508, to_date (September 24, 2013 05:00 ',' dd/mm/yyyy hh24 ') of double
)
SELECT
(CASE
WHEN To_Char (dt, 'hh24') > 12 THEN
(To_Char (Trunc (dt) + 15/24, "dd/mm/yyyy hh24")) | » -'|| (To_Char (trunc (dt + 1) + 8/24, ' dd/mm/yyyy hh24'))
WHEN To_Char (dt, 'hh24')<12>12>
(To_Char (trunc(dt-1) + 15 / 24, "dd/mm/yyyy hh24")) | » -'|| (To_Char (trunc (dt) + 8/24, ' dd/mm/yyyy hh24'))
END)
time_of_orders, order_id, To_Char (dt, ' dd/mm/yyyy hh24') order_time, header4 NULL
FROM t1
WHERE
DT > = (CASE WHEN To_Char (dt, 'hh24') > 12 THEN
Trunc (dt) + 15/24
WHEN To_Char (dt, 'hh24')<12>12>
Trunc(DT-1) + 15 / 24
end)
AND
DT<=>=>
BOX WHEN To_Char (dt, 'hh24') > 12 THEN
Trunc (DT + 1) + 8/24
WHEN To_Char (dt, 'hh24')<12>12>
Trunc (dt) + 8/24
(end);
It is tested... check my post below.
-
How to disable or enable the button according to the requirement
Hi all,
I get the new requirment finished the 50% task.now .i, I get mew problem.actully my requirmnet is already a custom form is there, placed the button to a custom form .click on this new form will be opened.
but this button will activate based on the condition.in my first my form (custom) paid if he calls rejected rejected value.this value displays some amount vallue.here rejected is zero (0) then button will be disbale, another rejected value great then zero(>0) then one button enabled.any you help me...
Kind regards
Stéphane.994418 wrote:
Hi hamid, this code works correctly, thank you
IF NVL(:REJEC_AMOUNT,0)<= 0="">=>
SET_ITEM_PROPERTY ('BUTTON_NAME', ENABLED, PROPERTY_FALSE);ON THE OTHER
SET_ITEM_PROPERTY ('BUTTON_NAME', ENABLED, PROPERTY_TRUE);
SET_ITEM_PROPERTY ('BUTTON_NAME', NAVIGABLE, PROPERTY_TRUE);
END IF;Kind regards
Hi stephane.
Other people may get help from your thread if you mark the correct answer and add [solved] in the subject line. Most likely, you did not read the following link.
Following these simple guidelines will ensure a positive experience in any forum; not just this one!
Hamid
If someone answer is useful or appropriate, please mark accordingly. *
How to select different data store for the snapshot
Hello
I connected with two data store ESXi 4 server. First data store is a local raid-5 HD and the second data store is a netgear NFS nas.
virtual machines are stored on the local data store. I want to archivie snapshot for my virtual machine to use the second (nas NFS) data store. I tried to snapcho, but the disk data store is used is always the local.
can I select a different data store to store the snapshot files?
Thank you
http://KB.VMware.com/kb/1002929 could help...
/ Rubeck
How to calculate the data according to the fiscal
I want to dispaly the result for the accounting year from April to March for any accounting year (Accounting year is from April to March).
I have a table INVOICE.
CREATE TABLE INVOICE
(
IN_NO NUMBER,
IN_DT DATE,
IN_DETAILS VARCHAR2(20 BYTE)
)
I want to calculate display the result for accounting year from April 2010 to March 2011, and from April 2011 to MArch 2012.
What statement should i use to filter the data as above ?
Sanjay
user12957777 wrote:
I want to dispaly the result for the accounting year from April to March for any accounting year (Accounting year is from April to March). I have a table INVOICE. CREATE TABLE INVOICE ( IN_NO NUMBER, IN_DT DATE, IN_DETAILS VARCHAR2(20 BYTE) ) I want to calculate display the result for accounting year from April 2010 to March 2011, and from April 2011 to MArch 2012. What statement should i use to filter the data as above ? Sanjay
You should now learn to use correctly
tags
select to_char(add_months(in_dt,-3),'YYYY') FISCAL_YEAR FROM INVOICE;
To filter the data according to the year of the field date of a table
Hi I have a tableTABLE T1(ID NUMBER, SET_DATE DATE)
I want to select this table ID values by comparing the year in the area of set_date.To do this, I wrote
select id from t1 where set_date like '%2010%' ;
It returns no rows.But the following code does not work
select id from t1 where set_date like '%10%' ;
Although the second code works there is an inability in these two codes because I do not specify to correspond to the year. It is quite possible that 10 can be present anywhere else, and this query returns all the lines. So how to filter the lines by year? Hello
Here's a way
select id from t1 where extract(year from set_date) = 2010 ;
Concerning
Peter
difference of dates according to the model described
Hello
Need help...
I have a table as below:
create table select TEST_CASETBL (ID, CASE_NUM, CHANGED_ON_DATE, AUDIT_FIELD, OLD_VAL, NEW_VAL)
111 1, 123-456', TO_DATE (January 9, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'status', 'Open', 'Farm' of the DUAL union all select
110 1, 123-456', TO_DATE (August 30, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'close', "the DUAL Union all select them
109 1, 123-456', TO_DATE (August 29, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'Customer of work', 'close' from DUAL union all select them
108 1, 123-456', TO_DATE (August 26, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'Sub-etat', 'plane', ' work customer "DUAL Union select all
107 1, 123-456', TO_DATE (24 August 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'work', 'air' Union DOUBLE select all the
106 1, 123-456', TO_DATE (August 22, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'Sub-etat', 'review', 'work' Union DOUBLE select all the
105 1, 123-456', TO_DATE (August 20, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'customer of work', 'revision' of union DOUBLE select all the
104 1, 123-456', TO_DATE (August 18, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'work', ' client working "DUAL Union select all
103 1, 123-456', TO_DATE (16 August 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'New', 'Work' Union DOUBLE select all the
102 1, 123-456', TO_DATE (8 October 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', ", 'New' from DUAL union select all
101 1, 123-456', TO_DATE (8 October 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'Account', ", 'TestingAcc' from DUAL union select all
100 1, 123-456', TO_DATE (8 October 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'status', ", 'Open' from DUAL;
I would like to calculate the duration total (days ideally) to AUDIT_FIELD = 'under status', thus have a set of lines like:
New CASE_NUM review work customer close air it total by age
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
123-456 6 d 0 h 0 m 4 d 0 h 0 m 5 d 0 h 0 m 2d 0 h 0 m 2D 0 h 0 m 1 d 0 h 0 m 20 d 0 h 0 m
Here is the explanation of the pattern:
New:
diff (value ID:103 CHANGED_ON_DATE - 1 - value ID:102 CHANGED_ON_DATE - 1)
work:
diff (value ID:104 CHANGED_ON_DATE - 1 - value ID:103 CHANGED_ON_DATE - 1) + diff (value ID:107 CHANGED_ON_DATE - 1 - value ID:106 CHANGED_ON_DATE - 1)
customer work:
diff (value ID:105 CHANGED_ON_DATE - 1 - value ID:104 CHANGED_ON_DATE - 1) + diff (value ID:109 CHANGED_ON_DATE - 1 - value ID:108 CHANGED_ON_DATE - 1)
Review:
diff (value ID:106 CHANGED_ON_DATE - 1 - value ID:105 CHANGED_ON_DATE - 1)
air transport:
diff (value ID:108 CHANGED_ON_DATE - 1 - value ID:107 CHANGED_ON_DATE - 1)
close:
diff (value ID:110 CHANGED_ON_DATE - 1 - value ID:109 CHANGED_ON_DATE - 1)
Sum of the age
sum (new + customer work + work + review + air + close + total age)
Note:
If lets say 2 rows below does not exist in table
111 1, 123-456', TO_DATE (January 9, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'status', 'Open', 'Farm' of the DUAL union all select
110 1, 123-456', TO_DATE (August 30, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'close', "the DUAL Union all select them
then
"close:" should be
diff (current_date - value ID:109 CHANGED_ON_DATE - 1).
That is because the status of CASE_NUM is still 'open' not yet closed and there is no subreport flip of 'close' another value
I would appreciate any idea how to solve this, ideally as an SQL
Thank you
If the seconds and fractions of a second can be simply thrown away:
with
test_casetbl as
(select id 111-1', 123-456' case_num, to_date (January 9, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss') changed_on_date, audit_field 'status', 'Open' old_val, 'Closed' new_val Union double all the)
Select ' 110-1, 123-456', to_date (August 30, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'close', "Union double all the
Select ' 109-1, 123-456', to_date (August 29, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'Customer of work', 'close' Union double all the
Select ' 108-1, 123-456', to_date (August 26, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'air', 'Client working' double Union all
Select ' 107-1, 123-456', to_date (24 August 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'Sub-etat', 'work', 'plane' from dual union all
Select ' 106-1, 123-456', to_date (August 22, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'Sub-etat', 'review', 'work' of all the double union
Select ' 105-1, 123-456', to_date (August 20, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', ' customer work ', 'review' Union double all the
Select ' 104-1, 123-456', to_date (August 18, 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', 'work', ' client working ' double Union all
Select ' 103-1, 123-456', to_date (16 August 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'registered void', 'New', 'Work' from dual union all
Select ' 102-1, 123-456', to_date (8 October 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'sub-statut', ", 'New' dual union all
Select ' 101-1, 123-456', to_date (8 October 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'Account', ", 'TestingAcc' from dual union all
Select ' 100-1, 123-456', to_date (8 October 2015 10:00 ',' dd/mm/yyyy hh24:mi:ss'), 'status', ", 'Open' double
)
Select case_num,
-regexp_replace (ltrim (regexp_replace (numtodsinterval (new, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), '00 (.)', '0\1'))
-- regexp_replace (ltrim (regexp_replace (numtodsinterval (work, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), '00 (.)', '0\1') work, )
-regexp_replace (ltrim (regexp_replace (numtodsinterval (customer_working, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), '00 (.)', '0\1') customer_working,)
- regexp_replace (ltrim (regexp_replace (numtodsinterval (review, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), '00 (.)', '0\1') review,)
- regexp_replace (ltrim (regexp_replace (numtodsinterval (air, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), '00 (.)","0\1") air,)
- regexp_replace (ltrim (regexp_replace (numtodsinterval (close_it, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), '00 (.)', '0\1') close_it,)
- regexp_replace (ltrim (regexp_replace (numtodsinterval (new + work + customer_working + review + air + close_it, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), '00 (.)', '0\1') total_age)
regexp_replace (ltrim (regexp_replace (numtodsinterval (work, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), "0 (\d.)", "\1") work,)
regexp_replace (ltrim (regexp_replace (numtodsinterval (customer_working, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), "0 (\d.)", "\1") customer_working,)
regexp_replace (ltrim (regexp_replace (numtodsinterval (review, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), "0 (\d.)", "\1") review,)
regexp_replace (ltrim (regexp_replace (numtodsinterval (air, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), "0 (\d.)", "\1") air,)
regexp_replace (ltrim (regexp_replace (numtodsinterval (close_it, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), "0 (\d.)", "\1") close_it,)
regexp_replace (ltrim (regexp_replace (numtodsinterval (new + work + customer_working + review + air + close_it, 'day'),'\s(\d{2}):(\d{2}):. *', had \1h \2m'),'+0'), "0 (\d.)", "\1") total_age)
(select case_num, change_name, sum (duration) duration
from (select case_num, changed_on_date, change_name, change_type,
-case when change_type = 'start '.
and lnnvl (lead (change_type) (case_num partition, change_name order of changed_on_date)! = 'stop')
then nvl (lead (changed_on_date) (case_num partition, change_name order of changed_on_date), sysdate)-changed_on_date
the end time
from (select case_num, changed_on_date, lower (old_val) old_val, lower (new_val) new_val
of test_casetbl
where audit_field = 'under status.
)
UNPIVOT (change_name for change_type (old_val as 'stop', 'start' new_val))
)
Case_num group, change_name
)
Pivot (max (duration) for change_name in ('News' as new 'work' as work, "client works ' as customer_working, 'review' as review, 'air' under the air name, 'close' as close_it))
CASE_NUM | NEW | WORKING | CUSTOMER_WORKING | REVIEW | AIR | CLOSE_IT | TOTAL_AGE |
---|---|---|---|---|---|---|---|
123-456 | 6 d 0 h 0 m | 4 d 0 h 0 m | 5 d 0 h 0 m | 2D 0 h 0 m | 2D 0 h 0 m | 1 d 0 h 0 m | 20 d 0 h 0 m |
Concerning
Etbin
changed to allow zero delete for h and m
'Remove selected clips' not according to the CS6 PDF
On page 335 of the CS6 PDF, he States:
Delete all effects from a clip
- Select the item in the timeline panel. To ensure that only one clip is selected, click on a blank space in the timeline panel, and then click the clip. Click a location in the rule above the clip selected to move the current time indicator to this location.
- Do one of the following:
In the effect controls panel menu, click on remove effects
- Select Clip > remove effects
- Right-click on a clip in the timeline panel, and then choose Remove effects.
I followed the steps and it worked, but wanted to see what would happen if the playback head was NOT above the clip (bit in blue). No matter where was the read head, effects were always removed the selected clip.
In CS6, passing is not the playhead as indicated, is something undesirable likely to occur? Or is this an error in the PDF?
I think that the direction of movement of the playhead to the item selected
is in the interest of the user... to be able to see that change
has taken place (the effects have been removed).
You are right that the controls work with the selected clip
is not currently displayed in the program monitor (by not
move the playback cursor to the selected item.)
In CS6, passing is not the playhead as indicated, is something undesirable likely to occur?
The thing just maybe not desirable, it is that you will not see the change
(the removal of effects) occur and can lose track of what you have done.
Or is this an error in the PDF?
I'm not sure you can classify this as an error or not?
Management seems to allow a user to learn
to see what happens when the controls are used.
Download according to the requirement
Hi allI have such a report
SELECT id, name from del, doc_type, doc_title, SUBSTR (NAME, INSTR(NAME,'/') + 1) apex_item.checkbox(1,id) of the documents where siteid =: P6_SITENO and clno =: P6_CLNO
and a link on the name to download the document.
but under certain conditions, I want to download the document
If the condition is not satisfied with the link should not appear on the column.
Could someone help me how do.
I tried like the creation of a procedure as
create or replace procedure PK_SECURITY(P_file in number) as
v_create varchar2(100);
v_global varchar2(100);
v_notify varchar2(100);
begin
select created_by,notify,golbal_info into v_create,v_notify,v_global from documents where id = p_file;
if (upper(v_global) = upper('YES')) or (v_create = v('APP_USER') and upper(v_notify) = upper('YES')) then
download_doc_file(p_file);
end if;
end PK_SECURITY1;
It works, but if the condition is not met, he goes to the white page.Please could someone help me reach that goal.
Thanks in advance
Good bye
Sonny_starck
Sonny_starck - a middle course (and I'm sure that's not the only one) would be to remove the link from the APEX and embed the link in SQL, for example, something like this:
select id
, apex_item.checkbox(1,id) del
, doc_type
, doc_title
, 'SUBSTR(NAME,INSTR(NAME,'/')+1)' name
from documents
where siteid = :P6_SITENO
and clno = :P6_CLNO
Once you have that working, you can change to include the condition, for example:
select id
, apex_item.checkbox(1,id) del
, doc_type
, doc_title
, case when global_info = 'YES' OR (created_by = v('APP_USER') AND notify = 'YES') then 'SUBSTR(NAME,INSTR(NAME,'/')+1)'
else SUBSTR(NAME,INSTR(NAME,'/')+1)
end name
from documents
where siteid = :P6_SITENO
and clno = :P6_CLNO
If the report source is PL/SQL, SQL to return, it will give you more flexibility on what you put in the link and the condition.
I hope this helps.
John.
Maybe you are looking for
-
Problems with eBay error messages and do not know how to set the script on xp pro
. Download erroris 'tables' not defined
-
Battery drains faster with lollipop
Has anyone else noticed that the battery drains faster with Lollipop, hard now 2/3 of the time compered to before upgrade. Battery all the saving settings are defined as before.
-
Blue scren said internal power error.
How can I fix and or what is the problem? internal power error
-
Length of passport notification ringtone blackBerry
I use songs for notifications to phone and text. When a call or text comes through the Bell only lasts five seconds or so, barely the time to hear and answer. How to increase the length of the ringtone?
-
Hello I recently bought five desktop computers Pavilion P7-1036 comes pre installed with Windows 7 Home Premium 64-bit. Computers have been purchased for a company that upgrades their main software used to run the business every day. Their old soft