Selected display will prompt the State values
Hi allI need to show the user the values chosen dashboard invites you... I thinkiI this is impossible with variables, because the guests are multiple... How can you show these values as a text in one part of the report? (For example under the graphical view..)
Thank you
Why not just add a 'Filters' view on-demand? Which could show you what is invited.
See you soon,.
C.
Tags: Business Intelligence
Similar Questions
-
/ select display conversion during the release of the statement?
I store my IP addresses as of the numerical values based on inet_aton
When I display/select a value is there a way to convert the format 'address', without taking a second step?
example: ip = 8.8.8.8 stored in the form 134744072
STEP 1
If I do a search
Select ip from ip_addresses where id = 3;
he responds 134744072 and then I have to do
STEP 2
Select inet_ntoa('134744072'); #to return value
Anyway is to integrate the conversion to the IP in the select statement so that STEP 2 is part of STEP 1?
side note: I'm doing a process similair with mac addresses that stores under a number of type bigint type and convert back to hex in a second step for display, hoping a solution will make other evidence for me.
Thank you in advance!
Is it not simply
Select inet_ntoa (ip) in the ip_addresses where id = 3;
John
-
Select list failed at the first value
APEX Version: 4.1.1.00.23
Oracle database: 11g
Question: The application updates the value selected in the list of selection (O/N) to the database, but at the front end, the selection list is set by default to display only the first value in the list. I think this is the data type of the field in the table attached to this select list is TANK (2). And change to VARCHAR2 (2), it worked fine. Now whichever option I choose in the selection list is updated and displayed on the front as well.
I do not understand why is this to mess with (2) TANK. Someone at - it explain it please, I'd appreciate it really.
Thank you
Chrystelle
never use CHAR() in your tables.
TANK always touch your strings to the exact same length.
In your case, you compare the value to the value of the list of the 'Y' table 'Y '.
declare
a tank (2): = 'Y ';
b varchar2 (2): = 'Y ';
Start
dbms_output.put_line ('element A as a sign of ' | length (a)); -This will ALWAYS have a length of 2
dbms_output.put_line ('Variable A as a sign of ' | length (b));
end;
-
Select lines based on the State of the same line
Hello
I have the following table structure and lines defind here
http://sqlfiddle.com/#! 3f474/4/3
I want Select if lines
is null, then I need to select rows that have the IS_PAYABLE = 'Y '. IfPRODUCT_NO
is not nullPRODUCT_NO
then IS_PAYABLE will be ' no or IS_PAYABLE will be null.
For example
For PRODUCT_REG HPO_FABRIC, a
NULL if I need select this line only, not the other two rows.PRODUCT_NO
I can do
, but if there are many records with null or not null PRODUCT_NOselect * from SUPPLIER_DETAILS where IS_PAYABLE='Y'
How can I do this using sql?select PRODUCT_REG, PRODUCT_SUPPLIER_CODE, PRODUCT_NO, START_DATE, END_DATE, IS_PAYABLE from ( select PRODUCT_REG, PRODUCT_SUPPLIER_CODE, PRODUCT_NO, START_DATE, END_DATE, IS_PAYABLE, row_number() over (partition by product_reg order by decode(is_payable,'Y',1,'N',2,3), product_no nulls first) rn from SUPPLIER_DETAILS ) where rn = 1 PRODUCT_REG PRODUCT_SUPPLIER_CODE PRODUCT_NO START_DATE END_DATE IS_PAYABLE HPO_FABRIC JP_008 - 08/01/2001 08/31/2001 Y STG_PIL SJ_090 STG-PILLOWS 01/04/2001 01/31/2001 -
Published by: chris227 on 17.09.2012 13:30
-
that will generate the hash value
Hello world
I need some information about the hash value is generated for each new SQl
I think that PGA will generate a hash value every time
Thanks in advance
Shareef912856 wrote:
Hello worldI need some information about the hash value is generated for each new SQl
I think that PGA will generate a hash value every time
PGA 'would lead to' value? Is it not that the hash values are generated by the hash functions ? If you want information on the analysis of works, please read.
http://docs.Oracle.com/CD/E11882_01/server.112/e16638/optimops.htm#i21299And,
http://docs.Oracle.com/CD/E11882_01/server.112/e25789/sqllangu.htm#CNCPT1740Aman...
-
Select only records where the column values are not all equal to zero
Hi everyone, it seems so easy, but it has left me speechless on the research in a way that is clean, easy to achieve. I know when someone replies, I'm going to kick me. So, let's assume this is what I have:
I need an external application around it or something which will select only 'Type 1'... that is, if all months are each equal to zero, do not include the record in the result set.with mytable as ( select 'Type 1' as itemtype, 'JAN' as monthname, 0 as theval from dual union all select 'Type 1' as itemtype, 'FEB' as monthname, 1 as theval from dual union all select 'Type 1' as itemtype, 'MAR' as monthname, 5 as theval from dual union all select 'Type 1' as itemtype, 'APR' as monthname, 1 as theval from dual union all select 'Type 1' as itemtype, 'MAY' as monthname, 4 as theval from dual union all select 'Type 1' as itemtype, 'JUL' as monthname, 0 as theval from dual union all select 'Type 1' as itemtype, 'AUG' as monthname, 0 as theval from dual union all select 'Type 1' as itemtype, 'SEP' as monthname, 1 as theval from dual union all select 'Type 1' as itemtype, 'OCT' as monthname, 7 as theval from dual union all select 'Type 1' as itemtype, 'NOV' as monthname, 1 as theval from dual union all select 'Type 1' as itemtype, 'DEC' as monthname, 2 as theval from dual union all select 'Type 2' as itemtype, 'JAN' as monthname, 0 as theval from dual union all select 'Type 2' as itemtype, 'FEB' as monthname, 0 as theval from dual union all select 'Type 2' as itemtype, 'MAR' as monthname, 0 as theval from dual union all select 'Type 2' as itemtype, 'APR' as monthname, 0 as theval from dual union all select 'Type 2' as itemtype, 'MAY' as monthname, 0 as theval from dual union all select 'Type 2' as itemtype, 'OCT' as monthname, 0 as theval from dual union all select 'Type 2' as itemtype, 'NOV' as monthname, 0 as theval from dual union all select 'Type 2' as itemtype, 'DEC' as monthname, 0 as theval from dual ) select itemtype, sum (case monthname when 'JAN' then theval else 0 end) as JAN, sum (case monthname when 'FEB' then theval else 0 end) as FEB, sum (case monthname when 'MAR' then theval else 0 end) as MAR, sum (case monthname when 'APR' then theval else 0 end) as APR, sum (case monthname when 'MAY' then theval else 0 end) as MAY, sum (case monthname when 'JUN' then theval else 0 end) as JUN, sum (case monthname when 'JUL' then theval else 0 end) as JUL, sum (case monthname when 'AUG' then theval else 0 end) as AUG, sum (case monthname when 'SEP' then theval else 0 end) as SEP, sum (case monthname when 'OCT' then theval else 0 end) as OCT, sum (case monthname when 'NOV' then theval else 0 end) as NOV, sum (case monthname when 'DEC' then theval else 0 end) as DEC from mytable group by itemtype order by itemtype
In summary to get a total of zero is not an option, because I could have-15 and + 15 in different columns, in which case, the recording should be displayed.
Something as simple as... 'not the case (oct = 0 and 0 nov and dec = 0...) at the end is all it seems to me necessary. I thought to add a case for each column clause, but that seems not very effective. Ideas?
Thanks in advance!
Mark
Edit... I know not what follows will work using the MINUS operator, but my actual query is really huge, and I don't want to have to write it twice...
{code}
Select
ItemType,
sum (case monthname when "JAN" then Val else 0 end) such as JAN,.
sum (case when monthname 'FEB', then Val 0 otherwise end) by Feb.
sum (case when monthname 'MAR', then Val 0 otherwise end) like MARS,
sum (case monthname when "APR" then Val else 0 end) as APR.
sum (case when monthname 'MAY', then Val else 0 end) either.
sum (case when monthname "JUN", then Val 0 otherwise end) as JUN.
sum (case monthname when "JUL" then Val else 0 end) as JUL,.
sum (case monthname when "AUG" then Val else 0 end) as AUG.
sum (case monthname when "MS" then Val else 0 end) as MS.
sum (case monthname when "OCTS" then Val else 0 end) OCT.
sum (case monthname when "NOV" then Val else 0 end) as NOV.
sum (case monthname when 'DEC' then Val else 0 end) as DEC
FROM MyTable
Group of itemtype
less
Select
ItemType,
Jan, Feb, mar, Apr, may, June, July, August, Sept, oct, nov, dec
de)
Select
ItemType,
sum (case monthname when "JAN" then Val else 0 end) such as JAN,.
sum (case when monthname 'FEB', then Val 0 otherwise end) by Feb.
sum (case when monthname 'MAR', then Val 0 otherwise end) like MARS,
sum (case monthname when "APR" then Val else 0 end) as APR.
sum (case when monthname 'MAY', then Val else 0 end) either.
sum (case when monthname "JUN", then Val 0 otherwise end) as JUN.
sum (case monthname when "JUL" then Val else 0 end) as JUL,.
sum (case monthname when "AUG" then Val else 0 end) as AUG.
sum (case monthname when "MS" then Val else 0 end) as MS.
sum (case monthname when "OCTS" then Val else 0 end) OCT.
sum (case monthname when "NOV" then Val else 0 end) as NOV.
sum (case monthname when 'DEC' then Val else 0 end) as DEC
FROM MyTable
Group of itemtype
)
where (oct = 0 & nov = 0 and dec = 0 and jan = 0 and 0 = Feb and mar = 0
apr = 0 and may = 0 and = 0 jun and Jul = 0 and aug = 0 and Ms = 0
)
order of itemtype
{code}
Change again... OK, I guess that I am answering my own question here, but I think that by using a WITH to write the main request once clause and then selecting * twice using the MINUS operator between where the second query is where (oct = 0, etc.) is what I need. If anyone has better suggestions, please let me know! Here's the logic of nickname for what I come up with to date...
{code}
WITH mainquery as (select all)
Select * from mainquery
less
Select * from mainquery where (oct = 0, nov = 0, etc...)
{code}
Thanks again!
Mark
Published by: user455268 on March 1, 2012 19:13
Published by: user455268 on March 1, 2012 19:16Hello
You can do it with a HAVING clause:
select itemtype, sum (case monthname when 'JAN' then theval else 0 end) as JAN, sum (case monthname when 'FEB' then theval else 0 end) as FEB, sum (case monthname when 'MAR' then theval else 0 end) as MAR, sum (case monthname when 'APR' then theval else 0 end) as APR, sum (case monthname when 'MAY' then theval else 0 end) as MAY, sum (case monthname when 'JUN' then theval else 0 end) as JUN, sum (case monthname when 'JUL' then theval else 0 end) as JUL, sum (case monthname when 'AUG' then theval else 0 end) as AUG, sum (case monthname when 'SEP' then theval else 0 end) as SEP, sum (case monthname when 'OCT' then theval else 0 end) as OCT, sum (case monthname when 'NOV' then theval else 0 end) as NOV, sum (case monthname when 'DEC' then theval else 0 end) as DEC from mytable group by itemtype HAVING MIN (theval) != 0 OR MAX (theval) != 0 order by itemtype ;
If the values are all 0, then the MIN and MAX will be 0.
If the MIN or MAX is not 0, the values are all 0.This assumes that the combination (itemtype, monthname) is unique, because it is in your sample data.
If this is not the case, start with a subquery that GROUPs BY itemtype, monthname, so that when you get to the main request, this combination will be unique. -
Change the text displayed, based on the threshold value
Hi users of Labview,.
I need help with display and editing text in labview.
The text should display and change according to the following conditions:
0 volt - "no power".
1 volt - "controller ON".
2 Volt - "Rotor Running"
3 volt - "Rotor stopped".
Based on the voltage read by the channel, the text must be displayed and modified on the same area of the front panel. For example, initially it will be 0 Volt and the text "No power" should appear as an indicator of text (and not as a warning message). He needs to change ' controller we ' when the chages of voltage from 0 to 1 volt. The canal reads the analog input voltage (range 0 - 5V).
I'm relatively new to labview. So please give me pointers or from suggestions on how can be done. Any help is greatly appreciated.
Thank you
REDA
Hello
Thanks for the crossrulz of notes, have not used the front threshold. For this simple example, it is "symmetrical", but I can see how the values in the table have been does not correspond to the index position that is so true useful. Learn something every day, I could not resist, wanted to try.
OK, here's a sample VI that puts a custom message based on the crossing of a threshold. Home work is to study the components before asking to :-)
The dice are the analog signal of 0 to 6. He rounded to the whole number to provide the index number. Power is the index number in the index table, the table being hard-coded text messages.
Two additional indicators may be deleted, useful to see what is happening.
And get rid of the value 0 if you want the text to match the number, he he he
Enjoy.
-
Our development team is trying to create an external tabe in the database of another schema. ODI is to create the inside connection bridge. I don't know how. But whenever they get from this request, he'll hang on State. When in the same code works fine in a different database.
Users whereby they are connceting to the source in the fire database this query have the same privileges.
For a database, it works fine that the table is created in the target database and in the correct schema but for another, it doesn't work and hung... (not giving any results)
Databases are used to the BI work and having almost the same configurations.
I checked the view target database v$ session. It gives me < enq: PS - contention > event
and three rows are back with < PX Deq: table Q narrow > event for others following two lines...
is - can anyone shed some light on this? What should I do now. like killing the session blocking is not solve problems
Here is an example of the executed query:
CREATE TABLE SCHEMA_NAME. C$ _0ODS_JDE_F0004
(C1_DTSY, C2_DTUCD1, C3_DTRT, C4_DTJOBN, C5_DTUPMJ_DT, C6_DTMRTY, C7_DTDL01, C8_DTPID,
C9_DTMRCT, C10_DTLN2, C11_DTCNUM, C12_DTUSEQ, C13_DTUSER, C14_DTCDL, JRN_SUBSCRIBER, JRN_FLAG, JRN_DATE)
EXTERNAL ORGANIZATION
(TYPE oracle_datapump
THE DEFAULT DIRECTORY DIR_SCHEMA_NAME
LOCATION ("X58030417C$ _0ODS_JDE_F0004_1.EXP", ' X58030417C$ _0ODS_JDE_F0004_2.EXP ')
)
2 PARALLEL AS
SELECT
NVL (TRIM (F0004. (DTSY), ' ') C1_DTSY, NVL (TRIM (F0004. (DTUCD1), ' ') C2_DTUCD1, F0004. DTRT C3_DTRT,
TRIM (F0004. C4_DTJOBN DTJOBN), J2DT (DTUPMJ, DTUPMT) C5_DTUPMJ_DT, NVL (TRIM (F0004. (DTMRTY), ' ') C6_DTMRTY;
TRIM (F0004. DTDL01) C7_DTDL01, TRIM (F0004. DTPID) C8_DTPID, F0004. DTMRCT C9_DTMRCT, F0004. DTLN2 C10_DTLN2,
F0004. DTCNUM C11_DTCNUM, F0004. DTUSEQ/10 C12_DTUSEQ, TRIM (F0004. C13_DTUSER DTUSER),
F0004. DTCDL C14_DTCDL, ' ' AS JRN_SUBSCRIBER, 'I' AS JRN_FLAG, SYSDATE AS JRN_DATE
OF SCHEMA_NAME. F0004 F0004 WHERE (1 = 1)
-Best regards,.
Sahascratched...
-saha
-
Vista 64 bit will be the total value of 4 GB of memory on the Satellite P100-324
I installed 4 GB of RAM on my P100-324 and updated the BIOS with the latest update. Install Vista 64 view all of 4 GB and be able to use it?
Hello
Due to the 32 bit OS limitation of the 32-bit Vista is not able to see all of 4 GB memory system.
As mentioned that there is a lack of 32-bit operating system.I have not tested if the same question will appear on the 64 bit OS, but I assume that the 64 bit Vista should recognize all of 4GB of memory.
But I m very interesting to hear other options. Maybe someone has already installed the Vista 64 bit OS on the unit with 4 GB of memory.
Best regards
-
Hello
I use jdev 12.1.2.
I have a few components of af: selectOneChoice that is contained in an af:table element. The table is extracting lines from database and display data. Now here's the weird part: sometimes the component of selectOneChoice will have the correct value selected, and other times it will be just left unchecked. I can verify that the data in the object view lines are indeed correct after I request them. The LOV for soc components are properly set up (some are configured as static list display objects and some are set up as model driven lists based on display objects). I have just completely puzzled me as to why they work sometimes and then not work at times even though I am following the exact same steps to reach that point in my application. Someone at - he never meets this problem before?
Thanks for reading.
Problem solved!
For anyone having this problem in the future: do not try to do a partial trigger on a table that is not in the visible panelTab. The problem is that when my view criteria applying, I was refreshing the TWO tables. This caused that was not visible to lose the selectOneChoice selection, while the other table was very good. Remove the partial relaxation for the table that was not visible caused the data to be maintained properly during the exchange between the tabs and change the view criteria. Thanks for the help again Ashish, stumbled on the real root of the problem, after following some of your suggestions.
-
How can I tell SQL Developer to always display the datetime values in its entirety?
It's really annoying. Developer SQL displays only the date part of datetime variables. Good, if I preface every query with 'ALTER SESSION SET NLS_DATE_FORMAT = "DD-MON-YYYY HH24:MI:SS";', it will force the datetime value to display, but that it a nuisance!
How can we make SQL Developer ALWAYS display the full datetime value?SQLDeveloper it will display Date + 12:00:00 AM (depending on the format you chose). You will get no error. I published an article on this with screenshots, in my blog. If you are interested, you can read [here: | http://srinisboulevard.blogspot.com/2010/05/date-display-in-oraclesqldeveloper.html]
HTH
-rsrini -
Select data based on the priority of the State
ID PRO_ID PRO_OBJ_ID TASK_ID DEVELOPER_ID STATUS
121243 4940 37506 5250 6532 REJECTED
122063 4940 37506 5250 6532 RELATIVES
138306 4940 37506 5250 6532 ACCEPTED
138307 4940 37506 5250 6532 WIP
Hello
In the table above, I need to select data based on the State, a status which precedes CLOSE or ACCEPTED it should display all status any State which is after CLOSE or ACCEPTED, we do not consider.
In the scenioro above, it should display only the status of first three. After having ACCEPTED, it should not display something
Please suggest me a request how to write.
Thank you
Sudhir.Try:
SQL> with t as ( 2 select 121243 id, 4940 pro_id, 37506 pro_obj_id, 5250 task_id, 6532 developer_id, 'REJECTED' status from dual union all 3 select 122063, 4940, 37506, 5250, 6532, 'CLOSE' from dual union all 4 select 138306, 4940, 37506, 5250, 6532, 'ACCEPTED' from dual union all 5 select 138307, 4940, 37506, 5250, 6532, 'WIP' from dual union all 6 select 138308, 4940, 37506, 5250, 6532, 'ACCEPTED' from dual union all 7 select 138309, 4940, 37506, 5250, 6532, 'REJECTED' from dual union all 8 select 121243, 4940, 37777, 5250, 6532, 'REJECTED' from dual union all 9 select 122063, 4940, 37777, 5250, 6532, 'CLOSE' from dual union all 10 select 138306, 4940, 37777, 5250, 6532, 'ACCEPTED' from dual union all 11 select 138307, 4940, 37777, 5250, 6532, 'WIP' from dual union all 12 select 138308, 4940, 37777, 5250, 6532, 'ACCEPTED' from dual union all 13 select 138309, 4940, 37777, 5250, 6532, 'WIP' from dual 14 ) -- actual query starts here: 15 select t1.id 16 , t1.pro_id 17 , t1.pro_obj_id 18 , t1.task_id 19 , t1.developer_id 20 , t1.status 21 from t t1 22 where id <= (select max(id) 23 from t t2 24 where t2.status in ( 'ACCEPTED', 'CLOSED' ) 25 and t1.pro_id = t2.pro_id 26 and t1.pro_obj_id = t2.pro_obj_id 27 and t1.task_id = t2.task_id 28 and t1.developer_id = developer_id 29 ); ID PRO_ID PRO_OBJ_ID TASK_ID DEVELOPER_ID STATUS ---------- ---------- ---------- ---------- ------------ -------- 121243 4940 37506 5250 6532 REJECTED 122063 4940 37506 5250 6532 CLOSE 138306 4940 37506 5250 6532 ACCEPTED 138307 4940 37506 5250 6532 WIP 138308 4940 37506 5250 6532 ACCEPTED 121243 4940 37777 5250 6532 REJECTED 122063 4940 37777 5250 6532 CLOSE 138306 4940 37777 5250 6532 ACCEPTED 138307 4940 37777 5250 6532 WIP 138308 4940 37777 5250 6532 ACCEPTED 10 rows selected.
If it works then please provide us with some representative sample data again.
-
What coherence will update the main and backup values?
Dear Expert:
In about schema, update some data in the client, when the will of coherence will update the main values and backup of entry?
is he in the put operation while I updated? or when I get the same entry in next time, consistency will be synchnized the value?
Thanks for your reply.Hello
In plan closely, when you put an object in the grid, the object is placed in the local within the local JVM cache and partitioned cache which supports (including a backup copy). The values are all up to date through the whole grid of coherence and the local cache as well.
See you soon,.
NJ -
We will therefore say I installed an app on the app store and it is version 1.0 and it was save States to save my best personal score, that will save the State and score be removed when I install a version update (1.1)?
I ask because I'm about to start using save States and need to know how to save to keep the original save the State through different versions that could come, so he has not erased each time.
It'll keep all your saved data, so you don't need to worry.
-
Application of interactive report of apEx using the last value of the point
My interactive report is based on a field, but the value of the field is not applied when executing the query
SELECT *.
MyTable FROM A
where A.registration_year =: REGISTRATION_YEAR_ITEM
I created an item in the page REGISTRATION_YEAR_ITEM
When I run the query, I want the user to type in a year, and then run the query and display the corresponding results.
The query always seems to use the default value of points instead of the current value
How can I do use the value of the current field?
I also tried the V method, but produce the same results
where A.registration_year = v('REGISTRATION_YEAR_ITEM')
The environment is ApEx 312, 10.2.0.4 database
Unfortunately, the upgrade is not an option
Thanks for any help you can offer
S.Bovin wrote:
My interactive report is based on a field, but the value of the field is not applied when executing the query
SELECT *.
MyTable FROM A
where A.registration_year =: REGISTRATION_YEAR_ITEM
I created an item in the page REGISTRATION_YEAR_ITEM
When I run the query, I want the user to type in a year, and then run the query and display the corresponding results.
The query always seems to use the default value of points instead of the current value
How can I do use the value of the current field?
Add the REGISTRATION_YEAR_ITEM to the IR Page elements to submit property. He will submit the current value in session state.
Why bother with the page element at all? Why users can't create just an IR filter?
I also tried the V method, but produce the same results
where A.registration_year = v('REGISTRATION_YEAR_ITEM')
For performance reasons, use bind variable notation when you reference values from session state in SQL queries.
The environment is ApEx 312, 10.2.0.4 database
Unfortunately, the upgrade is not an option
Why not? That it will provide you with a safe and supported environment and your users with a much better life.
Maybe you are looking for
-
Help, please? panic!
Recently I sold my old iphone and got a notice today that the phone was using my imessage. I erased all the content, but it seems that I should have extinguished iMessage before selling, but I do not have. I don't know how they know my password to ac
-
Satellite A120 recovery disc question
help needed...I work for a City Hall supports all schools in the County... and have reached a bit of a dead end... I need to restore a satellite pro a120, but can not find the restore disc... However I have several disks that are unmarked (unlike the
-
Backup and managing configurations on ONS 15454 devices
We have a lot of ONS 15454 and CiscoWorks LMS 4 apparently does not support these devices (I can't pick the cards ML1000 configurations or configs of chassis). Can I save the configurations of the STC cards/chassis using the CTC? I see a backup optio
-
No matter what I tried, download the latest software updates, with the iMac, router, printer and turned off, I can not activate the computer option analysis I can print, copy but when I try and scan to the computer it tells me to activate the option
-
The RAW files appear pixelated
Hello worldWhen I open a RAW file in Ps they appear pixelated. I opened the Image resizing and it says that the files are about 1 Mb in size!I've rechecked in Lr and all files are fine. Even when I go to choose a file recently opened in the starting