How to integrate different tables structures from different databases?
Hi
I'm new to oracle ..kindly help me with the below issue...
I have same set of inter-related attributes (a,b,c,d) in two different databases A and B.
The structure of tables in both the database are different but they carry same attributes in same relation.
I have to integrate these attributes into single db object such that any update to base tables updates my object.How can i do this and what object will be helpful?
Thanks
Arun Rajesh wrote:
Hi
I'm new to oracle ..kindly help me with the below issue...
I have same set of inter-related attributes (a,b,c,d) in two different databases A and B.
The structure of tables in both the database are different but they carry same attributes in same relation.
I have to integrate these attributes into single db object such that any update to base tables updates my object.How can i do this and what object will be helpful?
ThanksWelcome to Forum!!!
Please elaborate your question.
Arun Rajesh wrote:
I have same set of inter-related attributes (a,b,c,d) in two different databases A and B.1. What are the ATTRIBUTES?
Arun Rajesh wrote:
The structure of tables in both the database are different but they carry same attributes in same relation.2. Post the Table Structures.
Arun Rajesh wrote:
I have to integrate these attributes into single db object such that any update to base tables updates my object.How can i do this and what object will be helpful?3. What is the end result that you desire? A sample output shall help in our understanding.
PS:- Please go through this to understand SQL and PL/SQL FAQ.
Regards,
P.
Similar Messages
-
Returning table structure from Web Service...
Hi,
I have a web service which retrieves data from a database table. I want to use this web service from my Visual Composer to display the data on the screen.
I want to know how to return the table structure from my web service. Currently i am returning a string array (only one row of data) from my web service and displaying it in the VC. But i want to include the names of the columns as well.
I tried using 2D String[] and HashMap, both didn't work for me.
Any ideas?
Regards,
VenkatHi Venkat,
I recommend to pass the headers in seperat variables and the data table in a array.
I did something similar, without the header, because they are fixed in my scenario.
This webservice returns a list of all Portal Roles:
public roleModel[] getRoles() throws Exception{
// Array List as return value
ArrayList RoleList = new ArrayList();
// Try Block reading portal roles
try {
IRoleFactory rfact = UMFactory.getRoleFactory();
// Filter for PortalRoles
IRoleSearchFilter roleFilter = rfact.getRoleSearchFilter();
// Search for *
roleFilter.setUniqueName("*", ISearchAttribute.EQUALS_OPERATOR, false);
// Search all Roles
ISearchResult resultList = rfact.searchRoles(roleFilter);
// return the result list
if (resultList.getState() == ISearchResult.SEARCH_RESULT_OK) {
while (resultList.hasNext()) {
// read roleUid
String roleUid = (String) resultList.next();
// create roleObject for roleUid
IRole roleObject = rfact.getRole(roleUid);
// instantiate new role for ArrayList
roleModel rolle = new roleModel();
// read DisplayName and UniqeID
rolle.setRole(roleObject.getDisplayName());
rolle.setRoleID(roleObject.getUniqueID());
rolle.setDescription(roleObject.getDescription());
// add object to ArrayList
RoleList.add(rolle);
// create new array from data type model roleModel (class)
// in the correspoding size
roleModel[] returnList = new roleModel[RoleList.size()];
// write ArrayList back to array
RoleList.toArray(returnList);
// return all portal roles
return returnList;
// exception handling
} catch (Exception e) {
throw new Exception(e);
Hope that helps!
Best Regards,
Marcel -
Return Table Structure from Web Service...
Hi,
I have a web service which retrieves data from a database table. I want to use this web service from my Visual Composer to display the data on the screen.
I want to know how to return the table structure from my web service. Currently i am returning a string array (only one row of data) from my web service and displaying it in the VC. But i want to include the names of the columns as well.
I tried using 2D String[] and HashMap, both didn't work for me.
Any ideas?
Regards,
VenkatHi,
I have a web service which retrieves data from a database table. I want to use this web service from my Visual Composer to display the data on the screen.
I want to know how to return the table structure from my web service. Currently i am returning a string array (only one row of data) from my web service and displaying it in the VC. But i want to include the names of the columns as well.
I tried using 2D String[] and HashMap, both didn't work for me.
Any ideas?
Regards,
Venkat -
How to merge two search button from different criteria
How to merge two search button from different criteria
this image show the question
http://s24.postimg.org/4algthuj9/1111.jpg
two different criteria for the same view and I need to merge it in one button as when I click
on the button search result give from two criteria parametersYou can!t using af:query. the af:query component comes as is. If you can't do it through the properties, you probably can't do it at all.
As in your other thread, the way to go is to program your own search form. This way you can use a layout and functionality you like.
For this you create a form with input fields for the values you are searching for, put them on hte page in a way you like and in the end by hitting on a button (e.g. called Search) map all inputfields to parameters of a service method you defined in your application module or VO. This service method then executes a view criteria returning all matches in the default iterator (just as if you had used af:query.
Timo -
How to access the ORACLE APPS table structures from SAP
Hi Experts,
How to access the ORACLE APPS table structures from SAP? Is it possible from SAP?
Thanks in advance
ThomasHi Silviya,
you can access this database using a technique called DB Multiconnect - sometimes written as multi-connect.
Search the SAP documentation and notes for this term and you will find how to do it.
Essentially you configure the remote database connection via transaction DBCON.
If your SAP system is not running on Oracle you will need to install the db-specific kernel files for Oracle along with the Oracel db client software - SQL*Net.
Then you can access the Oracle database from ABAP using native-SQL. It works a treat!
Cheers
Graham Robbo -
How to display smartforms table lines useing different background colour
Hi all:
How to display smartforms table lines useing different background colour .
for example:
line1:green
line2:red
line3:green
line4:red
line5:green
line6:red
line7:green
line8:red
Any help is highly appreciated!!
启明星Hi,
Create a two lines one for header and second for data in the table.
1)In table painter we can find the pencil mark.
2)select the pencil mark
3)now select the line which you need to shade
4) now select the shading colour in the table painter and the provide the resolution up to 100% and select table pattrn for that line.
5) Now you can use this for the header now only the header gets shaded and the remaining gets unshaded.
reward points if useful
Thanks and Regards,
Nishant -
How to Change S012 Table Structure ..?
Hi MM Experts,
How to copy and how to create new structure and new caracterstics and MAterial type from table S012 .
T-code for execute MCE1 .
How to Change S012 Table Structure ..?
Regards,
Anthyodaya.
Edited by: anthyodaya Reddy Nagaram on Jul 7, 2010 12:44 PMAnthyodaya,
Values? Your newly created infostructure will have no data until you define how to update the underlying tables, and then execute the update.
You need to be a bit more specific. Are you saying that you attempted a 1-to-1 copy of S012 into a new structure, and you got a failure? What failure? What error message? If you have saved your new infostructure, you can run the consistency utility to see what if anything is missing/misconfigured MCSCHECK.
If you have no experience with infostructures, I suggest you enlist the services of an experienced person to assist you. Especially if you intend to implement non-standard characteristics and values, this can be a complex task.
SAP help in this area
Creating new IS
http://help.sap.com/saphelp_erp60_sp/helpdata/en/c1/3754f7449a11d188fe0000e8322f96/frameset.htm
Purchasing Info system
http://help.sap.com/saphelp_erp60_sp/helpdata/en/c1/375504449a11d188fe0000e8322f96/frameset.htm
Rgds,
DB49 -
Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.The Oracle documentation has a good overview of the options available
Generating XML Data from the Database
Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
You can also find some information in XML DB FAQ -
HOW TO FIND OUT TABLE DESCRIPTION FROM JDBC?
HOW WILL FIND OUT TABLE DESCRIPTION FROM JDBC?
Have a look at ResultSetMetaData
getColumnCount()
getColumnName(int)
getColumnTypeName(int)
getColumnDisplaySize(int)
***Annie*** -
How to access internal table data from webdynpro to Flex application.
Hi Connoisseur
The data transfer from Abap WebDeypro to flex island works well. I followed , there is an example from Thomas Jung (by the way as always Great Work) and Karthikeyan Venkatesan (Infosys) but this example covers simple type only.
There is no example with complex types like arrayCollection which handle the transfer of data from flex to WebDynpro.
i tried to do pass internal table value to flex-datagrid.but its not work.
i would like to know
1.how to access internal table data from webdynpro to Flex application.
2.how to pass the internal table to flex-datagrid.
2.how to pass dynamically in ADOBE flex.
3. how to do Flex is receiving the wd context data?
4. how can we update WD context with FLEX data.
Ple give me sample example and step by step procedure.
Regards
laxmikanthHi Laxmikanth,
Please refer this...
Flash island: update complex type from flex
Cheers..
kris. -
How to check PSA Table Structure ?
Hi Friends,
Can you pls any one tell me how to find out PSA Table and how to check PSA Table Structure? .Thanks in advance.
Regards,
CSHi Sri,
Goto RSA1 trans> select your DS> right clcik> Manage> you will get a Pop-up with all the PSA requests--> on the top Left you can see the PSA name(Technical name) in the form PSA/BIC/BXXXXXX
PSA & DS structue will be same. Goto RSO2 transaction> Enter your DS name> double click on the extract structure. It will take you to the Extract structure.
(Or) if you know the extract structure name, directly goto Se11 trans & enter the technical name of Extract structure & Display.
Take the screenshot & send it to your TL.
Regards,
Pavan -
Is it too much to ask from apple, an option for different volumes levels from different apps, including alarm, text, email, basically from every posible app?
My daughter has had her Razr for about 9 months now. About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!
-
How I could transport table entries from table NRIV
Does anyone knows how I could transport table entries from table NRIV.
I can mark them in se16 but the "table entries"->"transport" is grey. What shouuld be done.
Is there another way to transport NRIV entries.
Thank you in advanceHi,
Goto SE01 -> Create Transport Request.
Assign the Workbench request/Project.
Single click the TR. Click on the DISPLAY OBJECT LIST or Press SHIFT + F11.
Click on CHANGE -> Insert.
PgmID Obj Object name
R3TR TABU NRIV
CLick Extras -> Change Object Function -> All entries.
Save.
Release the Tr.
Best regards,
Prashant -
How to get updated table values from objectlistdataproviders
how to get updated table values from objectlistdataproviders
Hi,
Here is a sample code
start-of-selection.
*Select the data you need into an internal table
loop at it_mara into wa_mara.
data that needs to be displayed in the output list
write:/ box as checkbox,
wa_mara-matnr under text-001,
wa_mara-maktx under text-002,
wa_mara-lgort under text-003.
Hide the data that needs to moved to internal table
hide:wa_mara-matnr, wa_mara-maktx, wa_mara-lgort.
endloop.
clear wa_mara.
end-of-selection.
lines = sy-linno.
at line-selection.
clear:it_matnr.
do lines times.
check sy-index > 1.
box = space.
read line sy-index field value box.
if box = 'X'.
*data selected using check box is moved to internal table
append wa_mara to it_matnr.
endif.
enddo.
Regards,
Jisha. -
How to Integrate real time data between 2 database servers
How to Integrate real time data between 2 database servers
May 31, 2006 2:45 AM
I have a scenario where the data base (DB2 400) is maintained by AS 400 application and my new website application based on j2ee platform access the same database also but the performance is very low. So we have thought of introducing new oracle data base which will be accessed by j2ee application and all the data from db 400 database will be replicate to oracle data base. In that scenario the only problem is of real time data exchange between 2 databases. How do we achieve that considering both the application As400 and j2ee website application are running in parallel and accessing the same information lying on DB2 400 database. We have to look at transaction management also.
Thanks
Panky
DrClap
Posts:25,835
Registered: 4/30/99 Re: How to Integrate real time data between 2 database servers
May 31, 2006 11:16 AM (reply 1 of 2)
You certainly wouldn't use XML for this.
The process you're looking for is called "replication". Ask your database experts about it.
I predict that after you spend all the money to install Oracle and hire consultants to make it replicate the DB2/400 database, your performance problem will be worse.
panks
Posts:1
Registered: 5/31/06 Re: How to Integrate real time data between 2 database servers
May 31, 2006 11:55 PM (reply 2 of 2)
Yeajh I now that its not a XML solution.
Replication is one of the option but AS400 application which uses DB2/400 DB is highly loaded and proposed website also uses the same database for retrieval and updation purpose.All the inventory is maintained in the DB2/400 database so I have thought of introducing new oracle database which will be accessed by new website and it will have all the relevant tables structure along with data from DB2/400 application. Now whenever there is a order placement from new website then first it should update the oracle database and then this data shuold also migrate to db2/400 application at real time so that the main inventory which is lying on db2/400 should be updated on real time basis because order placement is aslo possible from As400 application. So the user from As400 application should not get the wrong data.
Is it possible to use MQ products??
-PankyHi,
the answer to your question is not easy. Synchronization or integration or replication data between 2 (or more) database servers is very complicated task, even though it doesn't look like.
Firstly I would recommend to create good analysis regarding data flow.
Important things are:
1) what is primary side for data creation. In other words on which side - DB2 or Oracle - are primary data (they are created here) and on which side are secondary data (just copies)
2) on which side are data changed - only in DB2 side or only on Oracle side or on both sides
3) Are there data which are changed on both side concurrently? If so how should be conflicts solved?
4) What does it mean "real time"? Is it up to 1 ms or 1s or 1 min or 1 hour?
5) What should be done when replication will not work? I mean replication crash etc.
BTW. The word "change" above means INSERT, UPDATE, DELETE commands.
Analysis should be done for every column in every table. When analysis is ready you can select the best system for your solution (Oracle replication, Sybase replication server, MQ, EJB or your proprietary solution). Without analysis it will be IMHO gunshot into the dark.
Maybe you are looking for
-
My consoleone is no longer working with groupwise
Hello Somehow I screwed up my consoleone. It is GroupWise 7.0.3 and running on SUSE Linux 10.1 . Now when I select domain, the domain databases come up but none of the GroupWise options are available and it is just showing the standard consoleone inf
-
TS3212 Error - 0x80073712. how do i fix this
I have the new ipod nano 7th generation and a windows pc. I have not had an ipod since 2nd generation. I went to update itunes and at first it wouldn't recognize the ipod, so I uninstalled itunes. Now i can't get it to reinstall. it gives error 0x80
-
OWB 10gR2 - some enhancement requests
Hi, I've been working with OWB 10gR2 for approximately a week now, and I've come across a few (minor) bugs, as well as a list of enhancements that I think would make the tool better. I'd like to surface these in this forum so they can be either disag
-
Control nol going to java code
HI.. I am facing a problem. I am doing validation for fileuploader in java. I am able to do the validation in java. But the requirement is to do the validation in java (page code). When i am passing empty string and do a submit, its working fine i.e
-
Highlight columns in bex query
Dear all, I have a question: when I structure my query in BEx analyzer, even if there's the field in key figures properties (<b>highlight rapresentation</b>) and even if I check this box (the column wuold be in colour blue), really doesn't happen any