By using the analytical function to sort without showing this column in the result.
Hello
We use the Oracle 11.2
How to use Oracle Analytics to sort the output of a query without showing this column in the result?
Here's my query:
Select distinct nvl(SRC_CHR_NM,'0') | » #'|| NVL(EXPL_SRC,'0') | » #'|| NVL(DIM_NM,'0') | » #'|| NVL(DIM_CHR_NM,'0') | » #'|| NVL(DIM_CHR_ABR,'0') | » #'||
Decode (InStr (NVL(SRC_COL_NM,'0'), 'trim ('),'1 ', Replace (NVL(SRC_COL_NM,'0'),'trim (',' trim(PRM_DTL.'), '0',' PRM_DTL.)))) » || NVL(SRC_COL_NM,'0')) AS ALLOFIT,
DIM_NM
from EXPL_CONFIG where SBJ_AREA_CD = 'PRMDTL. '
I want to use analytical to sort by DIM_NM but I do not want to show. I want to just just the ALLOFIT column to show in the output.
Something like "row_number() over (order by DIM_NM desc).
Thank you!
Hello
If you SELECT SEPARATE, then you can only ORDER OF things in the SELECT clause. (Do you really need to do SELECT DISTINCT? Often, it's just an inefficient way to remove the lines that do not need to be there at all).
Move making the SELECT DISTINCT in a subquery and make the ORDER BY (and nothing else) in the main query.
I hope that answers your question.
If this isn't the case, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements) and also publish outcomes from these data.
Explain, using specific examples, how you get these results from these data.
Always say what version of Oracle you are using (for example, 11.2.0.2.0).
See the FAQ forum: https://forums.oracle.com/message/9362002#9362002
Tags: Database
Similar Questions
-
using the iPhone 6 s last updated - when trying to search using the result of Safari a padlock in front of him and nothing does not open in the list below!
Please wait until a fix is available at Apple.
Best.
-
Using the result of the Action as input for one other Action - is not possible?
Hello
I have something I call the presentation. According to our phases of deployment, it will return the fields it is possible to select.
Domain-> GetAction("com.companyxyz.presentation","getDomainsForDeploymentStage").call (#deploymentStage)
Then I want to take a vlan backup according to the field
VLAN-> GetAction("com.__companyxyz__.presentation","getBackupVlan").call (#deploymentStage, #Domain)
However, the '#Domain' value is always zero in action script.
If I use GetAction("com.__companyxyz__.presentation","getBackupVlan").call (#deploymentStage, "server.local"), it returns the expected value.
Is there a limitation that I can't use the results as input for another action action?
I use vRO 7.0
Hello
It's certainly doable.
I guess deploymentStage, domain and vlan are the input parameters for the workflow, right? There are two things to check carefully:
- First of all, make sure your actions getDomainsForDeploymentStage and getBackupVlan handle code values no entry script gracefully.
- Then, it depends on what property of presentation you linked calls from these actions. It is by default? If so, please change it to data binding, default values are calculated only once, at the beginning of the presentation run, and it is possible that, currently, the deploymentStage value is always set to null. On the other hand, the data bindings are calculated on every time the fields that they depend on, so your actions can be called with null deploymentStage first, but then, when deploymentStage gets its real value, the data bindings will be calculated with the non null deploymentStage.
-
[8i] can I use an analytical function, or do I need a subquery?
Hi all...
This should be a quick. I hope I can solve my problem with an analytic function, but I don't know if it's possible. Can I use a subquery if I have to, but I'd really rather not.
Here is a very simple version of what I'm trying to do:
I want the results:CREATE TABLE test123 ( field1 VARCHAR2(10) , field2 VARCHAR2(10) , my_date DATE ); INSERT INTO test123 VALUES ('value1', 'a',TO_DATE('12/31/1900','mm/dd/yyyy')); INSERT INTO test123 VALUES ('value1', 'b',TO_DATE('01/02/2010','mm/dd/yyyy')); INSERT INTO test123 VALUES ('value1', 'c',TO_DATE('01/05/2010','mm/dd/yyyy')); INSERT INTO test123 VALUES ('value2', 'a',TO_DATE('12/31/1900','mm/dd/yyyy')); INSERT INTO test123 VALUES ('value2', 'b',TO_DATE('01/01/2010','mm/dd/yyyy')); INSERT INTO test123 VALUES ('value2', 'c',TO_DATE('01/15/2010','mm/dd/yyyy'));
I started with the following query:FIELD1 FIELD2 -------------- value2 a value2 b value2 c value1 a value1 b value1 c
But the problem is the database has a date of 31 December 1900 ' as default / initial for any date field. I don't want these default values taken into account in my calculation of min. I tried to put a WHERE clause in my analytical function [WHERE my_date <>TO_DATE (' 12/31/1900 ',' mm/dd/yyyy')], but I kept getting an error message "missing right parenthesis", so it seems that you can not have a WHERE clause here... or I'm just something wrong?SELECT field1 , field2 FROM test123 ORDER BY MIN(my_date) OVER ( PARTITION BY field1 ) -- removed DESC here , field2
Moreover, it is a 8i database...
Edited by: user11033437 may 20, 2010 17:16: took the 'DESC' criteria out of my order by clause. In my real application, I need DESC, but not the example.Hello
A WHERE clause excludes rows in the results set. Whenever you want you can have a WHERE clause that was more limited (for example, something that would simply exclude MIN calculating values in the ORDER BY clause), then think CASE:
SELECT field1 , field2 FROM test123 ORDER BY MIN ( CASE WHEN my_date > TO_DATE ( '12/31/1900' , 'MM/DD/YYYY' ) THEN my_date END ) OVER (PARTITION BY field1) DESC , field2 ;
This puts the lines for "Value1" first.
The minimum my_date for "Value1" (after excluding the values of 1900) is later than the minimum for "Value2", so I think that you either made a mistake in the desired output, or you do not want sorted by descending order.As always, thanks for the display of the data of the sample and the results so clearly.
-
Hi gurus,
I ask someone to enlighten me on the analytical functions.
I used the following query:
The sample result set is:select * from (select filename,count(regexp_substr(filename,'.*era'))over( partition by regexp_substr(filename,'.*era') ) cnt FROM l_x12n_835_fileinfo where partitionnum=76000 and clntsysnum=76500 and radt>='01-JAN-2010') where cnt>1
Now, I changed the query to:FILENAME CNT rsmedcalwa.20100105.chpwr.072.era 4 rsmedcalwa.20100105.chpwr.072.era.1 4 rsmedcalwa.20100105.chpwr.072.era.2 4 rsmedcalwa.20100105.chpwr.072.era.3 4 rsmedcalwa.20100105.chpwr.081.era 3 rsmedcalwa.20100105.chpwr.081.era.1 3 rsmedcalwa.20100105.chpwr.081.era.2 3 rsmedcalwa.20100106.chpwr.088.era 3 rsmedcalwa.20100106.chpwr.088.era.1 3 rsmedcalwa.20100106.chpwr.088.era.2 3 rsmedcalwa.20100108.chppr.363.era.3 4 rsmedcalwa.20100108.chppr.363.era.1 4 rsmedcalwa.20100108.chppr.363.era.2 4 rsmedcalwa.20100108.chppr.363.era 4
The result set has beenselect * from (select filename,count(regexp_substr(filename,'.*era'))over( partition by regexp_substr(filename,'.*era') order by filename ) cnt FROM l_x12n_835_fileinfo where partitionnum=76000 and clntsysnum=76500 and radt>='01-JAN-2010') where cnt>1
(1) I don't understand how the addition of the order by clause changes the count. Could someone explain please?FILENAME CNT rsmedcalwa.20100105.chpwr.072.era.1 2 rsmedcalwa.20100105.chpwr.072.era.2 3 rsmedcalwa.20100105.chpwr.072.era.3 4 rsmedcalwa.20100105.chpwr.081.era.1 2 rsmedcalwa.20100105.chpwr.081.era.2 3 rsmedcalwa.20100106.chpwr.088.era.1 2 rsmedcalwa.20100106.chpwr.088.era.2 3 rsmedcalwa.20100108.chppr.363.era.1 2 rsmedcalwa.20100108.chppr.363.era.2 3 rsmedcalwa.20100108.chppr.363.era.3 4 rsmedcalwa.20100112.chpwr.175.era.1 2 rsmedcalwa.20100112.chpwr.175.era.2 3
When I change this order by order of regexp_substr(filename,'.*era'), it gives me the correct number.
My requirement is to check how many similar file names I.
(2) if there are any other better elsewhere, please let me know.Hello
Analytical functions still carried on in a window of the the result set, which can be smaller than the result set.
If you have a PARTITION BY clause, the window for each row includes rows with the same values from all the PARTITION BY expressions.
If you have an ORDER BY clause, the window includes that of a section of consecutive lines in the score, as defined by a windowing clause (in other words, LINES or KEEP them). The default value is "RANGE BETWEEN UNBOUNDED PRECEDING AND LINE CURRENT.In your case, if the analytical clause is:
over( partition by regexp_substr(filename,'.*era') )
and the line you are looking at a filename = 'rsmedcalwa.20100105.chpwr.072.era.2', the window takes up the entire partition, in other words, all lines whose name includes "rsmedcalwa.20100105.chpwr.072.era". In other words, the window is identical to the partition, because theree is no ORDER BY clause.
But if you add an ORDER BY clause:
over( partition by regexp_substr(filename,'.*era') order by filename )
then the window (potentially) decreases. Since there is no clause window, the default value 'RANGE BETWEEN UNBOUNDED PRECDING AND a CURRENT LINE' is used, which means that only the lines with a lower or equal to "rsmedcalwa.20100105.chpwr.072.era.2" file name (using the normal string comparison) will affect the results.
The analytical ORDER BY clause is required for certain features (such as ROW_NUMBER) significance only in regard to certain commands. For the most part fucntions (including COUNTY), the ORDER BY clause is optional, and you do not have to use a. In this case, it seems that you do not want the effect of a smaller than the partition window, just so, do not use an ORDER byclause of Analytics for this function.
Remember, the analytical ORDER byclause is completely independent the ORDER BY query clause. If you want the result presented in a certain order, use an ORDER BY clause at the end of the query. It will not change the results of the analytical functions.
-
How to achieve this using an analytic function - please help
version 10g.
This code works very well with my requirement. I'm tyring learn analytical functions and implement than in the query below. I tried to use row_number,
but I could nt achieve the desired results. Please give me some ideas.
Thank youSELECT c.tax_idntfctn_nmbr irs_number, c.legal_name irs_name, f.prvdr_lctn_iid FROM tax_entity_detail c, provider_detail e, provider_location f, provider_location_detail pld WHERE c.tax_entity_sid = e.tax_entity_sid AND e.prvdr_sid = f.prvdr_sid AND pld.prvdr_lctn_iid = f.prvdr_lctn_iid AND c.oprtnl_flag = 'A' AND c.status_cid = 2 AND e.oprtnl_flag = 'A' AND e.status_cid = 2 AND (c.from_date) = (SELECT MAX (c1.from_date) FROM tax_entity_detail c1 WHERE c1.tax_entity_sid = c.tax_entity_sid AND c1.oprtnl_flag = 'A' AND c1.status_cid = 2) AND (e.from_date) = (SELECT MAX (c1.from_date) FROM provider_detail c1 WHERE c1.prvdr_sid = e.prvdr_sid AND c1.oprtnl_flag = 'A' AND c1.status_cid = 2) AND pld.oprtnl_flag = 'A' AND pld.status_cid = 2 AND (pld.from_date) = (SELECT MAX (a1.from_date) FROM provider_location_detail a1 WHERE a1.prvdr_lctn_iid = pld.prvdr_lctn_iid AND a1.oprtnl_flag = 'A' AND a1.status_cid = 2)
Published by: new learner on May 24, 2010 07:53
Published by: new learner on May 24, 2010 10:50Can be like that not tested...
Select *.
Of
(SELECT c.tax_idntfctn_nmbr irs_number, c.legal_name irs_name,
f.prvdr_lctn_iid, c.from_date as c_from_date, max (c.from_date) more (partition c.tax_entity_sid) as max_c_from_date,
e.from_date as e_from_date, max (e.from_date) more (partition e.prvdr_sid) as max_e_from_date,
PLD.from_date as pld_from_date, max (pld.from_date) more (pld.prvdr_lctn_iid partition) as max_pld_from_dateOF tax_entity_detail c,.
e provider_detail
provider_location f,
LDP provider_location_detail
WHERE c.tax_entity_sid = e.tax_entity_sid
AND e.prvdr_sid = f.prvdr_sid
AND pld.prvdr_lctn_iid = f.prvdr_lctn_iid
AND c.oprtnl_flag = 'A '.
AND c.status_cid = 2
AND e.oprtnl_flag = 'A '.
AND e.status_cid = 2
AND pld.oprtnl_flag = 'A '.
AND pld.status_cid = 2) X
where c_from_date = max_c_from_date AND e_from_date = max_e_from_date AND
pld_from_date = max_pld_from_date -
Thanks in advance to anyone who might help
I am writing a storage report. Try to calculate the use of space over a period of time. I need for a db_nm, tblsp_nm find the collections of the first and the last, and then find the difference in the space_used
The structure of the table is like this
Expected result isdrop table tstg / create table tstg (db_nm varchar(10), tblsp_nm varchar(15), space_used number, collection_time date) / insert into tstg values ( 'EDW', 'SYSTEM',100,to_date('01/07/2011','DD/MM/YYYY')); insert into tstg values ( 'EDW', 'SYSTEM',120,to_date('05/07/2011','DD/MM/YYYY')); insert into tstg values ( 'EDW', 'SYSTEM',150,to_date('10/07/2011','DD/MM/YYYY')); insert into tstg values ( 'EDW', 'SYSAUX',10,to_date('01/07/2011','DD/MM/YYYY')); insert into tstg values ( 'EDW', 'SYSAUX',12,to_date('05/07/2011','DD/MM/YYYY')); insert into tstg values ( 'EDW', 'SYSAUX',15,to_date('10/07/2011','DD/MM/YYYY')); commit;
I useDB_NM TBLSP_NM SPACE_USED COLLECTIO DIFF ---------- --------------- ---------- --------- ---------- EDW SYSAUX 15 10-JUL-11 5 EDW SYSTEM 150 10-JUL-11 50
but gives more lines in the result I wantselect db_nm,tblsp_nm,space_used,collection_time, last_value(space_used) OVER (partition by DB_NM,Tblsp_nm order by collection_time ASC) - first_value(space_used) OVER (partition by DB_NM,Tblsp_nm order by collection_time ASC) diff from tstg
/DB_NM TBLSP_NM SPACE_USED COLLECTIO DIFF ---------- --------------- ---------- --------- ---------- EDW SYSAUX 10 01-JUL-11 0 EDW SYSAUX 12 05-JUL-11 2 EDW SYSAUX 15 10-JUL-11 5 EDW SYSTEM 100 01-JUL-11 0 EDW SYSTEM 120 05-JUL-11 20 EDW SYSTEM 150 10-JUL-11 50
Thank you
EduardoHello
Thanks for the sample data.
Here's a solution using the FIRST/LAST functions:
select db_nm , tblsp_nm , max(collection_time) as collection_time , max(space_used) keep (dense_rank last order by collection_time) as space_used , max(space_used) keep (dense_rank last order by collection_time) - max(space_used) keep (dense_rank first order by collection_time) as diff from tstg group by db_nm , tblsp_nm ;
-
Using Oracle analytic function
Hi all
I use Oracle 10 g Release 10.0.2
Here's the situation:
I visited in my table of looks like this:
Cust_id beg_dt end_dt sg_cd
264321502 1 MAY 97 19 MARCH 98 1
264321502 21 MAY 98 15 OCTOBER 98 6
264321502 20 OCTOBER 98 22 APRIL 99 6
264321502 23 APRIL 99 25 APRIL 00 6
264321502 27 APRIL 00 20 JANUARY 02 6
264321502 25 JANUARY 02 15 MAY 02 6
264321502 MAY 21 02 27 MAY 02 6
264321502 31 MAY 02 17 FEBRUARY 03 6
264321502 21 FEBRUARY 06 03-7.-04 1
264321502 25 FEBRUARY 03 25 FEBRUARY 03 1
264321502 31 MARCH 03 30 APRIL 03 1
264321502 07 - SEP - 04 26 DECEMBER 04 6
264321502 29 DECEMBER 04 3 JANUARY 06 6
264321502 4 JANUARY 06 3 JANUARY 07 12
264321502 4 JANUARY 06 3 JANUARY 07 12
264321502 4 JANUARY 06 3 JANUARY 07 12
I need the results of the query as
Cust_id beg_dt end_dt sg_cd
264321502 1 MAY 97 19 MARCH 98 1
264321502 21 MAY 98 17 FEBRUARY 03 6
264321502 21 FEBRUARY 03 30 APRIL 03 1
264321502 07 - SEP - 04 3 JANUARY 06 6
264321502 4 JANUARY 06 3 JANUARY 07 12
Basically, I need take a min max (end_dt) of sg_cd for this cust id (beg_dt).
Any help is very much appreciated:
My query is like that
Select cust_id, end_dt, beg_dt, sg_cd,
min (beg_dt) more (partition of cust_id, sg_Cd) as new_beg_dt,
Max (end_dt) more (partition of cust_id, sg_cd) as end_Dt_nw
of cust_tab.
can be like that?
1 data
() 2
3 select Cust_id 264321502, to_date('01-MAY-97','dd-mon-rr') beg_dt, to_date('19-MAR-98','dd-mon-rr') end_dt, 1 sg_cd of all the double union
4. Select 264321502, to_date('21-MAY-98','dd-mon-rr'), to_date('15-OCT-98','dd-mon-rr'), 6 Union double all the
5 select 264321502, to_date('20-OCT-98','dd-mon-rr'), to_date('22-APR-99','dd-mon-rr'), 6 Union double all the
6. Select 264321502, to_date('23-APR-99','dd-mon-rr'), to_date('25-APR-00','dd-mon-rr'), 6 Union double all the
7. Select 264321502, to_date('27-APR-00','dd-mon-rr'), to_date('20-JAN-02','dd-mon-rr'), 6 Union double all the
8 select 264321502, to_date('25-JAN-02','dd-mon-rr'), to_date('15-MAY-02','dd-mon-rr'), 6 Union double all the
9. Select 264321502, to_date('21-MAY-02','dd-mon-rr'), to_date('27-MAY-02','dd-mon-rr'), 6 Union double all the
10. Select 264321502, to_date('31-MAY-02','dd-mon-rr'), to_date('17-FEB-03','dd-mon-rr'), 6 Union double all the
11. Select 264321502, to_date('21-FEB-03','dd-mon-rr'), to_date('06-SEP-04','dd-mon-rr'), 1 Union double all the
12 select 264321502, to_date('25-FEB-03','dd-mon-rr'), to_date('25-FEB-03','dd-mon-rr'), 1 Union double all the
13 select 264321502, to_date('31-MAR-03','dd-mon-rr'), to_date('30-APR-03','dd-mon-rr'), 1 Union double all the
14 select 264321502, to_date('07-SEP-04','dd-mon-rr'), to_date('26-DEC-04','dd-mon-rr'), 6 Union double all the
15 select 264321502, to_date('29-DEC-04','dd-mon-rr'), to_date('03-JAN-06','dd-mon-rr'), 6 Union double all the
16 select 264321502, to_date('04-JAN-06','dd-mon-rr'), to_date('03-JAN-07','dd-mon-rr'), 12 Union double all the
17 select 264321502, to_date('04-JAN-06','dd-mon-rr'), to_date('03-JAN-07','dd-mon-rr'), 12 Union double all the
18 select 264321502, to_date('04-JAN-06','dd-mon-rr'), to_date('03-JAN-07','dd-mon-rr'), 12 of the double
(19) - select * from data
20. Select Cust_id, beg_dt, max (end_dt) as end_dt, min (beg_dt), sg_cd
21 of
(22)
23 select x.*, sum (flg) over (order by end_dt Cust_id partition) as grp
24 of
(25)
26 select
27 wagneur, case when lag (sg_cd, 1-9) over (order by end_dt Cust_id partition)! sg_cd = 1 END so that flg
28 from data d
x 29)
x 30)
Group 31 by Cust_id, sg_cd, grp
32 * order of Cust_id, end_dt
CUST_ID BEG_DT END_DT SG_CD
---------- --------- --------- ----------
264321502 1 MAY 97 19 MARCH 98 1
264321502 21 MAY 98 17 FEBRUARY 03 6
264321502 21 FEBRUARY 06 03-7.-04 1
264321502 07 - SEP - 04 3 JANUARY 06 6
264321502 4 JANUARY 06 3 JANUARY 07 12
-
Using the result of string_to_table in SQL
Hello
My apologies if this has already been answered - I couldn't get the right combination of search terms to find what I was looking for.
I would like to know if there is a way to use the exit or APEX_UTIL.string_to_table directly in SQL without additional programming (I know I could create table type VARCHAR2 and CAST at a table - basically I wonder if this has already been done for you or not with the APEX).
If the end query would be something like:
Kind regardsUPDATE my_table SET column_a = 12345 WHERE my_id_column IN (SELECT column_value FROM TABLE(APEX_UTIL.string_to_table(:P1_MY_MULTISELECTLIST)));
Gareth.Hi Dan/Gareth,
You don't need to create a function to handle this (although it is usually best if you have large lists of conversion of a table).
Take a look on: Re: report filters using lists Multi Select region
Andy
-
Use the results of ore RQTableEval in a PL/SQL module
Documentation of ore RQTableEval show how to display the results in the form of a query using the syntax "SELECT * FROM TABLE (RQTableEval ( blah, blah ". "))" I use the option 'select' for the third parameter of RQTableEval.
But how can I access this result within a PL/SQL module? This syntax raises a compile error of
- Error (76,32): PL/SQL: ORA-22905: cannot access the rows of a table not nested element
Open the speed for select * from table (rqTableEval ( blah, blah ))
where speed is a weakly typed SYS_REFCURSOR
I'm out of ideas/knowledge to solve this problem.
You might want to try display in space R Oracle here: R Technologies
John
-
SQL how to use a variable and use the result as a reference for the name of the table
Hi all
I have new in the declaration of Oracle, sorry in advance if something is easy for you all. BTW, I have this scenario:
I have a table OL structured in this way:
Date - it contains dates, for example 11/01/2015
TableName - it contains strings, for example, OL1, OL2, OL3 and so on...
Then I have a different table, the name of these tables are of the same name in the table of the OL, so I have table table, OL1, OL2, OL3 table and so on. The structure of these tables is the same. And Yes.
table OL1
---------------------------------------------------------------
ID LAST NAME FIRST NAME PHONE
---------------------------------------------------------------
1 JOHN DOE 12345679
2 PAUL 111111122 TIBBS
table OL2
---------------------------------------------------------------
ID LAST NAME FIRST NAME PHONE
---------------------------------------------------------------
1 ANNA KRAIG (NULL)
NATHAN FRESHMANN 111111133 2
If the scenario is clear, I would like to retrieve the value (null), research in all the OL * tables by using the value of the OL table (tablename) max.
If I'm going to do these simple steps, I got the result:
Select max (TableName) OL
the result will be OL2
# I know not how to use the option set to avoid changing the table name in the sql statement all the time.
set mytable = 'OL2.
Select Name, family name
of & mytable
When the phone is null
Any idea?
Thank you very much in advance.
Hello
run immediately "select dt.log_id, obj.presentation_name, dl.begin_time
bulk collect into v_result_set
of ' | v_ol |' dt join internal ol_object obj on
DT.object_type_id = obj.object_type_id
inner join ol_chunk_log dl on
DT.log_id = DL.log_id
where dt.data_value is null';
dbms_output.put_line (v_ol);
end;
Correct the code such as:
run immediately "select dt.log_id, obj.presentation_name, dl.begin_time
of ' | v_ol |' dt join internal ol_object obj on
DT.object_type_id = obj.object_type_id
inner join ol_chunk_log dl on
DT.log_id = DL.log_id
where dt.data_value is null' bulk collect into v_result_set;
for i in v_result_set.first ... v_result_set. Last
loop
dbms_output.put_line ('LOG ID: ' | ) ( v_result_set.log_id (i)) ;
dbms_output.put_line (' NAME CLOSELY: ' |) v_result_set.presentation_name (i));
dbms_output.put_line (' START TIME: ' |) ( v_result_set.begin_time (i)) ;
end loop;
end;
Kind regards.
-
How to use the result of widget radio selection to 'show' a text box?
Hello again,
I have a question about widgets.
What I want to do is to take the result of radio button widgets (in this case 1 2 rather long sentences that were available) and which will display a text box on another screen.
Background: I have a series of slides where I ask the questions of the learner through Radio button widgets and so I get a number of variables (= penalty) they choose.
The question I have is that I want to display all the choices they made on 1 page. Because the possible answers are relatively long I have run out of space if I simply inserts
variables to shown as such and/or the police gets too small.
So my idea is to use the answer that they choose to make a text box with a shorter version of the same appearo of sentence on this slide 'results '.
So my idea is to have the learner to make their selection, then use a tip action to check what answer (= the option button), they clicked on.
What I would do through "If XYZ variable ' 'contains (a keyword of the long sentence)' then 'show textbox YZ' etc.
Question 1: Is this the most simple/more convenient way or I can save me time somwhow?
2 "contain" a medium of action adv. the exact text or it may be just one of the words (out of the long sentence that could be selected)? I ask because then I have to use the same long exact phrase in the NOA that seems awkward.
3. I need to create a separate fast action for each radio widget, I've used. Is this correct?
4 if I then say 5 adv. actions for different questions, I asked what should trigger these advanc. action? The goal is just to shorten the long sentences in the selections made?
If I use ' enter' for all the screen I just started one, I haven´t?
Many probably incorrect assumptions, on my part, I guess...
Any help is greatly appreciated!
In my example the var who will get the short sentence is v_class. It's always the variable associated with the interaction of radio buttons. You have as much of these variables to be inserted on the last slide you have interactions button radio please never enter the variable to insert, but use the X button in the role of composition of the properties panel for the text container. Variables are case sensitive, in this way, you will avoid typos.
-
understand row_number() and its use in analytic function
Hello all;
I've been playing with row_number and trying to figure out how to use it, and yet I still can't understand...
I have the following code below
I made a simple select statementcreate table Employee( ID VARCHAR2(4 BYTE) NOT NULL, First_Name VARCHAR2(10 BYTE), Last_Name VARCHAR2(10 BYTE), Start_Date DATE, End_Date DATE, Salary Number(8,2), City VARCHAR2(10 BYTE), Description VARCHAR2(15 BYTE) ) insert into Employee(ID, First_Name, Last_Name, Start_Date, End_Date, Salary, City, Description) values ('01','Jason', 'Martin', to_date('19960725','YYYYMMDD'), to_date('20060725','YYYYMMDD'), 1234.56, 'Toronto', 'Programmer'); insert into Employee(ID, First_Name, Last_Name, Start_Date, End_Date, Salary, City, Description) values('02','Alison', 'Mathews', to_date('19760321','YYYYMMDD'), to_date('19860221','YYYYMMDD'), 6661.78, 'Vancouver','Tester') insert into Employee(ID, First_Name, Last_Name, Start_Date, End_Date, Salary, City, Description) values('03','James', 'Smith', to_date('19781212','YYYYMMDD'), to_date('19900315','YYYYMMDD'), 6544.78, 'Vancouver','Tester') insert into Employee(ID, First_Name, Last_Name, Start_Date, End_Date, Salary, City, Description) values('04','Celia', 'Rice', to_date('19821024','YYYYMMDD'), to_date('19990421','YYYYMMDD'), 2344.78, 'Vancouver','Manager') insert into Employee(ID, First_Name, Last_Name, Start_Date, End_Date, Salary, City, Description) values('05','Robert', 'Black', to_date('19840115','YYYYMMDD'), to_date('19980808','YYYYMMDD'), 2334.78, 'Vancouver','Tester') insert into Employee(ID, First_Name, Last_Name, Start_Date, End_Date, Salary, City, Description) values('06','Linda', 'Green', to_date('19870730','YYYYMMDD'), to_date('19960104','YYYYMMDD'), 4322.78,'New York', 'Tester') insert into Employee(ID, First_Name, Last_Name, Start_Date, End_Date, Salary, City, Description) values('07','David', 'Larry', to_date('19901231','YYYYMMDD'), to_date('19980212','YYYYMMDD'), 7897.78,'New York', 'Manager') insert into Employee(ID, First_Name, Last_Name, Start_Date, End_Date, Salary, City, Description) values('08','James', 'Cat', to_date('19960917','YYYYMMDD'), to_date('20020415','YYYYMMDD'), 1232.78,'Vancouver', 'Tester')
Select * from employee
and it returns it below
I wrote another select statement with row_number. See belowID FIRST_NAME LAST_NAME START_DAT END_DATE SALARY CITY DESCRIPTION ---- ---------- ---------- --------- --------- ---------- ---------- --------------- 01 Jason Martin 25-JUL-96 25-JUL-06 1234.56 Toronto Programmer 02 Alison Mathews 21-MAR-76 21-FEB-86 6661.78 Vancouver Tester 03 James Smith 12-DEC-78 15-MAR-90 6544.78 Vancouver Tester 04 Celia Rice 24-OCT-82 21-APR-99 2344.78 Vancouver Manager 05 Robert Black 15-JAN-84 08-AUG-98 2334.78 Vancouver Tester 06 Linda Green 30-JUL-87 04-JAN-96 4322.78 New York Tester 07 David Larry 31-DEC-90 12-FEB-98 7897.78 New York Manager 08 James Cat 17-SEP-96 15-APR-02 1232.78 Vancouver Tester
and I get this resultSELECT first_name, last_name, salary, city, description, id, ROW_NUMBER() OVER(PARTITION BY description ORDER BY city desc) "Test#" FROM employee
First_name last_name Salary City Description ID Test# Celina Rice 2344.78 Vancouver Manager 04 1 David Larry 7897.78 New York Manager 07 2 Jason Martin 1234.56 Toronto Programmer 01 1 Alison Mathews 6661.78 Vancouver Tester 02 1 James Cat 1232.78 Vancouver Tester 08 2 Robert Black 2334.78 Vancouver Tester 05 3 James Smith 6544.78 Vancouver Tester 03 4 Linda Green 4322.78 New York Tester 06 5
What is throwing me, that's the order of and how these numbers are assigned. Why isI understand the partition by which means basically for each associated group a unique number wiill be assigned for that row, so in this case since tester is one group, manager is another group, and programmer is another group then tester gets its own unique number for each row, manager as well and etc.
1 assigned to Alison Mathews for the tester group and 2 assigned to James Cat and assigned 3 Robert Black
I apologize if this is a stupid question, I tried to read about this online and looking at the oracle documentation, but still do not understand why.user13328581 wrote:
What is throwing me, that's the order of and how these numbers are assigned. Why is1 assigned to Alison Mathews for the tester group and 2 assigned to James Cat and assigned 3 Robert Black
Description (partition by column) and city (control column) values are same for Alison, James and Robert, no sort order of these 3 records be held valid.
Oracle just happened to choose a. What do you think should be the numbering "correct"? -
Equium M50: using the results of scan an error
When I scan with all-in-one Officejet 6210, I often get an error when you try to use HP Image Zone to edit the scanned image.
The scanner works OK, but when I accept the scanned image, it goes to the area of the Image and then I get this message to HP Image zone-Error message ' the program has encountered an unexpected error.:
Object reference not set to an instance of object. "and then the area of the picture ends.I spent the weeks of work with the help of HP is trying to solve the problem and they even changed the printer/scanner now. It seems to be a problem on my EQUIUM M50 and I uninstalled and reinstalled the HP software several times. Is this a known problem and if so is there a workaround or some magical fix that I can download.
Hello
Sorry, but this is a foreign application and I can't think that there is something wrong with the laptop.
The scanner works fine and it seems there is only the area of the Image that are some disorders.
I assume you are using this application with digital images.
What about other programs? You can try to search for freeware applications that do the same job. I sure that you will find enough of m.As mentioned this is not a program to my knowledge and Toshiba Toshiba doesn't support all the programs that are not designed by Toshiba or are not pre-installed on the image of Toshiba.
-
Mozilla will not let me connect to my own account. Cannot prevent all websites that they are more up-to-date. I see this as a problem of Mozilla.
Just downloaded Ten Windows and it seemed OK with Firefox and Thunderbird until this problem. Mozilla - call me NOW
+++ +++ ++++If you do not call I give up Firefox and go with Explorer...
Edit: removed phone # public and robots to spammers. Sorry, but someone here or Mozilla does a on the support of a phone.
Hi greyfox73plus, the error page usually shows a code in parentheses (separated_with_underscore_characters). Sometimes, you need to develop a technical Details section to find the code. Could you put one you get?
Here is an example:
The most common reason for many sites (sec_error_bad_signature) seems to be the shield of Web of Avast. Web Shield intercepts your navigation and filter, but to filter sites secure, it has "fake" certificates for Firefox.
To test this theory, try disabling scanning of encrypted sites. I saw these steps in another post:
- Open the Avast dashboard on an affected system.
- Select settings in the left side menu.
- Adopt a Protection Active.
- Click on customize next to the Web Shield.
- Uncheck the option "Enable HTTPS analysis", and then click ok
If that solves the problem, but you want to filter encrypted communication, you need to import the Avast! signature in Firefox Certificate Manager of certificates, References tab.
Maybe you are looking for
-
updated to Firewfox 10, now it crashes all the time, mac os 10.5.8
I've updated to Firefox 10, now it crashes all the time, mac os 10.5.8. I keep seeing the bagel of Rainbow spinning every time I access the menu. I disabled all add ons and it did not help. and he won't leave I had to force quit every time.
-
I want to clear recent items from the camera shots, but it is impossible
Hello. I used the camera to my Macbook and took a few pictures by it. But next time when I want to take another I saw my recent photos that was taken with my camera and tried to make them disappear, but incapable of this. I googled a lot but nothing
-
Help of password Bios HP mini 110
I try to restore the factory settings and need the bios password... .and have not. I got this code cnu0244kgf can anyone help? Thank you!
-
Everyone else got a code of-61072 error?
I use read/write controls and I keep getting 61702-des.
-
does not recognize my speakers
Windows does not recognize my speakers. in the volume control, it says "no audio device" the speakers on another system and the computer does not recognize same helmet when theyre plugged. HOW can I get my computer to recognize my speakers?