How to access a table present in same database

I have one mc_pl_st tables in mcs_owner schema, but am accessing from another schema age_owner schema,but both schemas are in same database.
Shall I use user_name.table_name to access the table present in other schema present in same database
Pls suggest,
Thanks

T.PD wrote:
Skalny wrote:
859486 wrote:
Shall I use user_name.table_name to access the table present in other schema present in same databaseYes, you must use schema name if you want to access table or other object, which belongs to different user.You could also use synonymes created by the tables owner:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7001.htm
How ever, the user accessing must have SELECT (and INSERT/UPDETE/DELETE?) permissions granted.And also we can use public synonymes.

Similar Messages

  • 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
    laxmikanth

    Hi Laxmikanth,
    Please refer this...
    Flash island: update complex type from flex
    Cheers..
    kris.

  • How do I join two tables in the same database and load the result into a destination table in a SSIS package

    Hi,
    I have a query that joins two tables in the same database, the result needs to be loaded in a destination DB table.  How do I do this in SSIS package?
    thank you !
    Thank You Warmest Fanny Pied

    Please take a look at these links related to your query.
    http://stackoverflow.com/questions/5145637/querying-data-by-joining-two-tables-in-two-database-on-different-servers
    http://stackoverflow.com/questions/7037228/joining-two-tables-together-in-one-database

  • How to access XI_AF_MSG table in Composite Application Framework Java Code

    Hi Experts,
    I've no knowledge about PI. In one of my projects, I need access the XI_AF_MSG table of PI through java code in a composite application.
    How do I access this table? I've searched this forum for this query but the replies say that any SQL editor can be used to access XI_AF_MSG table. But my question is; How do I get the login details of the database? In the first place, how do I access the underlying database layer of PI? Is there any JAR file which can be used to make the connection?
    It would be of great help if any expert on this can give me a detailed reply.
    Thanks a lot in advance.
    Best Regards,
    Nitin

    Hi Nitin,
    The AFW runs on the J2EE Engine, so this table is in the Java Schema of the database and thus not visible in the ABAP stack. I guess you can use any tool your database provider offers for looking at table contents (e.g. SQLPlus).
    Regarding how to access the table please contact you basis administrator they will have access to the tables as they have j2ee_admin login ids and pwds.
    Regards
    joel

  • How to create many user in the same database

    hi
    my question is "How to create many user in the same database(application)?"
    for example, i have students, teachers, and staffs user using my application.
    i can create many users to use the same application right?, how ^^''' ???
    (right now i can only create application and then it shows every data in my DB
    but i want it to show only the data for the user who login to that application)
    Thanks.
    ps. i'm newbie, please help T^T

    You need to create a user table within your application that maintains their privileges. If you have LDAP you could use this for authorisation otherwise the table would handle that as well (store passwords etc). Your reports etc would then be filtered on information from this table.
    Check out some of the sample applications to see how authorisation and access is implemented (Online store is one). The how-to on the issue tracking system should also have some useful pointers.
    http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/issue_track.htm#BABBGBJG
    cheers,
    Ron

  • How to display all tables residing in my database

    i'm using 10g express edition.
    i'm developing a .net application using oracle
    i want display table infomation in a datagrid
    for that i need to select tables fromthe database using the interface given by them
    in that i found server name field.....what it actually means?
    also how to create a new database in 10g and how to display all tables residing in the database?
    pls help me
    thanking u
    chaitanya

    user11359516 wrote:
    i want display table infomation in a datagrid
    select owner||'.'||table_name owner_table_name
      from all_tables   
    user11359516 wrote:in that i found server name field.....what it actually means?i'm not sute what you mean by server name field? if you refer to table column name see this code below:
    select owner||'.'||table_name||'.'||column_name table_column_name,
           decode(data_type,'VARCHAR',data_type||'('||to_char(data_length)||')',
                            'VARCHAR2',data_type||'('||to_char(data_length)||')',
                            'NUMBER',decode(data_scale,0,data_type||'('||to_char(data_precision)||')',
                                                      null,data_type,
                                                      data_type||'('||to_char(data_precision)||','||to_char(data_scale)||')'),
                            data_type) type,
                            nullable
      from all_tab_cols
    order by table_name, column_id

  • Linking A LOT OF Tables in the same database

    Hi,
    Following is what I have been doing:
    THE FOLLOWING STEPS ARE DONE PERIODICALLY (like every 30 seconds):
    Get data from a database above a certain time stamp in a resultset
    Select some rows based on ceratin values of certain columsn in the resultset
    Change numbers to words and words to numbers in the selected rows using other tables in the same database
    Display this info in a table.
    Problem:
    My program is working but it consumes an enormous time when it has to link those selected rows with other tables to get corresponding values. Once I have made a resultset of selected rows, whats the fastest way to change row fields in the result set to corresponding values in the other table.
    Any iideas of even putting them in a table in an effecient manner would be greatly appreciated.

    Hi atlantisLoveAngel,
    I see you are new to these forums. In my opinion, it's not good practice to post exactly the same question to more than one forum, and you have posted this exact same question in the JDBC Forum.
    As you can see, a lot of the people who visit these forums do check more than one of them, so it doesn't really increase your chances of getting a reply when you post the same question to different forums (even if you change the subject slightly).
    I'm not sure if this will help you, but in case you haven't already seen it, perhaps the article entitled Christmas Tree Applications from the Swing Connection may be relevant?
    Good Luck,
    Avi.

  • How to access a table of SAP standard SAP method from external program

    Hi Friends,
    I have to access a table and modified it defined in a standard SAP method (PROCESS_INPUT_FILTER) of class (CL_HANDLE_MM).
    As we normaly do it in case of Standard program
    for example: ('(SAPLMEPO)ett[]') here we are accessing internal table ett defined in SAPLMEPO.
    so how we can do the same thing if some thing defined in standard SAP method.
    Pl. help.

    Thanks for the info guys, it will come in handy.
    I need to validate that a number is entered with zero or one decimal place, then make sure it is evenly
    divisible by .5 in order to test for whole or half numbers only. If not, I use an alert to
    display a message when the user leaves the field.
    If there is a better way to achieve this, I am all ears!
    Thank you for your time,
    Gary

  • How to access af:table rows in JavaScript

    Hi,
    I have a requirement to access af:table rows in java script.I tried the same using following code.
    getRows returns the correct no of rows from the table, but table.getValue() returns null.
    var table = AdfPage.PAGE.findComponentByAbsoluteId('t1');
    if (table != null){
    alert(table.getRows());
    alert(table.getFirst());
    alert(table.getValue());
    Any pointers on how i can achieve this.

    We have a requirement where in,we have to check if the order number is already added to the cart(cart here is a table)
    and this validation needs to be done as soon as you enter 10 digits in the input field for order number.
    in short,order need to validated if its duplicate order against table at client side(sson as you enter 10 digits in order number)
    initially I was trying to implemet this with ServerSide listner as below
    Java script on page :
    function addDuplicate(evt) {
    var source = evt.getSource();
    AdfCustomEvent.queue(source, "MyCustomServerEvent",
    false);
    event.cancel();
    Bean method
    public void callAddDuplicateSeverEvt(ClientEvent clientEvent) {
    ADFContext.getCurrent().getPageFlowScope().put("dupOrderNumFlag", "N");
    System.out.println("in handle Add duplicate::"+ ADFContext.getCurrent().getPageFlowScope().get("dupOrderNumFlag"));
    input text on page
    ====
    <af:inputText label="" id="it1" value="#{pageFlowScope.dspOrderNum}"
    columns="14" autoComplete="off" styleClass="orderveritext"
    maximumLength="10" >
    <af:clientListener method="validateOrderNumChars" type="keyPress"/>
    <af:clientListener method="enableAddButton" type="keyUp"/>
    <af:clientListener method="addDuplicate" type=" keyPress "/>
    <af:serverListener type="MyCustomServerEvent"
    method="#{viewScope.HLKioskBean.callAddDuplicateSeverEvt}"/>
    </af:inputText>
    Problem with this solution is My application is KIOSK app(touch screen) on every key press in order num input field screen flickers,looks like its trying to do Full page rendering(though i do not have any PPR) in every call to serverListerner.
    Please advise.

  • How to create 3 table  in a same line prient means same row.

    Hi My Template 3 tables with a same line prient how to create my template in xml
    Earnings
    S2RN
    RvE2
    Deductions
    S3Rn1
    RV!E3
    Cumulatives

    Well there is a way by which we can actually define a "xml data source" in jasper framework and we might have to write a wrapper which can perform the job which suits your set of requirements.
    However,imn't sure if things are same now since when i personally used jasper related technologies.
    It'd be a gr8 idea if you can post your queries @ [http://www.jasperforge.org] (Jasper Suite Support forums) where you might get appropriate answers from people who have more expertise in this technology.
    REGARDS,
    RaHuL

  • How to access the table type field in the structure

    Hi All,
    I have a BADI CRM_MKT_ADR_SEARCH and a method CHANGE_SEARCH_RESULTS in this method I have a parameter CT_BP_CP_CHANNEL .This parameter has type CRMT_BP_CP_CHANNEL_TAB(this is table type) this has the line type CRMT_BP_CP_CHANNEL(this is structure) in this line type we have one field addrnumber.How to access this field in my method?Please help me in this regard.

    data lw_tab type CRMT_BP_CP_CHANNEL.
    loop at CRMT_BP_CP_CHANNEL_TAB into lw_tab.
       lv_field = lw_tab-addrnumber.
       <further processing>
    endloop.

  • How to access remote tables on Oracle from Access fron end?

    Note: Access application and access tables are in separate .mdb files.
    I've successfully migrated my Access 2000 tables to Oracle. And there were no errors during the migration. The two original Access tables were renames to tblBOMdetail_L and tblPartInfo_L and two new linked tables were created with the _R name. Mapping queries were created for tblBOMdetail and tblPartInfo.
    However, when I launch my Access application, I get the following error: "The Microsoft Jet database engine cannot find the input table or query 'tblPartInfo'. Make sure that it exists and that its name is spelled correctly."
    Is there something more that I have to do to enable this connection. I already have the necessary ODBC connection set up.
    Thanks.

    Hi ,
    The first thing you need to verify is that you can view the data in the tables with _R appended to their name. This will verify whether the ODBC link is set up correctly and pointing at the correct Oracle table in the Oracle database.
    Another point. Are you still using 2 .mdb files? If so since your data is now in Oracle it may be prudent to use only one .mdb.
    If you need more help then please contact [email protected]
    John

  • 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.

  • How to access each row value for a database item

    On my form I have a database datablock that represents a table in my database.
    5 rows are shown with a scroll bar that can be viewed to show the rest.
    The user is able to change some of the Database Item values represented in this datablock for any row shown in the datablock.
    I need to validate the correctness of the users change before allowing the database datablock to update the table in the database.
    But a database item in a datablock will represent a value for every row in the table. So how do I access each row value for a database item separately. What is the PL/SQL syntax?
    thanks,
    michelle

    In my situation it was better to use the loop instead
    of a when validate trigger because...Well it was clearly not better to use a loop that doesn't work. I don't understand what you're not clear on about the item and record validation triggers. If you have a specific validation rule for a single field (such as a date that cannot be in the future), that would go in a When-Validate-Item trigger on the date item. If the user enters a future date, your code would display an error message and raise a failure. Raising a failure prevents the item from being marked as valid. Invalid items prevent the record from being inserted/updated. Sometimes you have a validation rule that requires looking at more than one item at a time, such as two items that must either both be NULL or NOT NULL. In that case, you could not use a When-Validate-Item trigger because you can't clear or populate both at once. So then you would use a When-Validate-Record at the block level and if one field is NULL and the other isn't, you would display an error message and raise a failure. Forms is very civil in this respect; we don't throw exceptions around here, but then I digress.

  • How to import a table from another oracle database ?

    Hi all ,
    i could like to use pl/sql to import one table from another oracle database server ?
    is it possible to do this ?
    A server B server
    table: test <------------------------> table : newtest
    the tns profile already configurated . the connection is ready .
    thanks a lot !
    Best Regards,
    Carlos

    if i don't have TEST table on server B whether COPY command will create this table on server B with the same structure ? If you specify CREATE as a clause the table will be created:
    SQL> help copy
    COPY
    COPY copies data from a query to a table in a local or remote
    database. COPY supports CHAR, DATE, LONG, NUMBER and VARCHAR2.
    COPY {FROM database | TO database | FROM database TO database}
                APPENDCREATE|INSERT|REPLACE} destination_table
                [(column, column, column, ...)] USING query
    where database has the following syntax:
         username[password]@connect_identifier

Maybe you are looking for

  • Clarifications on company code merger

    Dear SAP Experts We need to merge two company codes i.e XXXX & YYYY into one new entity(Thailand). Legally both entities will be closed by 31st Mar 2011 and merged into newly registered entity on 1st April 2011 (FY V3 - April to March). Their existin

  • Fault cases identification using Sql query

    Hi , i have data in below format.using below data to extract the fault cases. operator machine fromdate todate 1491 QC03 2014-09-02 02:51:00.000 2014-09-02 06:10:00.000 1427 QC03 2014-09-02 06:11:00.000 2014-09-02 07:17:00.000 1491 QC03 2014-09-02 11

  • Icons at the bottom of TX screen

    I have difficulty selecting the icons at the bottom of the TX screen, they seem to only respond if I hit the very bottom of the icon. I have tried resetting the touchscreen. The rest of the screen seems to be ok. Mike Post relates to: Tungsten E2

  • Switch Upgraded to 15.2-1.E1 From 12.2-55 and switch is not operable

             Hi I need help if somebody has a solution for this problem I have a batch of new Cisco 3750X. Open box, it load without problem, it coming with IOS 3750-eUniversal 12.2-55. I have an USB with the new code  c3750e-universalk9-mz.152-1.E1.bin 

  • Web template print color

    Hello Experts, I have print funtionality in the web template. I am using the printer class Z_PRINT_HELP_SERVICES. In the print preview, the table is in black & white. Am I missing some configuration for printing the table in color ? Is there any alte