DB Link between Oracle 10g and Oracle 9i for CLOB data type
How do I transport XMLType or CLOB from oracle 9i to Oracle 10G using DBLink?
Is any restrction to DBLink, while transfering CLOB with XML data from oracle 9i to Oracle 10G?
Please let me know how i resolve this issue.
Thanks in advance.
DK
Well... it depends on what type of link you wish to create.
If you have same user with same password on both databases (9i and 10G), then you can create a public database link as
CREATE PUBLIC DATABASE LINK dblink USING 'dbalias';
Note: dbalias is the value from your TNSNAMES.ORA. The database from which you are creating the db link has to have the entry in TNS for other database.
Other method is to create a private db link
CREATE DATABASE LINK dblink CONNECT TO user IDENTIFIED by pwd using 'dbalias';
The number of open connections from a particular database is governed by init parameter DB_LINKS (this was in 8i.. not sure about higher versions)
HTH...
Message was edited by:
satishkandi
Similar Messages
-
What are the major differences between oracle 10g and oracle express 10g
Hi
Can anyone tell, What are the major differences between[b] oracle 10g and oracle express 10g.
Or if you know any URL, then please do let me know.
Advance Thanks
JCDear sir,
here it is.
http://www.oracle.com/database/product_editions.html -
Will Oracle 10g and Oracle XE happily co-exist on same machine?
I can't seem to find anything specifically saying that Oracle 10g and Oracle XE can be installed on the same Windows machine. The only reason I'd want to do this is that I originally had the free version on my Windows machine. The uninstaller nevers seems to run a complete job and always leaves bits over. So I'd like to install Oracle 10g alongside Oracle XE.
Wondered if anybody had done this already?to uninstall Oracle, do the following:
1. Uninstall all Oracle components using the Oracle Universal Installer (OUI).
2. Run regedit.exe and delete the HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE key. This contains registry entires for all Oracle products.
Delete any references to Oracle services left behind in the following part of the registry:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Ora*
It should be pretty obvious which ones relate to Oracle.
4. Reboot your machine.
5. Delete the "C:\Oracle" directory, or whatever directory is your ORACLE_BASE.
6. Delete the "C:\Program Files\Oracle" directory.
7. Empty the contents of your "c:\temp" directory.
8. Empty your recycle bin.
At this point your machine will be as clean of Oracle components as it can be.
Remember, manually editing your registry can be very destructive and force an OS reinstall so only do it as a last resort. -
Link Between Oacle Payroll and Oracle Payables
Hi,
We have installed Oracle Payroll and OraclePayable.
I would like to know the link between Oracle Payroll and Oracle Payable i.e. If i run a Payroll process, does the same affect a Cheque Payment that i can see in Oracle Payable?
Can the same Payment format be used by Payroll and Payable?
If i use International HRMS, can i reconcile Payroll with Cash Management, as the GL Cash account field is not enabled for International HRMS on the Organisation Payment method screen?
Thanks in Advance.
Regards,
Anish DanielHi,
We have installed Oracle Payroll and OraclePayable.
I would like to know the link between Oracle Payroll and Oracle Payable i.e. If i run a Payroll process, does the same affect a Cheque Payment that i can see in Oracle Payable?
Can the same Payment format be used by Payroll and Payable?
If i use International HRMS, can i reconcile Payroll with Cash Management, as the GL Cash account field is not enabled for International HRMS on the Organisation Payment method screen?
Thanks in Advance.
Regards,
Anish Daniel -
ORACLE 10g and ORACLE 9i on same machine
Hi All,
I want to install oracle 10g and oracle9i database on same windows machine.
As far as i know i have install oracle10g and 9i on different oracle_home.
Any thing is required.
Regards,
Umairumair,
Install 9i into an ORACLE_HOME.
Install 10g into an other ORACLE_HOME.
Nothing more is required, only the Oracle requirements for each version.
Your attention when you will connect, set always the good ORACLE_HOME before connection.
Nicolas. -
Link between process order and sales order for planning strategy 52
Hello,
I investigate the possibility of a link between "sales order" and "planned order / process order" for the usage of planning strategy 52 (planning w/o final assembly, make to stock).
I know, this is not conform to the basics of planning strategies (EITHER make to order OR make to stock) and I suspect it would be a modification. Of course we have the alternative "make to order" - strategy 50, but we do not want to use individual customer stocks.
Is anybody there with similar customer requirements or project experiences?
Thanks in advance,
Joerg
Message was edited by:
Jörg DemtschukHi Jorg,
To my understanding if you need hard pegging then in SAP only Individual requirement is possible.
Or else you need to create a custom transactions/table to identify Sale order and when ever a process order is created by selecting the sale order record, the process order detials should also get updated against that.
You need to take the help of ABAP expert for this,
Regards,
Prasobh
Reward points if this was useful -
Xpath difference between Oracle 10g and Oracle 11g
All,
I'm working on moving our existing stored functions from Oracle 10g (10.2.0.4.0) to Oracle 11g (11.2.0.1.0) and so far, everything has worked just fine on Oracle 11g...execpt for one xpath statement.
The statement below works fine in Oracle 10g (10.2.0.4.0):
extractValue(inv_dtl_img, '/service//ground/sortKeyCode') AS "srt_key_cd",
Please note: I need to use the double slash "//" in order to ignore the two different elements in the schema.
However, in Oracle 11g (11.2.0.1.0), when this statement is executed in the stored function, I get this:
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected - got -
The extractValue command is pulling data out of an XMLType column, and the corresponding XML schema looks like:
<service>
<trans>
<ground>
<sortKeyCode>
</sortKeyCode>
</ground>
</trans>
<nontrans>
<ground minOccurs=0>
<sortKeyCode>
</sortKeyCode>
</ground>
</nontrans>
</service>
Please note: In the XML message, the "trans" and "nontrans" elements are exclusive, so both will never be populated at the same time. A typical XML message would look like this:
<service><trans><ground><sortKeyCode>3</sortKeyCode></ground></trans></service>
or this:
<service><nontrans><ground><sortKeyCode>5</sortKeyCode></ground></nontrans></service>
In the schema, the sortKeyCode has been defined in both places as "string maxlen=3", so the datatype of that element is exactly the same in both the "trans" and "nontrans" sections of the schema. The only difference in the schema (outside of the trans and nontrans tags) is the fact that the second "ground" tag is defined with a "minOccurs=0". Could Oracle 11g be treating the schema differently than Oracle 10g, resulting in the error?
Any thoughts would be appreciated.The only way to get an quick answer to that one is to file a service request with Oracle support. It could be a bug or a correct change regarding W3C behavior. Despite this, you moving to 11.2, the extract/extractvalue etc propriety Oracle solutions are deprecated from 11.2 and onwards. The more sensible way to move forward, although, I know more work intensive, is to apply the XQuery alternatives like xmlexist, xquery or xmltable functions.
Moving to EXTRACT is a bad idea, because this alway will be treated as an XML fragment. If you unlucky then Oracle will deal with this in memory via DOM (the standard solution regarding XML parsing if every smart thing within Oracle can not be applied) and this will result in a performance downgrade due to high CPU and Memory consumption/overhead...
Your pick... -
Difference between Oracle 10g and Oracle 11g when using Distinct in SQL
Hi All,
When I use Distinct in Oracle 10g, the result would be sorted in ascending order automatically, while there is no sorting in the result set in Oracle 11g.
I was using plsql developer to run my sql.
May I know if anyone have the same experience before?
Is there any kind of setting in 11g that I can make the result in order? Thanks!
Edited by: user5810051 on 2011/4/6 下午 8:47As acadet says, if you want your result ordered you must specify an ORDER BY clause in your query. Just because previous versions of oracle included some ordering as part of the processing of a query, that was not a guaranteed ordering, but just a side-effect. Now that Oracle have improved the internal workings, they've removed the side-effect, and that's why you're not getting the ordering you want, because you were relying on that side-effect rather than explicitly stating the order you wanted.
-
Installing Oracle 10G and SQL Developer for Windows 7 Home Premium
Hi Folks,
I need your helping me in getting the correct Database installed for my Windows 7 .
Can you please help me out in sending me the correct url for Oracle 10G Database & SQL Developer URL
So i can install both and get on with it...
Thanks ,
satish.puser4789048 wrote:
Hi Folks,
I need your helping me in getting the correct Database installed for my Windows 7 .
Can you please help me out in sending me the correct url for Oracle 10G Database & SQL Developer URL
So i can install both and get on with it...
Thanks ,
satish.pWith the caveat (as already pointed out by Srini in this thread) that no Oracle product has ever been certified on any "home" edition of any version of Oracle ...
If I were looking to download any product, I'd start by going to that company's web site (like, www.oracle.com) and look for a tab or link called "download". I'll bet if you did that, you'd find all sorts of goodies.
But, again, since you are dealing with a "home" edition of Windows, you'll need to start by installing a virtual machine product -- VM Ware's "VMworkstation" or "VMplayer", or Oracle's VirtualBox. Then you can create a virtual machine running a supported OS. Oracle's own Linux (derived from Red Hat Linux) is also free. -
Can Oracle 10g and Oracle 9i coexist and run together in one machine
Dear Friends,
I have installed Oracle 10g on my machine which already had Oracle 9i - 9.1.2.0 Release. Now the problem is that when i try to create a service name it gives me this error- ORA-12514: TNS:listener does not currently know of service requested in connect descriptor. To overcome this what i have done is that i have stopped the Oracle 9i listner and started the Oracle 10g listner, it is working after this but Oracle 9i service stpooed. Does this mean that Oracle 9i & 10g listner can't run together ? Or one has to stop the listner for one version to start another. The port number is same 1521 for both the listner. When i tried to change the port number still the same error comes as described above.
Kindly enlighten me,
Thanks & Regards,
Vinayif you want to configure both listener (oracle 9i and 10g listener)
then u configure
listener9i on 1521 port
and other
listener10g is on 1522 port
also make changes in tnsnames.ora file
as
ora9i =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.16.1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ora9i)
ora10g =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.16.1 )(PORT = 1522))
(CONNECT_DATA =
(SERVICE_NAME = ora10g)
thanks
Kuljeet pal singh -
When will Oracle 10g and 11g PSU for July (quarter) be available?
I've searched Oracle site and result shows Critical Patch Updates (CPU) page only that has release dates: Critical Patch Updates and Security Alerts.
Are the dates applicable to PSU as well?Typically the dates are applicable to PSUs as well - but not necessarily. Pl see Section 3 in this MOS Doc
Patch Set Updates for Oracle Products [ID 854428.1]
HTH
Srini -
Oracle 01g and forms 6i with BLOB Data type
Dear All,
I have upgraded my database from oracle 9i R2 to oracle 10g R2. i have an application developed using oracle forms and reports 6i. this application have a form where it stores and retirive an image from the database, this image is stored in a table with a BLOB data type, it was being retrieved fine until we did the upgrade and now it is impossible for me to see the image and i am getting an error every time i retrive the data. it always pop a message saying that "INCONSISTENT DATA TYPE"
please guys help.
Regardsyou can try this procedure
DECLARE
t_blob BLOB;
t_len NUMBER;
t_file_name VARCHAR2(100);
t_output UTL_FILE.file_type;
t_TotalSize number;
t_position number := 1;
t_chucklen NUMBER := 4096;
t_chuck raw(4096);
t_remain number;
BEGIN
-- Get length of blob
SELECT DBMS_LOB.getlength (PHOTO), ename || '_1.jpg'
INTO t_TotalSize, t_file_name FROM DEMO WHERE ENAME ='moon';
t_remain := t_TotalSize;
-- The directory TEMPDIR should exist before executing
t_output := UTL_FILE.fopen ('TEMPDIR', t_file_name, 'wb', 32760);
-- Get BLOB
SELECT PHOTO INTO t_blob FROM DEMO WHERE ENAME ='moon';
-- Retrieving BLOB
WHILE t_position < t_TotalSize
LOOP
DBMS_LOB.READ (t_blob, t_chucklen, t_position, t_chuck);
UTL_FILE.put_raw (t_output, t_chuck);
UTL_FILE.fflush (t_output);
t_position := t_position + t_chucklen;
t_remain := t_remain - t_chucklen;
IF t_remain < 4096
THEN
t_chucklen := t_remain;
END IF;
END LOOP;
END;
it will work -
Link between Inbound Delivery and Sales Order for Third Party
Greetings Gurus,
My client is using a third party business model in a retail setting that fulfills sales order via purchase req --> PO --> Inbound delivery with GR posting --> customer billing document created through batch based on the delviery quantity ('G' in item billing relavence) --> vendor invoice reciept happens subsquently.
My question is this, is there an inexpensive (performance wise) way to link the customer billing and the inbound delivery?
Since the inbound is not in the doc flow i don't think VBFA will suffice. I think the best route would be via schedule line back up, but i have yet to find a link.
There are process implications for this link for reporting and customer service which are a critical to the business. Point will be rewarded for sound advice.
Thanks for your help.Hi Daneil,
Through the document flow VBFA you can capture the PO number and the link for what you have asked can be found from table EKBE. check out for field BELNR.
regards
prasad -
DB Link between Oracle 10g and Oracle 9i
Hi all,
Please help me to set the dblink between oracle9i and oracle10g.
Thanks in advance
Regards
K. Mahipal ReddyWell... it depends on what type of link you wish to create.
If you have same user with same password on both databases (9i and 10G), then you can create a public database link as
CREATE PUBLIC DATABASE LINK dblink USING 'dbalias';
Note: dbalias is the value from your TNSNAMES.ORA. The database from which you are creating the db link has to have the entry in TNS for other database.
Other method is to create a private db link
CREATE DATABASE LINK dblink CONNECT TO user IDENTIFIED by pwd using 'dbalias';
The number of open connections from a particular database is governed by init parameter DB_LINKS (this was in 8i.. not sure about higher versions)
HTH...
Message was edited by:
satishkandi -
Differences between oracle 10g and 9i
where do we differe in oracle 10g and oracle 9i
when we will be working with SQL and PL/SQL
Please help mehttp://download.oracle.com/docs/cd/B14117_01/server.101/b10750/toc.htm
is what you are looking for.
Maybe you are looking for
-
Use iPhone 5 without activating wireless service (at first)?
In a bonehead move, I pre-ordered my Verizon iPhone 5 but forgot that my AT&T contract runs until 11/11/12 (I had forgotten that I didn't get my current iPhone 4 at summer release, but several months later). The early temination fee come out to $325
-
Acrobat 9 Standard closes down w/out warning
Acrobat (9 Standard 9.4.2) closes down w/out warning when I try to Extract or Combine pages; why? Strange that it doesn't do this for all documents I've created, just a few really important ones. What can be done?
-
Can I DL UNIX commands (specifically diff)so they work in the command line?
And if so, where? My java app is running in windows, and I'd like to have it call the diff operation on some files. Thanks!
-
How do we know the document is revered or not using transaction FBR2?
Hi How do we know the document is revered or not using transaction FBR2? I mean is there any table updates the flag or document number. This document numbers are available in table BKPF. I will explain clearly. 1) If new document is created... then
-
Do i need the 2,7Gh processor for multimedia and mainly movies?
I was wondering if I will notise any diffarence on the 2,5 or 2,7 Gh processors? its mainly for movies, music and photos.