parameter with null in LOV
HelloA list of values of a parameter contains null. If I chose the value null, it introduced the null values. If I chose another value, he brought this value more null values.
Previous questions in the forum, I got to know of the case at the time to choose a non-null value value and does not have null values in the report.
However, now the user can not choose the value zero and get all the null values in the report. When you select null from the list of values, the report is empty.
Thank you.
Leah
Hello
This is a known bug. According to me, it is resolved in the latest version of 10g, 10.1.2.3. You can get around using a concatenation, for example using 'NAKED' |' He'S ' instead of 'NULL '.
Rod West
Tags: Business Intelligence
Similar Questions
-
Hello
I'm using Oracle 11 g. I have a table with an id of 3, node, the value column. Combination of the column id and node, that must be taken account for deletion on the registers.
Here, I need to delete lines with the NULL value in the value column. If for a combination of id and node with non-null values, then I need to delete rows with a null value for this combination.
If the combination of id, node is not null value then this records should not delete.
Below table, I need to remove the second row, for which is a value not zero VOICE CAL '10' is there, so I need to delete the row with null values. (VOICE, CAL, NULL)
Network, FL, there is no value is non-null then I should NOT delete this line.
This table is to have 100 s of this association, we can delete data in a single delete query?
Or how I can delete rows with nulls for this combination.
Tab1
VALUE OF THE NŒUD ID
VOICE CAL 10
VOICE CAL NULL
NETWORK NULL FLThank you
Hello
oradba11 wrote:
Hello
I'm using Oracle 11 g. I have a table with an id of 3, node, the value column. Combination of the column id and node, that must be taken account for deletion on the registers.
Here, I need to delete lines with the NULL value in the value column. If for a combination of id and node with non-null values, then I need to delete rows with a null value for this combination.
If the combination of id, node is not null value then this records should not delete.
Below table, I need to remove the second row, for which is a value not zero VOICE CAL '10' is there, so I need to delete the row with null values. (VOICE, CAL, NULL)
Network, FL, there is no value is non-null then I should NOT delete this line.
This table is to have 100 s of this association, we can delete data in a single delete query?
Or how I can delete rows with nulls for this combination.
Tab1
VALUE OF THE NŒUD ID
VOICE CAL 10
VOICE CAL NULL
NETWORK NULL FLThank you
You can do this in a single DELETE statement (it is not a request), using an EXISTS or IN the subquery. For example:
REMOVE table_x m
WHERE the value IS NULL
AND THERE ARE)
SELECT 0
FROM table_x s
WHERE s.id = m.id
AND s.node = m.node
AND s.value IS NOT NULL
)
;
If you would care to post CREATE TABLE and INSERT instructions for the sample data, and then I could test it.
-
Hi all
I have a requirement where I need to get all the records, for each record in double, I need to get a single column with null or 0.
create table a1
(
Identification number,
VARCHAR2 (100), the point
part varchar2 (100));
Insert into a1
values (1, 'ABC', 'A1');
Insert into a1
values (2, 'DEF', 'A2');
TABLE A
PART ITEM ID
1 ABC A1
1 ABC A1
1 ABC A1
DEF 2 A2
DEF 2 A2
3 DEF A2
O/P
PART ITEM ID
1 ABC A1
1 ABC 0
1 ABC 0
DEF 2 A2
2 DEF 0
3 DEF 0
Thanks in advance.
Thanks for your help FrankKalush...
This one will work.
WITH got_r_num AS
(
SELECT NVL (a1.id, a1.id) as id
NVL (a1.item, a1.item) AS element
NVL (a1.part, a1.part) IN the framework
a1.id AS a_id
ROW_NUMBER () OVER (PARTITION BY a1.id
ORDER BY NULL
) AS r_num
BY the a1
)
SELECT id
element
CASE
WHEN a_id IS NOT NULL
AND r_num = 1
THEN part
ELSE ' 0'
END in the framework
OF got_r_num
;
-
Throw the records with null values columns
Hi all.
Anyone know how to dispose of records containing null column values?
In the target table, I have the set Null option? with "N"... then the process sqlldr load some records. I need to load all of this without the records with null column values. by result, if the field X is null then load the file.
Kind regards.
Published by: ASzo on 05/06/2013 12:37
Published by: ASzo on 05/06/2013 12:38
Published by: ASzo on 05/06/2013 12:42load data
INFILE...
in the table...
When x! = ''
fields completed by...
(x ...) -
Cannot bind the portlet parameter with the webcenter portal page setting
Hi all
I'm tying portlet parameter with the setting of the page so that I can reach some needs of the company.
Here's what I did,
In my producer of Portlet application:
(1) created standards based portlets (jsr 286) with view.jspx and edit.jspx with the rest of the things being default.
(2) in my portlet.xml created two parameters and receives these parameters to the portlet created above.
(3) in the added view.jspx output torque label adf elements in the page.
(4) deployed this integrated weblogic server.
In my WC portal application:
Created a new page and add the portlet to this page (WSRP connection already exists).
deployed applications of portal on the server integrated.
In page editing mode, I added a parameter (Param1) and certain value (constant) default page added.
What I want is this:
What value of Param1 is a view first label of output and
What value of Param1 is display two second label output.
I use jdev 11.1.1.5.0 with integrated weblogic server.(1) I do not set the value in the portlet code. This is supported by the application of Portal WebCenter! When you insert the portlet on a page and Runtime edition mode, press the button customize (an icon of Gable at the top right of the portlet). The first tab is the tab settings of the portlet. This tab is generated by the infrastructure by reading the specifications of portlets. As soon as you change the value it and press ok or apply, the value can ask of the portlet code I provided. That's why you can't find a code to set this value.
(2) responded to 1 I guess :)
(3) also partially answered 1 :)
To change the value of a second, you must customize the portlet. This is possible by logging into the portal. You should see a pencil icon in the upper right of the portlet. When you click on it, it will open the page of edit.jspx that can be used to set preferences, as you can see in the code.
Note that edit.jspx and the code to handle fields in the portlet bean are generated by Jdeveloper. I've not written. This is done by JDeveloper when you add a preference during the portlet Wizard.I hope this helps.
-
By the way the dynamic parameter with the URL while submitting the form
Hello
I the data in xml format in a servlet using the button send the form. I also need to pass a parameter with the URL. But the value of this parameter changes during execution based on the value of a particular field in the form. Please help me with it.
Thank you.
Here is an example that shows what I think you want. The code is on epreSubmit th of the button event. I put messages showing what the button submit it URL is... before and after we change. You can delete these messages when make you it work as you want.
Hope that helps
Paul
-
DataPump the QUERY parameter with string values? -SOLVED
All,
I'm trying to specify a query to the datapump API parameter but can't seem to get my correct single/double quotes so that it can work. I can successfully use the QUERY parameter with something like QUERY = table: '"number_column = 6" ' but NOT with something like QUERY = table:'"string_column ="value"" "
I tried different versions of the single/double quotes, but all fails with slightly different errors. Someone at - it an example where a string value is used with success?
Thanks in advance. Oracle 10.2.0.3.0 - AIX 5.3
So after reading some other reviews on another thread - I tried this and it worked:
QUERY = table:------"where string_column = 'value\' \' \
Looks like you have escape all single/double quotation marks for this parameter
Published by: potter_geek on August 31, 2009 10:47Hello
Use the parameter file or if you run expdp command-line use escape character '-' (backslash) in this case.
Concerning
Anurag Tibrewal. -
How to display the line empty as a line with null values
Hi all
Pls advise me if it is possible to use a single query statement to display
Empty row (i.e. not a single return line) as a line with null values.
For example,.
Select the names of names_mst whose name = "sgasfgs".
Result:
Names of
=====
< null >Hello
If you desire to join external to double, as shown below, you still get at least a line of productionSELECT nm.names FROM dual LEFT OUTER JOIN names_mst nm ON nm.name='sgasfgs';
-
Hello
I use APEX 4.0 on 10g.
I have 2 LOV, the second, based on the first.
One displays null as 'null' % values to display all rows back.
When I select a value from the first LOV (except 'null'), the second is updated with the correct values: it works.
But when I select the value 'null', the second list is empty, rather than be filled with all the values.
The second LOV based on the first request (P3_FILTRE_AREA_NAME):
When I run this query as a replacement for Sqlplus: P3_FILTRE_AREA_NAME by '%', it works, it returns all the rows.select distinct(ACCL_NAME) display_value, ACCL_NAME return_value from POINTS WHERE upper(AREA_NAME) LIKE upper(:P3_FILTRE_AREA_NAME) order by 1
Any idea?
Thank you.
Yann.Hi Yann,
You must set * "Optimize Refresh" = No * regarding your second select list P1_ACC_NAME. If you do that it will work.
I also suggest to change your list of first selection P1_AREA_NAME to
Display null value: "- show all xxx -" (without the quotes)
"Return NULL value:" (without the quotes)and the declaration of LOV your second selection P1_ACC_NAME list to
select distinct(VALUE1) display_value, VALUE1 return_value from TABLE WHERE upper(VALUE2) LIKE nvl(upper(:P1_AREA_NAME), '%') order by 1
I think this makes it more transparent by looking at the SQL statement what happens where nothing has been selected. It is also more pleasant that P1_ACC_NAME is set to null if you need to access this page element in the continuation of the procedure on your page.
Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
I write this code to report and
I put parameters to filter data when the user needs data
but when he needs all the data in the report returns all data
but the following code returns all the data when I put the settings
SELECT get_full_name (a.user_stud_id), a.amount, a.user_stud_id, a.amount_detial,
a.std_cost_id, a.grade_stud, a.twread_number, a.twread_date, a.user_move_id,
a.move_date, a.safe_id, a.safe_name
OF std_main_money one
where
std_cost_id =: P1 or: P1 is null
and Grade_stud =: P2 or: P2 is null
ORDER BY std_cost_id, Grade_stud, move_id, user_stud_id
Hello
If std_cost_id and Grade_stud are not null columns, you can also do
SELECT get_full_name (a.user_stud_id), a.amount, a.user_stud_id, a.amount_detial,
a.std_cost_id, a.grade_stud, a.twread_number, a.twread_date, a.user_move_id,
a.move_date, a.safe_id, a.safe_name
OF std_main_money one
where
std_cost_id =nvl(:P1,std_cost_id)
and Grade_stud =nvl(:P2,Grade_stud)
ORDER BY std_cost_id, Grade_stud, move_id, user_stud_id
Best regards
-
display of the output cursor empty with null values
I have the below procedure of the State where he is shown the output to the client.
The requirement now is if the select statement does not return a value any with the input given then output parameter should see NULL values instead of no line at all.
One method is to get the number of the select query that is written in "open p_out for." And then write the condition as if count is 0 then null other show data.Could you please suggest me any other alternative to this.
Create or replace procedure test (p_empno in number , p_out out sys_refcursor) is begin open p_out for select e.ename, d.deptname, s.sal , p.addr , v.age from emp e ,dept d, sal s, padress p , age v where e.deptno = d.deptno and d.deptno = s.deptno s.sal_id = p.sal_id and p.id = v.id and e.empno = p_empno ; exception when others then open p_out for select null , null,null,null,null from dual; end test.
Thank you
Maybe NOT TESTED!
Select x.ename, x.deptname, x.sal, x.addr, x.age
of the double
left outer join
(select e.ename, d.deptname, s.sal, p.addr, v.age
from emp e,.
d Dept,
SAL s,
padress p,
v of the age
where e.deptno = d.deptno
and d.deptno = s.deptno
and s.sal_id = p.sal_id
and p.id = v.id
and e.empno = p_empno
) x
1 = 1
Concerning
Etbin
Select x.*
of the double
left outer join
(select *)
WCP
where ename = 'ETBIN.
) x
1 = 1
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO - - - - - - - - -
How to use the NVL function to a parameter with comma delimited values
Gurus,
It is confusing to me. I am trying to use the NVL function, but the setting that I'm passing in my cursor contains multiple values with commas. The NVL function is confused when analyzing the values.
'Where' cursor clause...
and nvl (sn.c_attribute1,'x@#$%') in nvl (p_desig,'x@#$%'( )
translated parameter values...
and nvl (sn.c_attribute1,'x@#$%') in nvl ('SPRT''GOOD' 'BAD' 'x@#$%') -NVL does not parse the value correctly
Any idea on how to get NVL recognize 'x@#$%' , if p_desig is null?
Thank you
Scott
HI, Scott.
Whenever you have a problem, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements) of all the tables involved, so that people who want to help you can recreate the problem and test their ideas.
Also post the results you want from this data, as well as an explanation of how you get these results from these data, with specific examples.
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
My best guess, based on what you posted bone is present, that your problem is discussed in the following:
-
Add filter slot table form to show the lines with null values
Hello
I have a tabular presentation where we need to add a filter with two values (selection list) so that if one of the columns in a table (column1) is zero, then I need to display all records where column1 is null.
I was wondering how do I put this in the Source of tabular forms where condition. This filter has only two values,
All the
NULL for the error
So when the user selects all, then all the records in the table are shown
If the user selects 'Value Null in error', while the records where Column1 is null will be shown
For example
If the user selects, thencolumn1 column2 A B 1 C 3 D
all four files will show up. Else, only the first and the second will be returned.
Thank youHi, Ryan.
Try a static LOV like this
STATIC2:;,--- All ---;--- All ---
and a Where clause, like this
where column1 is null or :p1_filter like '%%'
Jeff
-
Must end with <; null >; when writing to GPIB
I am writing a program to communicate with my spectrometer. It seems that I must put an end to a certain command with a
character. I tried the concatenation of an empty string constant, but still does not work. I'm more familiar with C programming method where you add a "\00", which refers to the character of , after the command. Any help would be appreciated and thanks in advance. Instead of an empty string, concatenate a constant of diagram of string containing the null character. (Right-click of the constant and select view \-codes, then enter \00, or select hexadecimal display and enter 00)
-
I'm under CVI 2013 SP1 with debug level set on scope.
I changed a parameter in a FmtFile formatting function call and now receive this error. I wonder why the CVI can not handle this error, that is, find out about the number line... You can have more than one function of Fmt...
Hello Wolfgang,.
I have reproduced the error as you described in Debug64 configuration only. In the Debug configuration, the source location is specified, so I opened the bug 472987 follow. The problem seems to be in 2013 LabWindows/CVI.
You also experience this problem in the Debug configuration? If so, could you please give a sample?
Thank you for your input,
Nelu F. | National Instruments.
Maybe you are looking for
-
My Imac will boot 50% was last started. Screen is white with the apple logo begins to start, gets about 50% through the commissioning of the Black goes and seems to stop. This all started when I started to install again the dates. Thank you, Jesse
-
I just got a monitor LG 34 "which is advertised as being able to display full res QFHD on HDMI. I have a F55 with 4.1 and can't get any signal at all at any frequency of system through the HDMI input on the monitor. I use a cable supplied with the mo
-
Cooling system works well on Satellite Pro 6000
HelloI get a message from the operating system on my SP6000, the message tells me that my cooling system does not work well, and after the computer turns off. It sews the cooling fan is not running. What a hardware or software problem? Thank you Samm
-
Need to remove the ConfigFree to install Vista
My computer PSP AOE. When I run Vista upgrade advice before installing vista it says ConfigFree not compatible and must be uninstalled before the installation of Vista. But when I click on remove what it will not uninstall, instead I get. "InstallShi
-
MY TASKBAR WITH START HAS DISAPPEARED, I HAVE DONE SOMETHING, I CAN GET BACK?
I HAVE NO BAR TASKS, HIS PARTY, CAN SOMEONE HELP ME GET IT BACK?