Is there replacement for (less than) and (greater than) in Oracle 10g?
Hi,
In the User Java Application using Oracle's > (less than) or > (greater than) is not working.
Can anyone help me onthis for any feature in Oracle 10g instead of using less than or greater than
Thanks and Regards
Hi,
What do yyou mean by "it's not working"?
Maybe you could use sign function, instead.
with t as (select 2 x, 3 y from dual union all
select 2 x, 1 y from dual union all
select 2 x, 2 y from dual)
select t.*
from t
where sign(y - x) = - 1;
X Y
2 1
1 row selected.Regards
Peter
Similar Messages
-
I have a manual that contains headings and index entries that contain less than and greater than characters, < and >. The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the Contents or the Index of the generated HTML. In the Contents the words are completely missing and in the index entries the '\' characters that are required in the markers remain in the entry but the leading less than symbol and the first character of the word is deleted; hence what should appear as <dataseries> appears as \ataseries\>. I believe this is a FMv12 bug. Has anyone else experienced this? Is the FM team aware and working on a fix. Any suggestions for a workaround?
The Index issue is more complicated since in order to get the < and > into the index requires the entry itself to be escaped. So, in order to index '<x2settings>' you have to key '\<x2settings\>'. Looking at the generated index entry in the .js file we see '<key name=\"\\2settings\\>\">. This is a bit of a mess and produces an index entry of '\2settings\>'. This ought to be '<key name=\"&lt;x2settings&gt;\" >'. I have tested this fix and it works - but the worst of it is that the first character of the index entry has been stripped out. Consequently I cannot fix this with a few global changes - and I have a lot of index entries of this type. I'm looking forward to a response to this since I cannot publish this document in its current state.
-
HT1688 Where are the less than and greater than symbols?
where are the less than < and greater than > symbols?
Assuming rawValue of the total field is returning as "10000".
In the Calculate event of the Total field, write the following with Java Script as language.
VP_Signature.presence = "hidden";
Officer_Signature.presence = "hidden";
if(total.rawValue>10000){
VP_Signature.presence = "visible";
Officer_Signature.presence = "visible";
else{
VP_Signature.presence = "hidden";
Officer_Signature.presence = "visible";
Thanks
Srini -
What is the best way to do the presence event when working with totals. I created a table for funding and based on the total the document needs certain signatures. For example if the total is more than $10,000 signatures VP and Approving Officer need to appear. If the total is less than or equal to $10,000 than the Approving Officer signature only appears. Any help on this would be much appreciated...thanks so much!
Assuming rawValue of the total field is returning as "10000".
In the Calculate event of the Total field, write the following with Java Script as language.
VP_Signature.presence = "hidden";
Officer_Signature.presence = "hidden";
if(total.rawValue>10000){
VP_Signature.presence = "visible";
Officer_Signature.presence = "visible";
else{
VP_Signature.presence = "hidden";
Officer_Signature.presence = "visible";
Thanks
Srini -
Less than or greater than Decode Function
Can we use less than or greater than (relational operator) operator in decode function
Use Case instead.
Not sure if you need it in your resultset or your where clause.
Simple examples:
MHO%xe> with numbers as(
2 select 1 a, 3 b from dual union all
3 select 2 a, 3 b from dual union all
4 select 3 a, 3 b from dual union all
5 select 4 a, 3 b from dual union all
6 select 5 a, 3 b from dual
7 )
8 select 'QRY1'
9 , a
10 , b
11 from numbers
12 where (case when a >= b then 1 end) = 1
13 union all
14 select 'QRY2'
15 , case when a < b then b else 0 end
16 , case when b < a then a else 0 end
17 from numbers;
'QRY A B
QRY1 3 3
QRY1 4 3
QRY1 5 3
QRY2 3 0
QRY2 3 0
QRY2 0 0
QRY2 0 4
QRY2 0 5 -
Porting data from Oracle8i to XML and from XML to Oracle 10g
Hai
I have a client database (using oracle 8i) and a server database (oracle 10g).
Due to lack of leased line connectivity i want to port these offline data from 8i to 10g
using a modem(dial up connection).Is there is any way to port data from 8i to XML
and from XML to 10g.
thanks in advance
dejiesThanks Nicolas,
As per documentation, it seems to be difficult for export/import from Oracle8i to 10g. Is that any way to achieve this? I have to append the newly imported data with old or exisiting data into Oracle10g.
Regards
Nikhil -
How to install NW2004s abap and/or java on Oracle 10g on SLES 10 32 bit?
Does anyone know - How to install NW2004s abap and/or java on Oracle 10g on SLES 10 32 bit?
Does SAP offer the software for trial for this?
JayHi Check the link page you shall get the PDF and then goto Page 50 .you shall find the details.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3096e412-7308-2b10-4999-e16c64ce5eeb
Thanks
Rishi Abrol -
What is the function of _xdb and _xpt services in oracle 10g database.
what is the function of xdb and xpt services in oracle 10g database.?
Hi,
If you are troubleshooting check the below link too:
Issues installing. Listener not working
Best regards,
Rafi.
http://rafioracledba.blogspot.com/ -
Showing the amper sign and greater than sign in a report
Hi All,
I am saving html code to the table and it saves exactly as I save it but when I display it I need to replace certain characters with other values so it shows as it was saved.
<code>
select replace(replace(replace(ACTION,'>','>'),'<','<'),chr(10),'<BR>') "Action"
from test_table1
</code>
Example:
the greater than sign I replace with an amper sign, gt;
the less than sign I replace with an amper sign, lt;
the chr(10) I replace with a BR tag.
If I save the "amper sign, gt;" to the database what do I use to have it show an " amper sign, gt;" in my report column?
BillBill,
How about using the package
DBMS_XMLGEN.convert(<<value>>, 0)
when retreiving from the table and
DBMS_XMLGEN.convert(<<value>>, 1)
when saving to the database.
This package will take care of all of your special characters.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://htmldb.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Best way for to choice number greater than 0.0001
Hi
I must put in where condition all number greater than zero, but the precion must to be in 4th place
I tried in where condition
trunc(abs(T$QUAN$O),4)>0.0001Is there some other way ?
There are many columns that must compared (10 )
Tia
using
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
PL/SQL Release 9.2.0.8.0 - Production
CORE 9.2.0.8.0 Production
TNS for IBM/AIX RISC System/6000: Version 9.2.0.8.0 - Production
NLSRTL Version 9.2.0.8.0 - Production
Edited by: muttleychess on Jan 11, 2012 7:01 PMI tried something like, but no work
WITH X AS(
SELECT 1 COD, 0.001 VALOR FROM DUAL UNION ALL
SELECT 2 COD, 0.0001 VALOR FROM DUAL UNION ALL
SELECT 4 COD, 0.00001 VALOR FROM DUAL UNION ALL
SELECT 5 COD, 0.000001 VALOR FROM DUAL UNION ALL
SELECT 6 COD, -0.001 VALOR FROM DUAL UNION ALL
SELECT 7 COD, -0.0001 VALOR FROM DUAL UNION ALL
SELECT 8 COD, -0.00001 VALOR FROM DUAL UNION ALL
SELECT 9 COD, -0.000001 VALOR FROM DUAL )
SELECT X.*, TRUNC(ABS(VALOR),5) TRUNCADO, ABS(VALOR)*10000 MULTIPLY
FROM X
WHERE TRUNC(ABS(VALOR),5)>0 should return only cod 1,2,4 and 5
but
COD VALOR TRUNCADO MULTIPLY
1 0,001 0,001 10
2 0,0001 0,0001 1
4 1E-5 1E-5 0,1
6 -0,001 0,001 10
7 -0,0001 0,0001 1
8 -1E-5 1E-5 0,1What is wrong ? -
Replacement for QSIMG, AU015 and XEDT in payroll schema Q000 in ERP 6.0
Hi SAP Gurus,
I am involved in SAP HR upgrade from R/3 4.6c to ERP 6.0 for country AU.
Now, there are three functions - namely QSIMG, AU015 & XEDT - that have become obsolete in payroll schema Q000 in ERP 6.0. Can anyone please let me know what are the replacements for these functions in payroll schema Q000 in ERP 6.0.
How is SAP handling the functionalities of these functions - QSIMG, AU015, XEDT in payroll schema Q000 in ERP 6.0
Any pointers in this regard will be highly appreciated.
Regards,
VivekI`d say contact SAP . I did check following OSS notes , but no-luck !
FYI
1. 0.760 PY-AU 1003724 IT0014 wagetype processed differently in QSIMG and P0014 13.12.2006
2. 0.400 PY-AU 931854 Termination Payment incorrect because of Infotype 14 15.03.2006
3. 0.290 PY-AU 626989 Taxation on Lump Sum Payments as Arrears 27.04.2004
4. 0.570 PY-AU 369575 Termination using delimited infotype 14 records 09.07.2001
5. 0.340 PY-AU 210623 PY-AU: Bonus combined with Adv Pays causing problems 04.07.2000
6. 0.470 PY-AU 208953 PY-AU: WPBPC not working in termination simulation -
Issues with less than and grater than condition in prompts in OBIEE 11g,
Hi all,
i am facing the prombles with less than grater than conditions in OBIEE 11g.
i created two date prompts with presentation variables datefrom and dateto
and i used these prompts in fileters like this using grater than and less than symbol.
filters are as below:
lastupdated date is grater than or equal to @{datefrom}{1/1/1950}
lastupdated date is less than or equal to @{dateto){1/1/1950}
and created two prompts
creation datefrom >=
creation dateto<=
when i passing the dates 05/12/2004 and 05/12/2005 in prompts after clicking the apply button in OBIEE 11g it feches all the records but i need records between these dates. and one more thing is after clicking apply button the two date fields getting the same date..
am i do any thing wrong in the above ???
please let me know friends..
waiting for ur replyyyyyy..
Thanks
Edited by: BI_user on Oct 12, 2011 2:10 AMHi,
Create date prompts with operator as = not >= (or) <= as you need to save that value in presentation variable and you are filtering report using those variable filters.
Regards,
Srikanth -
I hope the title says enough but im going to repeat it,
I have my macbook a couple of months now and there is iTunes on it but when i want to download an app it doesnt appear on my screen is that because the app isnt for MacBook ? And is there an store just for the mac?Apps for your Mac can be found in the Mac App Store which is in your Applications folder.
-
Replacement for package manager and packagekit (Gnome)
Hello everyone,
following up to https://bbs.archlinux.org/viewtopic.php?id=191276 (removal of packagekit to be able to upgrade pacman to 4.2), and given the fact that packagekit had been flagged deprecated for quite some time,
does anyone have a suggestion for a desktop replacement for gnome-packagekit?
Thanks in advanceFor GTK based environment I use pamac-aur. Simple packet manager, update manager and update notifier (in fact for update notification I use aarchup with systemd timer scheduling)
-
Guide me for exporting and importing data from oracle 10g to oracle 9i
I have been trying export and import options in oracle but m not very clear about the procedure..
Also when i am logging in as Scott/tiger i am facing an error
ORA 1542 - tablespace 'USER' is offline and cannot allocate space in it.how to resolve itHello,
I see two questions.
ORA 1542 - tablespace 'USER' is offline and cannot allocate space in it.how to resolve it About the error ORA-01542 you have to bring the Tablespace USERS online:
http://www.error-code.org.uk/view.asp?e=ORACLE-ORA-01542
If you cannot bring it online you may have to Recover it first.
I have been trying export and import options in oracle but m not very clear about the procedure..About the Export in 10g and Import in 9i (9.2 or 9.0.1 ?), you have to export with the Export utility of the Target Database (the lowest Database version here: 9.0.1 or 9.2) then, you have to Import to the Target Database using its Import utility (in 9.0.1 or 9.2).
The following Note of MOS may guide you:
Compatibility Matrix for Export And Import Between Different Oracle Versions [Video] [ID 132904.1]
NB: You cannot use here the DATAPUMP.
Hope this help.
Best regards,
Jean-Valentin
Maybe you are looking for
-
Notification in reference to Purchase order
Hello, I have a problem, am not use to a Purchased order, am creating a Notification (QM01) with notification type (Complaint against Vendor) with this am entering the Purchased order and its material document of goods movement this order was created
-
How to Resolve Parse Errors in Universe
Dear All, Integration of Business objects with SAP BI Solutions have opened up a large visibility for the customers in viewing their organizational data in several forms. Thanks to the Integration kit for SAP Solutions. Coming to my problem. We have
-
How do we clone a database from RAC/ASM to RAC/ASM?
Is there a best practice or recommended recipe for cloning from a RAC/ASM instance to another RAC/ASM instance? We've done single instance cloning in the past with RMAN and it looks like grid control does something similar -- until we try to clone fr
-
TS1702 downloaded film from itunes onto 4s it says downlowned how do u play on phone
downloaded movie from itunes on my 4s,says downloaded, doesnt say it in my purchased , how do i watch movie
-
Is the Adobe Photoshop CS6 beta available in other languages?
I want to translate language of Adobe Photoshop CS6 from English to Thai. But I don't know about translation files. Wh oknow about translation. Please tell me. Thank you.