If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > How to synchronize data types used in two different schemas.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-25-12, 23:22
Tharangi Tharangi is offline
Registered User
 
Join Date: Jan 2012
Posts: 10
How to synchronize data types used in two different schemas.

Hi all...I have two different schemas called test1 and test 2.In test1 there is a package called pkg 1 and it has a ADD_NEW1 procedure.within that package(pkg1) I defined two arrays AR_NUMBER and AR_DESC.

ADD_NEW1 looks like following,


PROCEDURE "ADD_NEW1"(
"number1" IN AR_NUMBER,
"description1" IN AR_DESC
);


I want to call test1.pkg1.ADD_NEW1 procedure from the test2.pkg2.ADD_NEW2.

I used following statement from test2.pkg2 ,

test1.pkg1.ADD_NEW(varnum1,vardesc1);

in the package body I defined varnum1 and vardesc1 as follows,

varnum1 AR_NUMBER;
vardesc1 AR_DESC;

In pkg2.ADD_NEW2 also defined AR_NUMBER and AR_DESC as arrys within the package.


please help me...Im totally fed up with this matter.
Reply With Quote
  #2 (permalink)  
Old 01-25-12, 23:33
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,416
It is really, Really, REALLY difficult to fix a problem that can not be seen.
use COPY & PASTE so we can see what you do & how Oracle responds.
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On