How to find the new tables and columns in a schema

hi..good morning to all...
I have a schema ABC which owns some objects.
Now some days before I have made another schema XYZ which was a replica of ABC schema.
between these days some new tables, new columns in the existing tables(with or without default value), comments on the columns are being added in the new schema i.e XYZ schema.
Now I have to find the extra things which are present in the new schema. I need to find the new tables, new columns in hte existing tables, their default values and descriptions of those.
Can u plss help me how can I find it?
I am guessing that I have to write a SQL query with a minus clause but I am not able to write it and also dont know where should I execute it.
plss help. thanks in advance.

And moreover, when I am executing the query to get the desired result, then it is throwing "illegal use of long datatype" error and pointing to the b.data_default area of my query..
select a.table_name, a.column_name, b.data_default, a.comments from all_col_comments a, dba_tab_columns b
where a.TABLE_NAME=b.TABLE_NAME
and a.OWNER=b.OWNER
and a.OWNER=XYZ
minus
select c.table_name, c.column_name, d.data_default, c.comments from all_col_comments c, dba_tab_columns d
where c.TABLE_NAME=d.TABLE_NAME
and c.OWNER=d.OWNER
and c.OWNER='ABC'
order by 1, 2;
plss help...

Similar Messages

  • The new table and Columns to look for in picking headers, etc

    Hi,
    What are the new tables and columns to look for mapping the following old ones:
    1) Pick_Slip_Number from So_Picking_Headers,
    2) Sequence_Number from SO_Picking_lines
    3) Line_ID from So_Note_References
    Thanks and Regards,
    Praveen

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ravi alladi ([email protected]):
    Actually would it be possible to get a list of all changes in Order Management between 11 and 11i? ie what tables added, what have been modified and which ones are obsolete<HR></BLOCKQUOTE>
    Ravi
    Actually, we are working on that same analysis. If you receive any responses, please forward to myself as well.
    Thank you
    Sha Green

  • How to find the database table behind the xtags  varibles?

    if in xtags we find that some varibles are not having the right data coming from xml -> database tables so how can we find out the names of database table behind it .
    <!-- <xtags:variable id="msds" context="<%=specs%>" select="//header/msds"/>
    <a href="/MSDS/<%=msds%> target="#">MSDS</a>
    -->
    now how to find the database table and the column name of database table from which the value of id msds is coming
    Here they have stored the name of pdf file . from this code pdf file is displayed

    Hi,
    Thanks for your response. It is PM related.  When I run a T Code - IK18,  the field Total Counter Reading field appears. I am looking for that particular fields actual table name and field name.  I think I have found it in IMGR table. Now I want to get IMRG-READG in my report, but there is no common fields in neither MKPF or MSEG table. So what can I do to connect IMRG table with either of them ?

  • How to find the Source Table in one corresponding schema?

    Hi All,
    How to find the Source Table in one corresponding schema?
    regards,
    DB

    DB wrote:
    Hi All,
    How to find the Source Table in one corresponding schema?
    regards,
    DBHUH?
    I do not understand your question
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • Urgentpls : How to find the Oracle reports and forms version in Unix prompt

    Hi,
    How to find the Oracle reports and forms version in Unix prompt.
    Please give the steps
    Thanks

    I need to check the version of Oracle forms and reportsExample :$ frmcmp.sh -h | head -1
    Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
    $ rwrun.sh 2>/dev/null | head -2 | tail -1
    Report Builder: Release 10.1.2.0.2 - Production on Wed Mar 10 11:17:55 2010
    $

  • How to find the sum of a column

    I need to find the sum of a column and use it in a different column. The following is the example.
    Column names: Feedback(Good, Avg, Poor), Count(no of good, no of avg, no of poor) and %age(Feedback/sum(feedback))
    I want to find the sum in Java class and also calculate the last column in java class.
    Please tell me some way to do it.

    oh.. ok ..thanks for letting me know.. i will formulate the question in a proper way:
    This is what my UI should look like:
    Rating Count Percent
    Excellent 2 20
    Good 6 60
    Poor 1 10
    Bad 1 10
    Now i have the following columns in the data base:
    Meaning and feedback_rating.
    So the following SQL Query:
    SELECT hrl.meaning rating,
    sum(decode(bcpi.feedback_rating, null, 0, 1)) counted
    from cmp_cwb_person_info bcpi ,
    hr_lookups hrl
    group by hrl.meaning
    will give me the result as
    rating counted
    Excellent 2
    Good 6
    Poor 1
    Bad 1
    Now I want a third column as percentage : Earlier we were doing this calculation in the sql query itself, so the query was like
    SELECT hrl.meaning rating,
    sum(decode(bcpi.feedback_rating, null, 0, 1)) counted,
    sum(decode(bcpi.feedback_rating, null, 0, 1))/(max (select count (*) from cmp_cwb_person_info bcpi ,
    hr_lookups hrl )) percent
    from cmp_cwb_person_info bcpi ,
    hr_lookups hrl
    group by hrl.meaning
    Hence the third column (percent) was calculated in the sql query itself.
    But now i feel that the performance of the query could be improved if we get the first two columns from the database and the calculate the third column programatically in the java code.
    So this is what I want to know. How can i do that?

  • SSRS Reports level how to find out All tables names & columns list to display dynamically SQL Query????

    Hi Team,
    I Have one requirement,In SSRS Reporsitory 3000 reports are available.
    My end user requirement All 3000 reports are used Table names & columns list of each wise to display single table or single result set.
    I find out all 3000 reports details are diplayed single results set like
    Report Id,Path,Dataset,Source Query Text,Datasource
    In Source Query Text  column level All reports Queries are available but I want Each Report wise Table name & columns List.If any solution Please share me.
    Regards
    Rama

    Hi Ramakoteswara,
    According your description, you want to show used tables and columns of each report, and display is into a single result set. Right?
    In this scenario, we don't know where to find a column contains the Source Query Text. With my understanding, in Reporting Services, we have Catalog table in ReportServer DataBase, it has a column called Content stores the report code (.xml). In the
    code we can find the Query and Fields. Then you need to use VB/C# code to parse each .xml code of each report and fetch out the table name and columns. We do not support writing any queries against SSRS DataBase or parsing data records in any
    table.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to show the new table record after creating

    I have a table form. After creating a new record to the table, the page go back to the same page. I wanta know how to show the new record after click 'Create' button. Right now, all the items will be cleared.
    Thanks.

    The button submits the page so just create a branch that directs to a new page (which you'll have to create if you have not already done so) after submission which directs to a new page and uses the newly generate PK to display the row you've generated. You'll need to make the branch conditional on that press of the Create button.
    Phil

  • How to find the user exits and BADIS from SPRO

    Hi all,
    please let us know how to find the User exits or BADIS for an application from SPRO.
    Regards,
    Madhavi

    Hi Varisetty,
    Finding user exits and BAdis from SPRO can be cumbsersome. In most instances you know the standard SAP program and want to check (find) an exit called in the flow of the transaction. You can do this as follows:
    For User Exit:
    Put "/h" in the command box (to start debugging)
    Execute your transaction
    When you enter debugging - put a breakpoint at statement
    CALL CUSTOMER-FUNCTION
    the control will stop at all calls to User Exits
    For BAdi (it's simpler)
    Go to class CL_EXITHANDLER in SE24
    Enter method GET_INSTANCE
    Put a breakpoint in this method
    Run your standard transaction - control will stop at all BAdis called within the flow since this method is used to check BAdi implementations before invoking them
    Also, if you want to find enhancements by package - go to SE80, enter the package and check function groups starting with X - those contain function exits (conventional user exits). For BAdis in a package, there is normally a separate tree node (under the package) for Enhancements hence clearly identifiable.
    Cheers,
    Adi

  • How to find the data table sin CRM 4.0

    Dear Guru's
    I want to know where can i get all the data tables in crm 4.0 for example if i want to know the data table for the Reason in activity Management.with the help of data table only the ABAP people can work.....na
    Points willbe given
    With Best Regadrs
    Sreeram Raghu

    Hi Raghu,
    There are many techniques in which you could find the database tables, few of them are given below:
    - Place your cursor in the field for ex: reason in activity and press F1
    - In F1 screen(performance assistant), Click on Technical Information (fourth button from left), you can find here the database table name.
    Another Option:
    - Go to transaction SE11
    - In Database Table Field type few letters, for example to find all the activity table type * act * and then press F4, all the tables related to activity will be displayed
    Wish this was useful to you
    regards
    Srikantan

  • How to find the cpu cost and i/o cost  by a query

    I have a query that give the cpu utilization for a session.
    select s.name, m.value from v$statname s, v$mystat m
    where s.statistic# = m.statistic#
    and name = 'CPU used by this session';
    But how do you find the cpu cost and i/o cost by a query?

    Sounds like you want to use TRACE.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/sqltrace.htm#PFGRF01020

  • How to find the DB tables used by the workbook/worksheet

    Hi,
    I wonder if there is a way that we can query the EUL tables (e.g. eul5_documents, etc) to find out the database tables that are used by a specific workbook.
    Please advise and thank you very much,
    Yke

    There is no "direct" way to do this. If a report has been run at least once, though, you may be able to find out what you want (but it will require a bit of work).
    From the EUL5_QPP_STATS table, you can find the workbook (qs_doc_name) and worksheet (qs_doc_details). You can then use the qs_object_use_key value to find the objects, which will give the tables. You could try:
    select obj_ext_owner || '.' || sobj_ext_table
      from eul5_objs
    where instr ((select qs_object_use_key
                    from eul5_qpp_stats
                   where qs_doc_name = <workbook>
                     and qs_doc_details = <worksheet>
                     and qs_created_date =
                        (select max(qs_created_date)
                           from eul5_qpp_stats
                          where qs_doc_name = <workbook>
                            and qs_doc_details = <worksheet>)),
                 obj_id) > 0;This should give you the tables used for the last execution of the workbook.

  • How to find the dates table in T.CODE:CRMD_ORDER

    Hi ,
    Where to find the dates at sales order header level (General tab)as well item level in Transaction code: CRMD_ORDER.
    I did not see any internal table for this Dates in the FM CRM_ORDER_READ and i have tried with F1 help but is a ALV grid.
    Could any one help me to find the dates table.

    Hi,
    The dates are populated in the table IT_APPOINTMENT of FM CRM_ORDER_READ.
    if you want to populate the dates in any business order in crmd_order, then u can put a debugger in FM 'CRM_ORDER_MAINTAIN', open any business order, populate the date at header and item level and press enter.
    check the table IT_APPOINMENT table and the corresponding values that need to be populated.
    Hope this helps!!!
    Prerna

  • How to set the Selected row and Column in JTable

    Hi,
    i have a problem like the JTable having one Method getSelectedRow() and getSelectedColumn to know the Selected row and Column but if i want to explicitly set the Selected Row and Column,then there is no such type of Methods.If anybody has any solution then i will be thankful to him/her.
    Praveen K Saxena

    Is that what you're looking for? :myTable.getSelectionModel().setSelectionInterval(row, row);
    myTable.getColumnModel().getSelectionModel().setSelectionInterval(column, column);

  • How to find the FND_PROFILE.VALUE(ORG_ID) in custom apex schema

    Hi,
    How to find the FND_PROFILE.VALUE('ORG_ID') from dual in custom schema......
    Actually I have integrated Apex 4.2 version with EBS r12
    select FND_PROFILE.VALUE('ORG_ID') from dual ; in apps schema I m getting 198 value
    but the same query(select  apps.FND_PROFILE.VALUE('ORG_ID') from dual ) in custom schema (XXCVBB) returning null value..
    Is there  any pre steps I have to do...
    kindly provide the useful inputs to retrieve the profile value..........
    Regards,
    Pavan

    Hi,
    fnd_profile.value('ORG_ID'); will fetch you value only if there is a organization assigned to any application [or only if its  a single Org], being it custom application you should have used set policy context or mo_global.init to populate the global temporary table which will hold all the Org's which that specific user has access too.
    in your custom code use MO_GLOBAL.SET_POLICY_CONTEXT('S','ORG ID WHICH YOU NEED TO SET');
    after setting the policy context, you should be able to see value from fnd_profile.value('ORG_ID');
    Hope this Helps!!
    MO_GLOBAL.SET_POLICY_CONTEXT
    This procedure has two parameters
    p_access_mode
    Pass a value "S" in case you want your current session to work against Single ORG_ID
    Pass a value of "M" in case you want your current session to work against multiple ORG_ID's
    p_org_id
    Only applicable if p_access_mode is passed value of "S"
    MO_GLOBAL.INIT
    Purpose of mo_global.init :-
    It will check if new Multi Org Security Profile is set, to decide if new Security Profile method will be used.
    If the new MO security profile is set, then mo_global.init inserts one record, for each Organization in Org Hierarchy, in table mo_glob_org_access_tmp
    Regards,
    Yuvaraj

Maybe you are looking for

  • Scrolling text at an angle

    don't suppose anyone has found a work a round in DPS to have a scrolling text box at an angle, so that the text inside the scrolling are scrolls at the same angle as the text box, and not just vertically. ...just on the remote off chance :-) Cheers A

  • I Pod Updater says Operating system - Windows?

    I have two computers with I Tunes on both. When I went to update my I pod I got the screen that displayed" windows operating system" - no update needed. How do I correct this since my main computer is a mac and I also have I tunes on a PC as well. rd

  • CTM problem

    Hi All, I am facing a weird problem while running CTM . Whenever there is a forecast of more than 144 units, CTM is producing them once in two days. For example if there is a demand of 800 unit on 20/07/11 then it will makes 144 on  20th 80 on 22nd 1

  • All done! Now - export issues :(

    Hey I just finished a pretty good (at least I think so) implementation of Crosses (tic-tac-toe). My very first java application, and it actually works! Now to the final problem: I'm using Eclipse, and I'm having trouble exporting this as a jar file.

  • SAP instance getting stop after some time....

    Hi, Installed SAP on Cluster .SAP runs fine before and after switchover cluster when we do manually. Problems comes after scripting ,While starting SAP Instance with SCript its work fine but after some time instance get fail. And error comes 15:09:55