Regarding to find out  data bug..

Hi guys
I have 3 table a, b,and c
in which b is a tale where i have r_id, c_number and error_msg
table a has ar_id, r_id, a_id and other column but these three are imp.
relationship between a and b is r_id is (p.k) of table b is f.k to to table a
and ar_id is table a 's primary key which is unique
now i have table c which is bulk table it has relation ship with from table a ar_id is fk to table c and due to table c is bulk a_id also exists in table c which is
has partition
and table c has other column just like t_name, r_value..
so what i have to validate is
take data from table a which exist in table b based on the r_id (which mapped)to a
pullout the ar_id,r_id,and a_id from table a then
look for table c with this information. is it properly mapped from table a to c basis on the ar_id and partitions column if not properly mapped ar_id with table a the n flag message in table b saying that particular value not set properly.
f value exist in table c wr.t a then check
validate t_valye, r_value column if they are null or not if null also set message in table b saying that this column are null so not properly mapped.
as table c is huge it should not scan more than once it will hamper the performance..
help appreciated....
Thanks

this is very clear req.
SQL> crate table b(r_id integer, cnt_number number, err_msg varchar2);
SP2-0734: unknown command beginning "crate tabl..." - rest of line ignored.
SQL> table a like
SP2-0734: unknown command beginning "table a li..." - rest of line ignored.
SQL> create table a( a_id integer, r_id integer, as_id integer);
Table created.
SQL> table c is
SP2-0042: unknown command "table c is" - rest of line ignored.
SQL> create table c( a_id integer, as_id, t_val integer, r_val integer);
create table c( a_id integer, as_id, t_val integer, r_val integer)
ERROR at line 1:
ORA-02263: need to specify the datatype for this column
SQL> insert data into b
  2  insert into b(r_id, cnt_number)
  3  vlaues( 1,0);
insert data into b
ERROR at line 1:
ORA-00925: missing INTO keyword
SQL> insert data into b is
  2  insert into b(r_id, cnt_number)
  3  vlaues( 2,0);
insert data into b is
ERROR at line 1:
ORA-00925: missing INTO keyword
SQL> insert data into a is
  2  insert into a( a_id,r_id,as_id)
  3  values( 12,1,3);
insert data into a is
ERROR at line 1:
ORA-00925: missing INTO keyword
SQL> insert into a(a_id,r_id,as_id)
  2  values( 13,2,4);
1 row created.
SQL>
SQL> final insert data into c is
SP2-0734: unknown command beginning "final inse..." - rest of line ignored.
SQL>
SQL> insert into c( a_id,as_id t_val,r_val)
  2  values(12, 3 ,,5);
insert into c( a_id,as_id t_val,r_val)
ERROR at line 1:
ORA-00917: missing comma
SQL>
SQL> insert into c( a_id,as_id,t_val,r_val)
  2  insert into c(14, 3, ,,)
  3 
SQL> Yea, right...

Similar Messages

  • Function module to find out DATA BASE size, free space, used size

    Is there any function module to find out DATA BASE , free space, used size
    FM that gives all the details of the Date base
    what data base, what is the size, free space, used space etc...
    instead of writing case by case for each data base. based on  CASE SY-DBSYS.

    Hi,
    Check this FM:
    DB02_ORA_SELECT_DBA_SEGMENT
    alternatively u can check the tcode: DB02
    thanks|
    Mahesh

  • How can we find out data in an editable ALV grid has been changed or not?

    Hi Experts,
    How can we find out whether a data in an editable ALV grid has been changed or not.
    I am using the
    FM -> REUSE_ALV_GRID_DISPLAY_LVC
    for ALV display.
    I have to chekc whther data has been changed or not befor saving. if changed then only i want to
    SAVE
    . I cannot use the internal table comparison method for this purpose also i am not using OOP ALV.
    So kindly sugest me an alternative.
    Thanks and Regards,
    Shahana

    Hi,
    Thanks for your answer. I already saw this post.
    See this method.
    CALL METHOD reuse_alv_grid->check_changed_data
    IMPORTING
    e_valid = lv_check.
    This will update the internal table with the edited values. Then we can go for internal table comparison.
    But my scenario will not allow me for itab comparisons.I just want to know the ALV data has been changed or not.
    Regards,
    Shahana

  • How to find out date of an oracle version migration?

    Hey guys!
    somebody knows if and where I can find out at what date an Oracle database was patched (i.e. migrated from let's take Oracle 8i to 9i as example).
    In SYS.REGISTRY$HISTORY, I only find data from the latest CPU, nothing concerning the database version.
    Can you help me out?
    Regards,
    Thomas

    I found an temporary solution:
    In SYS.REGISTRY$HISTORY, upgrades from 9 to 10 are saved. So if you want to handle migration dates for this scenario, you're right in this view. Other scenarios aren't saved in this view.
    Maybe somebody can explain to me what version_time in V$DATABASE can be used for? Oracle Reference is pretty uninteresting concerning that.

  • How to find out data source for a datawindow?

    I have a datawindow and I want to identify it's datasource.
    I open this datawindow in pb. then in design menu, Data Source is disabled. It means not direct sql
    Then I go to Column Specific(small window), and right click on any space, in the popup menu, there is no 'Stored Procedure...'. It means not procedure.
    (see screeshot attached)
    then how to find out the data source for this datawindow?

    Hi Kent;
    1) I would use the RHMB on the DWO in the System Tree and select the "Edit Source" option.
    2) In the DWO source, locate the "TABLE ( ...." line
    3) If the next major line starts with "DATA(...." then this is an external DWO.
    4) If the next major line starts with "Retrieve(...." then this is a normal DWO (SQL or SP based).
    5) If the next major line starts with "webservice=(WSDL...." then this is a Web Service based DWO.
    Note: if your DWO has no #3, 4 or 5, then its external.
    HTH
    Regards ... Chris

  • Need help finding out date JPG's were taken by camera

    Hi all,
    I have a few JPG files that I have downloaded that were taken by a digital camera, however when I imported into iPhoto it sets the date/time to the photo to when I downloaded it, and not when it was taken. Is there anyway I can find out when the JPG's were actually taken? I know its possible on windows with the following procedure:
    http://www.microsoft.com/technet/scriptcenter/resources/qanda/jan07/hey0105.mspx
    but is there anyway to do something like that on a mac? or perhaps another method of finding out when the picture was really taken?
    Much thanks,
    Xander

    Xander
    Check out
    Exif Viewer or
    Reveal
    to examine the Exif data on the files.
    Regards
    TD

  • Finding Out Date/Timestamp in iMovie

    How do you find out the date and time of the video? File>Adjust Clip tells me the date and time the clip was imported. I need the date and time the video was shot. Any suggestions???

    Click VIEW/Playhead Info, and you will see date and time metadata when you cursor over the clip.
    This works if you imported directly from a camera that has metadata like most DV cameras, most, AVCHD cameras, most h.264 cameras, etc.
    If you import from a VHS or Analog camera, you will need to add the date and time metadata yourself.

  • How to find out date in oracle when the Stored procedure in changed.

    Dear Sir,
    I want to know the list of dates when stored procedure is modified during a given period.
    eg. Procedure created 01/01/2011
    i changed the procedure 4 times say 01/10/2011,01/12/2011,01/01/2012 and 20/12/2012.
    from where i can get these details along with the other details like what will be procedure syntax at different modifications and most important what is ipof machine.
    thanks & regards
    Munish

    user9216770 wrote:
    Dear Sir,
    I want to know the list of dates when stored procedure is modified during a given period.
    eg. Procedure created 01/01/2011
    i changed the procedure 4 times say 01/10/2011,01/12/2011,01/01/2012 and 20/12/2012.
    from where i can get these details along with the other details like what will be procedure syntax at different modifications and most important what is ipof machine.
    thanks & regards
    MunishOracle does NOT retain or contain previous versions.
    You should be able to obtain these from your Source Code Repository; like Subversion.

  • How can I find out what bugs have been fixed in iTunes v11.3?

    Is this info available somewhere?

    Hello Vince,
    Thanks for posting in the Discussion Forums.  With regards to LabVIEW and
    multithreading, there are several things to consider.  This link:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/d2e196c7416f373a862568690074c759
    will provide you with a good background into multithreading and LabVIEW. 
    LabVIEW uses a user-level thread package, which means that LabVIEW is
    controlling the multithreading so the Operating System does not.  You can
    configure/manipulate some of the threading issue in LabVIEW through this VI: [LabVIEW]\vi.lib\Utility\sysinfo.llb\threadconfig.vi. 
    You can also gain a litle of information about your VI priority and execution
    system of your VI by using a VI property node.  You can also see
    significant performance gains by using the LabVIEW execution profiler
    (Tools->Advanced->Profile VI) to learn about where your program is
    spending time/memory.
    Another couple links of interest:
    Programmatically changing process priority:
    http://digital.ni.com/public.nsf/websearch/154489314A440D6486256BDD00607A2A?OpenDocument
    LabVIEW Real-time execution trace toolkit:
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/13746
    Hope this has been of some help today.  Please let us know if we can help
    out any further!
    Regards,
    Travis M
    Applications Engineer
    National Instruments
    Travis M
    LabVIEW R&D
    National Instruments

  • Find out date of the current week

    i want to find dates within this week (start from monday end to sunday always)
    suppose today is monday it retrun only todays date.
    if today is wedness day it return moday and tues day and todays date

    with t
    as
    select sysdate sdt,
           decode(to_char(sysdate,'fmday'),
                                  'monday',1,
                                  'tuesday',2,
                                  'wednesday',3,
                                  'thursday',4,
                                  'friday',5,
                                  'saturday',6,
                                  'sunday',7) cnt
      from dual
    select sdt - (level-1) dt
      from t
    connect by level <= cnt
    order by 1

  • How to find out date when user clicks on a date of Date Navigator

    Hi Experts,
    I have created WD application. It contains DateNavigator. User clicks on a particular date. We want to display the clicked date. How we can do so? I have done following coding. What I should type after "hi" + ????? to display the selected date.
    public void onActionSelectDate(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionSelectDate(ServerEvent)
        wdComponentAPI.getMessageManager().reportSuccess("hi ");
        //@@end
    Regards,
    Gary

    HI Gary,
    You can do this by binding the context attribute of type date to the firstSelectedDate property of the datenavigator Ui element.
    then suppose context attribute to which you have bound the UI element has the name date then create an action for the event onDaySelect. then write the following code in the event handler
    public void onActionselectdate(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionselectdate(ServerEvent)
        String str = wdContext.currentContextElement().getDate().toString();
        wdComponentAPI.getMessageManager().reportSuccess("HI" + str);
        //@@end
    It will solve your issue.
    But the date format here will be YYYY-MM-DD if you want to change it then either you have to use one simple type or modify it in the code itself by using some string operation.
    Regards,
    Sarbjeet

  • Find out data dictinary table.

    hai experts,
    in mm02 tcode  views like mrp 04  block   bom explosion/ requrements  under one field is  individual/coll (marc-sbdkz).
    select this field press f4  value along  value and with some text come .
    i want this text on which table save it.
    thanks in advance.
    Edited by: Rob Burbank on Jun 13, 2010 4:14 PM

    Hi,
    The F4 values are maintained as Fixed values in the domain SBDKZ.
    The text maintained for the fixed values are stored in the table DD07T.
    You can fetch these text by passing DOMNAME as SBDKZ and DDLANGUAGE as SY-LANGU from table DD07T.
    As Keshav told : You can also use the FM GET_DOMAIN_VALUES for the same.
    Regards
    DKS

  • How can I find out all dependings of a class ?

    Is there anywhere out there a tool, to find out
    from which classes is an other class depending ?
    I need this to find out a bug which came apparently from a static constructor which will be accomplish by loadind the class. It is for me important not only to know the directly imported classes but also the classes which are imported by the imported classes... and so on.
    Thanks in advance!
    Strucki

    You're misunderstanding what importing a class means. You can import a class without using it, and you can use a class without importing it. Importing a class has absolutely nothing to do with using a class and does not in any way indicate a class dependancy.
    In order to find the class dependancies, you should ignore the import statements. There are some tools that will do dependancy analysis, such as the free jikes compiler, but dependancy analysis in Java is very complicated and as far as I know there is no program that gets it exactly correct.

  • How to find grouping data in oracle

    table a
    mob_no,call_start_time,call_end_time,cgi_id_key
    table b
    cgi_id_key,latitude,longitude
    i want to find out data
    from
    table a,table b
    select
    a( mob_no,call_start_time,call_end_time),
    b(latitude,longitude)
    join_cluse
    cgi_id_key
    group by clause
    served_msisdn
    having
    count(*) > 2
    order by
    call_start_time

    well, if you knew where served_msisdn came from, you'd be done. you've basically written the entire rest of the query.

  • Finding out estimated date of release for bug-fix

    Hi, I've had a specific problem with printing webpages, which i'm hopeful the bugfix to bug 717178 will resolve. My users are really pushing for a solution, so how do I find out when the fixes associated with this bug will be pushed into the release channel, so I can test and advise whether there is a solution?
    Thanks
    Kat

    Perfect, thank you very much :)

Maybe you are looking for