How to see if a data was inserted on a table on a particular date

Hi,
I I would like to know how to see if a data was added/removed on a table for a particular date?

Hello,
If the table does not have a date field that says when a record was inserted or updated, then you cannot know that information.
You can fix this by adding that date field to the table.
You can add a trigger that saves on history table that you need to create, when a record was inserted/updated/deleted.
Alternatively, you can use Change Data Capture.
http://blogs.msdn.com/b/manisblog/archive/2008/03/30/sql-server-2008-change-data-capture-part-i.aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com

Similar Messages

  • How to see all  psa  data   in bi-7

    how to see all  psa  data   in bi-7  all info area

    Hi,
    In BI 7.0 you wont find PSA tab in RSA1 (data warehousing workbench), for that you need to use RSA1OLD tcode.
    Other way is to go to the datasource and then right click->manage there you can find option to check all PSA requests which were staged from that datasource.
    Hope it helps....
    Cheers,
    Habeeb

  • How to see when and who made changes in some table???

    How to see when and who made changes in some table?
    Some makes me problems and I want to see who are the usernames.
    Thanks

    Nikoline wrote:
    How to see when and who made changes in some table?
    Some makes me problems and I want to see who are the usernames.
    ThanksEither you need to implement Oracle Audit, or use Logminer Utility to read archived redo log files

  • Sql code for authorizing senior staff after data was inserted in the table

    Dear sirs/madams,
    Sub:
    I am using oracle9i/forms6i/reports6i and developing software for rural bank,
    I need sql/procedure/function code for authorizing senior staff after data was inserted in to the table by the junior staff.
    Thanks in advance for your kind help.
    R. Chandrasekar
    e-mail: [email protected]

    So basically you want a form (only accessible by senior staff) which reads the data entered by junior staff and when it is has been validated by senior staff
    does the following in one transaction:
    This is in effect a design question.
    There are two different scenarios I see. Approve transactions in bulk, or approve individual transcations.
    Approve transactions in Bulk:
    Mark a column with approved.
    Move all approved into final table;
    delete all transactions from temp_table which are in final_table;
    commit;
    approve/move individually.
    insert transcation x into final_table where transaction_x in temp_table;
    delete transaction_x from temp_table;
    commit;
    Its basically up to you how you design it.

  • How to see (net due date + payment term's days) in fbl5n as a date

    hi experts.
    i need some informations about fbl5n fields
    i can see net due date and i can see terms of payment fields in the fbl5n but  if the invoice has a payment term (30 day additional etc) i want to see (net due date + payment term's extra days) . for example if the net due date is 01.06.2011 and payment term is extra 20 days  , how can i see 21.06.2011 in fbl5n or any other sceens?
    Edited by: Burak Akdasli on Jun 22, 2011 3:43 PM

    Hi
    I understand from ur question whats the billing date?
    If this is ur question, you can fetch it from sales order>item>billing tab.
    The logic u had mentioned is confusing be more specifc as to what scenario u are trying.
    Reward if it helped
    Chandru

  • How can i find the latest row inserted in a table

    i have a table with five columns and there is no primary key and everyday 100's of rows will be inserted to this table ,infact by mistake i have inserted a row and i just want to find out which is the last row i have inserted in to this particular table is there any way to find out this please......

    That's not guaranteed to give you the latest row added to the table. Oracle could place new rows anywhere depending on what happened to rows in the table previously, what space is available in the tablespace etc etc:
    SQL> create sequence dt_test_rowid_seq start with 1 increment by 1;
    Sequence created.
    SQL>--generate some test data
    SQL> CREATE TABLE dt_test_rowid as
      2  select     object_id,
      3     object_name,
      4     dt_test_rowid_seq.nextval ins_sequence
      5  from
      6     dba_objects
      7  where
      8     object_id is not null
      9  and
    10     rownum <10000;
    Table created.
    SQL>--here, the latest addition to the table....
    SQL> select max(ins_sequence) from dt_test_rowid;
    MAX(INS_SEQUENCE)
                 9999
    SQL>... reflects the highest rowid
    SQL> select ins_sequence from dt_test_rowid where rowid=(select max(rowid) from dt_test_rowid);
    INS_SEQUENCE
            9999
    SQL>--get rid of a load of rows
    SQL> delete from dt_test_rowid where mod(object_id,2)=0;
    2521 rows deleted.
    SQL>--insert a load more
    SQL> insert into dt_test_rowid
      2  select     object_id,
      3     object_name,
      4     dt_test_rowid_seq.nextval ins_sequence
      5  from
      6     dba_objects
      7  where
      8     object_id is not null
      9  and
    10     rownum <1000;
    999 rows created.
    SQL>--and here the latest addition to the table...
    SQL> select max(ins_sequence) from dt_test_rowid;
    MAX(INS_SEQUENCE)
                10998
    SQL>--...is NOT reflected by the highest rowid
    SQL> select ins_sequence from dt_test_rowid where rowid=(select max(rowid) from dt_test_rowid);
    INS_SEQUENCE
            9999

  • How to update based on condition during insert on child table

    hi all,
    i have three tables, first table enquiry(enqid, item, type) where all enquiries are entered. after that table bom (bomid, item, enqid, rawmatl) and route (bomid, routeid,routename). in this bom & route are Master Detail table, where entries are made on a later period. the requirement is to update 'type' in enquiry table during insert on Route table.
    for 1 row in bom table there will be more than 5 rows in route table. the condition to update type field in enquiry is, scan the first 5 rows of route table during insert and if routename field contains 'JG' the update type with 'J'. if 'JG' is not there scan the same 5 rows for 'ED' and update type with 'E'. if 'ED' is not there scan for 'CN' and update type with 'C' like this 3 more to test and update.
    thanks in adv. am on 8i
    Kris

    yes, trigger or proc. or package
    any idea how to do this...?

  • How to see the logic in an existing range partition table of a database.

    Hi I need to see the logic used in a Range partitioned table in a database.
    I need this because i need to create a db similar to this.
    This is a live database.
    Version used :10.2.0.3.0
    How can i seee this
    Cheers,
    Kunwar

    How to get that.
    For example if i want to see the script for a table. I get this eror
    SQL> select dbms_metadata.get_ddl('TABLE','x) from dual;
    ERROR:
    ORA-31603: object "x" of type TABLE not found in schema "SYS"
    ORA-06512: at "SYS.DBMS_METADATA", line 1546
    ORA-06512: at "SYS.DBMS_METADATA", line 1583
    ORA-06512: at "SYS.DBMS_METADATA", line 1901
    ORA-06512: at "SYS.DBMS_METADATA", line 2792
    ORA-06512: at "SYS.DBMS_METADATA", line 4333
    ORA-06512: at line 1
    And i dont know the login details of that user..

  • How to see every frame of an inserted movieclip?

    Suppose I have a flash movie with 100 frames and on frame 20
    I insert a movieclip with 10 frames.
    When I scrub through my timeline and get to frame 20-30 i
    only see the first frame of my inserted movieclip.
    Is there anyway of enabling so that you see each frame of all
    movieclips no matter how many you have
    inserted inside each other?
    Thx for listening :)

    I forgot to mention that you should convert it mack to a MC
    when you are done so it can be targeted
    with AS.
    Graphic symbols can also have their own number of layers and
    frames - most animators work inside
    Graphic symbols to keep animations in sunc with each other -
    they can also control the graphic
    symbol with the Properties panel as well. many uses.
    But my suggestion was a temporary one for you - switch it
    back when you need it to be a MC.
    -c
    ~~~~~~~~~~~~~~~~
    aquastealth wrote:
    > That works great :) but forgive me for asking: Ive
    always been told to use
    > everything as movieclips cause they are more
    controllable with actionscripting
    > etc than graphic symbols. I thought graphic symbols were
    only used as for
    > static graphics now Im really confused of when to use
    mc's contra graphic
    > symbols???
    >

  • How to see the historic data of CAT2

    Dear All,
    I have a question related to CATS.
    Through which table I can get the historical data of an employee which is stored in CAT2 transaction. I tried through CATSDB but not able to get the number of working hours as stored in CAT2.
    I clied on a field of CAT2 and checked the technical details. there I found the table name CATD but when I run SE11 and enter this table name, it display it as a sturcture not as a table.
    Please provide your help in this regard.
    Regards,
    -Neha

    Maximum NUmber of Columns allowed is 1023. So if there are more data than that, I am afraid there is no way to see them all in one screen.
    the better thing to do is to use the Settings>Format List>Choose fields option from the selection screen of SE16 to just choose the fields which you want in the output.
    It is highly unlikely that you are using all the 100 fields so you can very well hide a few of them with no impact on your output.
    As someone else has suggested using a report such as CATSXT_DA will defintiely be a much more useful way of viewing all relevant fields from CATSDB.

  • How to see the authorization data of a user in Web Dynpro ABAP

    Hi all,
    if I have authorization problems in a normal SAP transaction I can use transaction SU53 to see the missing authorization objects.
    How can I get the missing authorization objects for a Web Dynpro ABAP application?
    regards

    What about using SU53 again - just log into ABAP system and use the F5 - "other use"r option to select the user having the issues.
    There is unfortunately no way to see this as standard from the WDA application.
    Sorry,
    Chris

  • How to see all the data base tables in sap

    hi all,
    i wanted to see the table ALBTCMON but i cannot and i want to know how to activate a table?
    thanks for your time
    chandu

    Hai,
    Why do you want to create a Table?
    More over the table ALBTCMON you have mentioned should not be created because SAP allows only Tables with names starting with 'Y' or 'Z'.
    Also you should know the fields, Developement class, etc., before creating the Table in SAP.
    Please check the below link to create Table in SAP.
    http://abaplovers.blogspot.com/2008/02/creating-table-in-sap.html
    Use Tcode SE11 to activate your table.
    Regards,
    Yoganand.V
    Edited by: Yoganand Vedagiri on Dec 29, 2008 12:15 PM

  • How to see the last date of user modification , modify type etc......

    Hi All,
    We have installed EP 6.0 ,is there any out to get the details of changes made to a User/User account in the Portal like the following things :
    - last modified date.
    - modify type.
    - modifyed by.
    Secondly is there also any method tro get the following details on Portal for any user account :
    - someone changes the validity dates of a user.
    - updates Roles/Groups to a user.
    - deletes a user. etc.,
    PLZ revert back at earliest , i need this info at earliest.
    With Regards,
    Saumya

    Hi,
    Enable security log as mentioned in the below URL.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a0/58db515b95b64181ef0552dc1f5c50/frameset.htm
    This would capture all the creation/modification/Deletion of users, groups and roles objects.
    The above log will be stored in ......log/system/security.<n>.log and can be viewed with the LogViewer
    Hope this would be helpful.
    Regards,
    Birla.

  • How to see when SR Escalation was created in the Audit Trail

    We have an FDA requirement that the Oracle SR audit trail show when an escalation was created and closed. The audit trail doesn't show this currently in our system. Looking for a way to make this appear in the audit trail.
    We need to be able to provide a single audit trail through the forms (reports are not acceptable) that shows all SR details (as standard functionality) along with when the escalation was created and de-escalated (or closed)
    Any ideas using 11.5.10.2?

    Abhishek 
    I tried to delete the extension, in the Log tab, I only got one error which is:
    Table CI_EEW_ORDERADM_H can't be created with package $TMP
    Seems like the deletion process tried to change the structure CI_EEW_ORDERADM_H.
    I checked this structure, there is already a field added by other developer, but this structure is apparently in another z-package.
    So what I should do now?
    Thanks

  • How to see who and where was using my icloud account

    I entered my email and found that some one send swear email to my father

    Information on logins is not available. Did you find this email in your 'sent' box? - if so you should immediately change your password at http://appleid.apple.com - you will need to sign out of iCloud on all your devices and sign back in with the new password

Maybe you are looking for

  • Backing Up And Restoring iMovie

    To my dismay I have to completely reinstall my operating system, which happens to be OS X Snow Leopard 10.6.4. I need to back-up my iMovie events and projects to my external hard drive and then put it back the way it was after the OS install. I took

  • IPhone could not be synced because this computer is no longer authorized for purchased items that are on this iPhone

    Hi everyone. I have a reoccuring issue when trying to sync my iPhone 5 to my Mac OS X 10.9.2 (all softwares are up-to-date). Everytime I try to sync my iPhone to my Mac a message pops up saying: "The iPhone "Jennifer" could not be synced because this

  • 2 gigs of RAM vs. 1 gig...

    I appologize in advance because I know this question has been asked at least 10,000 times but I could not find the disscussions retaining to my topic when I searched for them. Anyways... I am trying to run programs like Final Cut Pro and Adobe Photos

  • "Importing" table-comments into an existinting server model with a text file

    Hello i have redesigned a database with the "capture design" tool - server model and server model diagramm is ok. Now, i want add many table- and column-comments into the server model. I wrote these comments with the "comment on table..." and "commen

  • Third party mouse/keyboard combos

    first post here. i am going to buy a bluetooth mouse plus keyboard combo. i am quite interested in logitech mx5000 (http://www.logitech.com/index.cfm/products/details/US/EN,CRID=2158,CONTENTID=107 76&ad=hpb_mx5000) would this thing work with the inte