TRUNC() giving wrong data in different versions of Oracle DB
Hi All,
I have two oracle data base versions. I need to insert into one temp table with select statement. When i use the same query in both environment am getting different results. Can you please help me on that.
Version:1
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
Version: 2
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Productio
NLSRTL Version 10.2.0.5.0 - Production
Query we used:
insert into my_temp_table
select v_name,trunc(d_charge_date)
from table1;
my_temp_table structure:
v_name varchar2(30),
d_charge_date date;
Note: Date columns represented with mm/dd/yyyy format....
in table1 i have data like this....
v_name
d_charge_date
xxx
12/2/2012
yyy
10/23/2010
abc
9/29/2013
after the insertion into temp table am getting the result like below...
select * from my_temp_table;
If i run this query in version 1 am getting the correct data..
v_name
d_charge_date
xxx
12/2/2012
yyy
10/23/2010
abc
9/29/2013
but if i run the same insert query in version 2 getting the wrong data
v_name
d_charge_date
xxx
12/2/2011
yyy
12/2/2011
abc
12/2/2011
If i remove the trunc from the insertion statement i didn't get the wrong data like above...
I don't know the exactly reason. So can you please help me to identify this cause...
Hi i think the global temporary table having this issue in version b what i have mentioned above.
insert into /*+append*/global_temporary_temp
(v_policy_no,n_seq_no,d_next_chgdue_date,v_charge_freq,v_cntr_stat_code,v_iu_au_base,d_cntr_start_date)
select distinct a.v_policy_no,a.n_seq_no,trunc(a.d_next_chgdue_date),a.v_charge_freq,b.v_cntr_stat_code,c.v_iu_au_base,b.d_cntr_start_date
from table_a a,table_2 b,table_3 c
where a.v_status = 'A'
and a.v_charge_freq is not null
and trunc(a.d_next_chgdue_date) <= trunc(sysdate)
and b.v_cntr_stat_code in ('NB010')
and a.v_policy_no = b.v_policy_no
and a.n_seq_no = b.n_seq_no
and a.v_plri_code = c.v_plan_code
and a.v_parent_event_code = c.v_parent_event_code
and a.v_charge_pcode = c.v_charge_pcode
and a.v_charge_code = c.v_charge_code
Similar Messages
-
Connect by Giving wrong data.
Hello All,
can somebody describe me the reason that when I run the inner query its giving perfect data but when I run it with by putting it in subquery (Like I mentioned below), It is not giving correct data and taking huge time. I really dont understand the logical reason of it as whatever inner query is giving data ,I should get the same in below mentioned query.
Can somebody help me?
SELECT * FROM (
SELECT distinct PROJECT_NUMBER,
BOM.ASSY_ITEM,
BOM.ASSY_ITEM_DESCRIPTION,
BOM.COMP_ITEM,
BOM.COMPONENT_ITEM_DESC,
BOM.QUANTITY BOM_QUANTITY,
BOM.INVENTORY_ITEM_STATUS_CODE,
SOL.PRODUCT_NUMBER SOL_ITEM,
SOL.QTY_ORDERED,
BOM.BOM_STRUCTURE,
SOL.SHIP_FROM_WAREHOUSE_ID,
SOL.ORGANIZATION_ID,
BOM.WAREHOUSE_ID,
BOM.WAREHOUSE_CODE
FROM (SELECT PT.TASK_NUMBER TASK_NUMBER,
OOL.INVENTORY_ITEM_ID,
OOL.ORDERED_ITEM SOL_ITEM,
OOL.QTY_ORDERED,
SHIP_FROM_WAREHOUSE_ID,
PPA.SEGMENT1 PROJECT_NUMBER,
MSI.PRODUCT_NUMBER,
OOL.ORGANIZATION_ID
FROM JAROSODS.OE_ORDERLINES_DET OOL,
JAROSODS.TASK_MAS PT,
JAROSODS.PROJECT_MAS PPA,
JAROSODS.ITEMWAREHOUSE_MAS MSI
WHERE PT.TASK_ID = OOL.TASK_ID AND PT.PROJECT_ID = PPA.PROJECT_ID AND
OOL.PROJECT_ID = PPA.PROJECT_ID AND
MSI.ITEMWAREHOUSE_KEY = OOL.ITEMWAREHOUSE_KEY AND
OOL.MD_SOURCE_SYSTEM = 1 AND PT.MD_SOURCE_SYSTEM in (0, 1) AND
PPA.MD_SOURCE_SYSTEM in (0, 1) AND
MSI.md_source_system in (0, 1)
AND MSI.PRODUCT_NUMBER IN ('1')
AND OOL.ORGANIZATION_ID IN ('1')
AND OOL.SHIP_FROM_WAREHOUSE_ID IN (OOL.SHIP_FROM_WAREHOUSE_ID)
) SOL,
(SELECT LEVEL,
MSIT.PRODUCT_NUMBER ASSY_ITEM,
MSIC.PRODUCT_NUMBER COMP_ITEM,
MSIT.WAREHOUSE_ID ORG_ID,
MP.WAREHOUSE_ID,
MP.WAREHOUSE_CODE,
MSIC.INVENTORY_ITEM_ID,
SUBSTR(MSIT.PRODUCT_NUMBER,
INSTR(MSIT.PRODUCT_NUMBER, '-', 1, 3) + 1) TASK_NUMBER,
--bic.COMPONENT_QUANTITY,
LPAD(' ', 8 * LEVEL) || MSIT.PRODUCT_NUMBER || ' ---> ' ||
MSIC.PRODUCT_NUMBER BOM_STRUCTURE,
BIC.QTY_COMPONENT QUANTITY,
MSIC.INVENTORY_ITEM_STATUS_CODE,
MSIT.ITEM_LONG_NAME ASSY_ITEM_DESCRIPTION,
MSIC.ITEM_LONG_NAME COMPONENT_ITEM_DESC
--msiC.description Component_item_desc
from JAROSODS.MFG_BOMBILLOFMATERIALS_DET bom,
JAROSODS.MFG_BOMINVCOMP_DET bic,
JAROSODS.itemwarehouse_mas msit,
JAROSODS.itemwarehouse_mas msic,
JAROSODS.WAREHOUSE_MAS mp
where 1 = 1 and msit.inventory_item_id = bom.ASSEMBLY_ITEM_ID and
msit.warehouse_id = bom.warehouse_id and
msic.inventory_item_id = bic.COMPONENT_ITEM_ID and
msic.warehouse_id = msit.warehouse_id and
mp.warehouse_id in (mp.warehouse_id) AND
bom.common_BILL_SEQUENCE_ID = bic.BILL_SEQUENCE_ID AND
mp.warehouse_id = msic.warehouse_id
--AND mp.warehouse_key = msic.itemwarehouse_key
and level in ('2') AND--------------------------------------------------parameter
TRUNC(SYSDATE) BETWEEN TRUNC(bic.effectivity_datetime) AND
NVL(TRUNC(bic.disable_datetime), TRUNC(SYSDATE))
start with msit.PRODUCT_NUMBER like ('%700433%')------------------------------parameteR
connect by prior bic.component_item_id = bom.assembly_item_id and
bom.md_source_system = 1 and bic.md_source_system = 1 and
msit.md_source_system in (0, 1) and
msic.md_source_system in (0, 1) and
mp.md_source_system in (0, 1)) BOM
WHERE BOM.INVENTORY_ITEM_ID = SOL.INVENTORY_ITEM_ID(+) AND
BOM.TASK_NUMBER = SOL.TASK_NUMBER(+) AND
BOM.ORG_ID = SOL.SHIP_FROM_WAREHOUSE_ID(+))ok
-
Oralce query giving wrong data
Hi all oracle experts :
in oracle backend ( LOV ) user is selecting 'long text' instead of 'short text' and as a result user is getting wrong data Ship_To_Adress ( column ). here what i need is :
Upon data is coming from Long_Text table - it should not bring the wrong data Ship_To address.. It should give no value on the report.
feasibility of modifying query to maintain two Scenarios - Irrespective of Long or Short text - User should not give wrong 'Ship To' address on the pick ticket.
please go through the following query and make necessary changes. thanks in advance for your precious time valuable advice
looking the feasibility of modifying query to maintain two Scenarios - Irrespective of Long or Short text - User should not give wrong 'Ship To' address on the pick ticket.
Thanks in advance
Shiva
SELECT
wpsv.pick_slip_number "Pick Slip #",
wdd.source_header_number "Sales Order #" ,
wdd.source_line_number "Sales Order Line #" ,
nvl(round(ool.unit_selling_price,2),0) "unitsell price" ,
(nvl(round(ool.unit_selling_price,2),0))*nvl(wpsv.primary_qty,0) "Extended sell rice",
'*'||wpsv.transaction_id||'*' "Task ID" ,
wpsv.transaction_id "Task ID#" ,
msi.segment1 "Item",
msi.description "Item Description",
msi.segment1 || ' - ' ||msi.description "Item - Description",
wdd.requested_quantity_uom "UOM",
wdd.serial_number "Serial #",
wnd.delivery_id "Delivery#",
wpsv.from_subinventory "Pick from Sub-inventory",
wpsv.from_subinventory || ' - ' ||
SELECT
segment1||'.'||segment2||'.'||segment3||'.'||segment4
FROM
INV.MTL_ITEM_LOCATIONS
WHERE
inventory_location_id = DECODE(msi.reservable_type,2,wdd.locator_id,wpsv.from_locator_id)
) "Pick From",
SELECT
segment1||'.'||segment2||'.'||segment3||'.'||segment4
FROM
INV.MTL_ITEM_LOCATIONS
WHERE
inventory_location_id = DECODE(msi.reservable_type,2,wdd.locator_id,wpsv.from_locator_id)
) "Pick from Location",
wpsv.to_subinventory "Deliver to Sub-inventory",
select
segment1||'.'||segment2||'.'||segment3||'.'||segment4
from
inv.mtl_item_locations
where
inventory_location_id = wpsv.to_locator_id
) "Deliver to Location",
wpsv.primary_qty "Quantity to be Picked",
party.party_name||CHR(10)||
DECODE(ship_loc.address1, NULL, '',ship_loc.address1||CHR(10))||
DECODE(ship_loc.address2, NULL, '',ship_loc.address2||CHR(10))||
DECODE(ship_loc.address3, NULL, '',ship_loc.address3||CHR(10))||
DECODE(ship_loc.address4, NULL, '',ship_loc.address4||CHR(10))||
DECODE(ship_loc.city, NULL, NULL, ship_loc.city || ', ') || DECODE(ship_loc.state, NULL, NULL, ship_loc.state || ', ') || DECODE(ship_loc.postal_code, NULL, NULL, ship_loc.postal_code || ', ') || DECODE(ship_loc.country, NULL, NULL, ship_loc.country) SHIP_TO_ADDRESS,
NVL(h.shipping_instructions, '-') shipping_instructions,
NVL(h.shipment_priority_code,'-') shipment_priority_code,
NVL(OL.MEANING,'-') "Freight Terms",
NVL(FLV.meaning, '-') shipping_method,
NVL(QQA.quote_attachment, '-'),
RSA.name,
NVL(h.packing_instructions, '-') packing_instructions,
NVL(H.CUST_PO_NUMBER,'-') customer_po#
FROM
apps.oe_order_lines_all ool,
APPS.WSH_PICK_SLIP_V WPSV,
WSH.WSH_DELIVERY_DETAILS WDD,
INV.MTL_SYSTEM_ITEMS_B MSI,
WSH.WSH_DELIVERY_ASSIGNMENTS WDA,
WSH.WSH_NEW_DELIVERIES WND,
APPS.ORG_ORGANIZATION_DEFINITIONS ORG,
WMS.WMS_DISPATCHED_TASKS WDT,
APPS.OE_ORDER_HEADERS_ALL H,
APPS.HZ_CUST_SITE_USES_ALL SHIP_SU,
APPS.HZ_PARTY_SITES SHIP_PS,
APPS.HZ_LOCATIONS SHIP_LOC,
APPS.HZ_CUST_ACCT_SITES_ALL SHIP_CAS,
APPS.HZ_PARTIES PARTY,
APPS.FND_LOOKUP_VALUES FLV,
APPS.OE_LOOKUPS OL,
SELECT
OOH.header_id,
MAX(DECODE(rownum,1, FDST.short_text, ''))||CHR(10)||CHR(10)||MAX(DECODE(rownum,2, FDST.short_text, ''))||MAX(DECODE(rownum,3, FDST.short_text, ''))||CHR(10)||CHR(10)||MAX(DECODE(rownum,4, FDST.short_text, '')) quote_attachment
FROM
APPS.FND_ATTACHED_DOCUMENTS FAD
, APPS.FND_DOCUMENTS_TL FDT
, APPS.FND_DOCUMENTS_SHORT_TEXT FDST
, APPS.FND_DOCUMENTS FD
, APPS.FND_DOCUMENT_CATEGORIES_TL FDC
, APPS.OE_ORDER_HEADERS_ALL OOH
, APPS.ORG_ORGANIZATION_DEFINITIONS OOD
WHERE
OOD.organization_id =?Organization ? AND
OOH.ORDER_NUMBER = ?SO#? AND
OOH.org_id = OOD.operating_unit AND
TO_CHAR(OOH.header_id) = FAD.pk1_value AND
FAD.document_id = FDT.document_id AND
FAD.entity_name = 'OE_ORDER_HEADERS' AND
FDT.media_id = FDST.media_id AND
FDT.language = 'US' AND
FAD.document_id = FD.document_id AND
FD.category_id = FDC.category_id AND
FDC.language = 'US' AND
FDC.user_name ='APS_Pack/AR Invoice/CI/SO Ack Printing'
GROUP BY
OOH.header_id
) QQA
, APPS.RA_SALESREPS_ALL RSA
WHERE
wpsv.move_order_line_id =wdd.move_order_line_id AND
(wdd.source_header_number = ?SO#? ) AND
wdd.inventory_item_id = msi.inventory_item_id(+) AND
wdd.organization_id = msi.organization_id(+) AND
wdd.delivery_detail_id = wda.delivery_detail_id AND
wda.delivery_id = wnd.delivery_id(+) AND
wdd.organization_id = org.organization_id AND
wdt.TRANSACTION_TEMP_ID(+)=wpsv.transaction_id AND
wdt.organization_id (+) =?Organization ? AND
wdd.organization_id =?Organization ? AND
wdd.source_header_number = h.order_number AND
h.salesrep_id = RSA.salesrep_id(+) AND
h.org_id = RSA.org_id(+) AND
h.org_id = org.operating_unit AND
SHIP_PS.party_id = PARTY.party_id(+) AND
H.ship_to_org_id = SHIP_SU.site_use_id(+) AND
SHIP_SU.cust_acct_site_id = SHIP_CAS.cust_acct_site_id(+) AND
SHIP_CAS.party_site_id = SHIP_PS.party_site_id(+) AND
SHIP_LOC.location_id(+) = SHIP_PS.location_id AND
H.shipping_method_code = FLV.lookup_code(+) AND
FLV.lookup_type(+) = 'SHIP_METHOD' AND
FLV.language(+) = 'US' AND
QQA.header_id(+) = TO_CHAR(H.header_id) AND
wpsv.line_status = 'UNPICKED' AND
H.FREIGHT_TERMS_CODE=OL.LOOKUP_CODE(+)
AND OL.LOOKUP_TYPE(+) ='FREIGHT_TERMS' AND
OOL.header_id = wdd.source_header_id(+) AND
OOL.line_id = wdd.source_line_id(+) AND
EXISTS(
SELECT
'Y'
FROM
INV.MTL_ONHAND_QUANTITIES_DETAIL OHQ
WHERE
WDD.inventory_item_id = OHQ.inventory_item_id AND
WDD.organization_id = OHQ.organization_id AND
WPSV.from_subinventory = OHQ.subinventory_code
GROUP BY
'Y'
HAVING
SUM(transaction_quantity) >0
ORDER BY
2, 11, 12, 6, 3Thank you very much indeed for your reply - yes youre right. in oracle backend there are dropdown selections : 1) short text and 2) long text. as per the table user has to select short text so that he will get the correct output , but if by mistake user selects long text then the table is pulling wrong data. so here we need the query to be changed if user selects long text report shouldnt show any data..
i am not sure but as per my little knowledge in oracle i believe that the problem is lying in the folloiwng query line.. please help me out in this regard. i have a screen shots of oralce backend where user is selecting long text / short text but here theres no option of inserting the files...
DECODE(ship_loc.address1, NULL, '',ship_loc.address1||CHR(10))||
DECODE(ship_loc.address2, NULL, '',ship_loc.address2||CHR(10))||
DECODE(ship_loc.address3, NULL, '',ship_loc.address3||CHR(10))||
DECODE(ship_loc.address4, NULL, '',ship_loc.address4||CHR(10))||
DECODE(ship_loc.city, NULL, NULL, ship_loc.city || ', ') || DECODE(ship_loc.state, NULL, NULL, ship_loc.state || ', ') || DECODE(ship_loc.postal_code, NULL, NULL, ship_loc.postal_code || ', ') || DECODE(ship_loc.country, NULL, NULL, ship_loc.country) SHIP_TO_ADDRESS,
Thank you very much once again
Shiva -
Issues with different versions of Oracle.DataAccess.dll
I have a .net web service application which references version 10.2.0.100 of Oracle.DataAccess.dll. A client has setup Oracle 10g database on the server, but I think the server has a patch set installed so it appears that the versions of Oracle.DataAccess.dll in my web service and on the database server do not match. When I issue a query via the web service on my local machine using my oracle 10g client, the web method returns the correct data. If I issue the same query using the same .net web service on the clients database server, I get the following error: Oracle.DataAccess.Client.OracleException: ORA-00923: FROM keyword not found where expected. There's nothing wrong with the query syntax, I can run the same query from SQL Plus on the database server and get the correct data. Could it be a compatibility issue between the Oracle.DataAccess.dll referenced in my web service application and the file on the sever. I'm not sure what else to look for, any advice is greatly appreciate, and I can answer any questions if needed.
Thanks,
NAI would not expect an ORA-923 if your the Oracle client was not installed properly. I would expect an exception or a crash.
You can run an ODP.NET trace to find out what query is getting the ORA-923 by doing the following:
1) Shutdown web server on the machine that runs the webservice (middle tier),
2) In windows registry, on the machine that runs the webservice (middle tier), change registry value \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ODP.NET\4.112.1.1\TraceLevel to 1
3) Reproduce the ORA-923 only
4) shutdown webserver
5) Undo the registry value (set it back to 0)
6) In the generated file (c:\odpnet2.0.trc) do a search for "923", hopefully you can find it. Just before that error, you should see the SQL that was executed. This will obviously not be what you expect and will hopefully point you to the cause of the problem. -
Usage of different versions of Oracle Server?
Is there any studies about percentage of usage of different Oracle Server versions available on the net?
In summary, is it possible to have different versions of NW Java running on the same machine? If so, what is the best practice and process for installing the new NW instance?
Yes, it is possible. You need to make sure that the hardware has sufficient resources (CPU, RAM, Disk space, etc) to accommodate a new instance, the system numbers and SID's are unique and the OS and DB are supported for the new system.
Regards
RB -
Installing different versions of Oracle on the same server
We have a client that is currently on Oracle version 9.2.0.3. There is a project beginning that will have them upgrading to either 10g or 11g(still tbd). The project will have this happening in different steps. Therefore, we will need to continue to have the 9.2.03 db up and available while certain accounts are being migrated to the newer version.
Question is - can you install 2 versions of Oracle on the same server without any issues?
Or would we be better off purchasing a separate server to install 10g or 11g.Depending on the OS certification you should be able to run both. You'll probably have to patch up the OS though. One of my servers has 3 different Oracle homes (9.2.0.5 - 10.2.0.2).
You can check the certification by clicking on the certify tab in metalink. -
CS3/CS4 - Persistent data and different versions of plugin
Hi there,
In my plugin I have persistent data on e.g., the document and page items.
Say that I'm in version 1.0 of my plugin has a single persistent data field on the document, and that is wish to add a second field for version 1.1.
Does the SDK contain some form of functionallity for merging an old document into a new one that conform with the new fields?
Basically, my problem is that I do not know if I'm allowed to read the new persistent field in my ReadWrite function, since the current document could be created using version 1.0.
I guess that one solution is to tag the document with a version, and use that to determine the functionality of the ReadWrite function? However that do not seem as the most elegant solution...
I hope somebody understands my problem, and has a more sophisticated solution
Thanks
Kind regards TokeThere are basically two ways to deal with this situation.
The first is to let InDesign treat your data as a blob, include your own version number in the blob and parse the blob yourself based on the version number. In this scenario you generally keep your plug-in's version resources the same, so InDesign doesn't know you've changed data formats.
The second is the InDesign way, in that you define a schema resource for each format version of your plug-in. Doing this places constraints on your data, in that changes have to be moderately simple so that InDesign can apply changes to the older versions of your data to bring them up to the current schema.
See Schema.fh in the SDK.
The sample /Adobe_InDesign_CS4_Products_SDK/source/sdksamples/framelabel/FrmLbl.fr also uses schema resources.
The key is to be careful about syncing changes in your data with changes to your plug-in's format version numbers, as well as keeping your data simple enough for the schema system to update it. If you don't, then you need to get into schema updating code and a bunch more work.
Jon -
Hello:
I'm using a ADF chooseDate / selectInputDate but i noticed that when i select a day in winter period (30/Oct - 26/Mar) the day comes up minus 1, i.e. if i select 10/March the day it appears on my selectInputDate will be 09/March.
Why and hpw can i correct this?
Thanks.Here is an excerpt of a bug I logged a few months ago:
PROBLEM STATEMENT:
Date picker for af:selectInputDate (Calendar) doesn't return the correct date
under certain conditions:
- when the current date is outside the Daylight Saving time
(called "Summer Time" in Europe)
- when the Time Zone of the PC is set to GMT
- when the date that's selected in the Calendar is between the 1st of April
and the 31st of October
For example, suppose you're the 1st of March in GMT Time Zone and that you
select 01-APR-2006 in the calendar:
31-MAR-2006 will be returned.
Also, the next time you open the Calendar, the date - 1 day is selected in
the Calendar.
For example, if you open the calendar on a selectInputDate with value
31-MAR-2006, the calendar will display 30-MAR-2006 as the selected date.It seems it's your problem - could you confirm (what's your time zone) ?
The bug is fixed in JDeveloper 10.1.3.1 (not yet available).
In case you have access to MetaLink, the bug reference is 5125718 - DATEPICKER (SELECTINPUTDATE) RETURNS A ONE HOUR DIFFERENT DATE
Regards,
Didier. -
Iphoto date change giving wrong date
When I try to change the date of a scanned photo I get a strange and incorrect date in response.
For example if I put in 25/01/1985 I get a return date of 12/11/573. Each time I try to input the correct date the return date is earlier and earlier.
I have tried changing the file date through terminal. I have tried resetting the system date but the changed photo date still won't move to the one I input.
Does anyone know how to fix this?
Cheers
PaulHi
Yep that is where I made the previous changes. I went back there and reset everything to default settings. I also went into the Date and Time pane and changed automatic time, date and zone settings on and off, trying various combinations. But no joy. The photo date won't accept the one I give it.
This is really annoying. I am otherwise very happy with the Mac. Such a shame that a part of the iPhoto functionality is ruined by this. I was looking forward to having my photos in chronological order.
Oh well. Hopefully Apple will do something to fix the issue soon.
Thanks for trying to solve it anyway.
Regards
Paul -
Report is giving wrong data for a material
Hi Gurus,
The labor cost direct for a material has to be a 0.21 but it is showing -2.1 for that particular material. This is a custom report(its a Z report). . This report is also used for filing for US customs for materials import and export.
Can anyone please suggest their ideas in changing the direct labor cost for that particular material.
Thanks,
Kiran
Edited by: Kumar&kumar on Nov 2, 2010 2:09 PMhi
good
NEW-PAGE PRINT ON should be work in the background also,check your syntax with the below syntax,if still it is going to the different printer in the background than check with the configuration setting of printer for the particular report that you r printing,sometime it happens that even in the foreground the correct printer ideanfies but in the background that same printer didnt identify.
NEW-PAGE PRINT ON
NEW-SECTION
PARAMETERS pripar
ARCHIVE PARAMETERS arcpar
NO DIALOG.
DO 440 TIMES.
WRITE (3) sy-index.
ENDDO.
NEW-PAGE PRINT OFF.
ENDFORM.
thanks
mrutyun^ -
Connecting to different versions of Oracle from XI
I am using XI JDBC Reciever Adapter. In our landscape we have an external non SAP Oracle Application that works on Oracle 920 and another external non SAP Oracle App that works on Oracle 817. How can I specify in the JDBC Adapter to use a different Oracle client depending on the system I want to connect to.
Regards
MikeHi,
I think it is possible with JDBC Reciever Adpater Parameters like connection and Drivers..
http://help.sap.com/saphelp_nw2004s/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm.
I did not try this.
BTW
But are you thinking about integrating with Oracle applications? If so you can not use JDBC adapter right ? because JDBC adapter is for Database connection. If it is an Oracle application, then you need to either go for Webservices or Oracle Application Adapters i.e 3rd party adapters .
Hope this helps,
Regards,
Moorthy -
Dblink between different version of oracle databases
Hi Oracle Database Gurus
Is it possible to create a database link between 10.x and 11.x oracle database.
Could somebody pinpoint a passage of oracle documentation connected with that topic.
Regards
Zibizibi wrote:
OK thanks, but is there a documentation where we can find some constraints ???
ZibiRemember that there is nothing "magic" or special about dblinks. When using the link, the database in which the link is defined (source) is just another client to the target of the link. It uses all of the same tns pieces, and the constraints between versions would be the same as for any other client / database connection. So all you need to reference are the standard docs on what client versions are compatible with what db versions. Nothing special for the dblink. -
Need to puchase seperate license for different versions of ORACLE
Hi,
My client wants to install Oracle 10G & Oracle 11G.
Does he have to puchase 2 license seperately for each of ORACLE versions?
Any prompt response would be highly appreciated!
Regards,
GeetanjaliThe caveat before accepting licensing advice from some random fella on the internet: It should always be confirmed by contacting Oracle sales.
The main question is probably whether the client intends to install both versions on the same hardware or on separate hardware. One hardware = one license. Separate hardware = separate licenses. -
Differences between different versions of Oracle Database 10 g
I have some questions about the Oracle Database 10g Release 2 that we download from Oracle web site.
1)Does the software that we download from Oracle web site is similar to Enterprise Edition or Standard Edition or Standard Edition One or to which edition? In other words, similar to which edition?
2)What are the differences between Enterprise, Standard, and Standard Edition one?
3)Are they any features included in the licensing Oracle Database that does not include in the free one that we download from Oracle web site?The dowloaded software contains every of the four editions. You choose which edition you want during the installation process.
The differences and extra-cost options are described in this paper on OTN
http://www.oracle.com/technology/products/database/oracle10g/pdf/twp_general_10gdb_product_family_0605.pdf -
Standby database on different version than prod.
Is it possible to have a standby database running on a different version of Oracle than the production database?
In this case I have production DB on the following version:
7.3.4
8.1.7.4.0
9.2.0.4.0
9.2.0.6.0
Would it be possible to run the a stand by DB in 10g?From the docs posted previously, which you clearly didn't read
Oracle Data Guard is available only as a feature of Oracle Database Enterprise Edition. It is not available with Oracle Database Standard Edition. This means the same release of Oracle Database Enterprise Edition must be installed on the primary database and all standby databases in a Data Guard configuration.
Rhetorical question: Now what would same release mean?
Sybrand Bakker
Senior Oracle DBA
Maybe you are looking for
-
Looking for a customizable, shared checklist app
Im an HVAC contractor and Im looking for a "checklist" type app that will allow me to update the status of my quarterly service contracts in real time. Must be able to share this info in real time to all my techs as well as be customizable so that I
-
Premiere Markers export and import: Roundtrip via FCP XML not working
The objective of my project is to create a sports app that records markers and saves it in different formats of XML / CSV that I can then import in different NLE packages. I have already succeeded with Vegas Pro but also want to support NLEs for MAC-
-
Reg. Fetch ESI(Employee State Insurance) Amount in HR report
Hi All, How to fetch ESI Amount in HR report. Thks
-
Hello Gurus, Good Morning everybody, I need some information about reports. I want to make some fields mandatory in ME2M and MCSI. If it is possible? It is possible kindly guide step by step. Reg/ Shankar G.
-
Call method from another class instance
Forgive me if I don't make sense, I'm relatively new to Java and still not up on all the lingo. So here's what I want to do... This is probably easier explained with code: ParentClass.java public class ParentClass { public static void main(Strin