How to find out if a table has logging on?

I need to temporarily turn off logging, and restore the logging setting afterward.
How do I find out if a table has logging on or off before my change?

TUBBY_TUBBZ?alter table tablea nologging;
Table altered.
Elapsed: 00:00:00.28
TUBBY_TUBBZ?select logging from dba_tables where table_name = 'TABLEA';
LOGGING
NO
1 row selected.
Elapsed: 00:00:00.00

Similar Messages

  • How to find out if a table has been changed?

    hello
    how can I find out in a zreport, if a specific table has been changed and  data has been added or deleted?
    like for instance the date of last change to the table?
    thanks
    Alisa

    Alisa...you can do it following manner
    * Execute the report RSVTPROT to extract the changes done to database table
    * table with output going into memory
    TYPES: BEGIN OF ty_abap_list.
            INCLUDE STRUCTURE abaplist.
    TYPES: END OF ty_abap_list.
    DATA: gt_abap_list  TYPE STANDARD TABLE OF ty_abap_list.
      SUBMIT rsvtprot AND RETURN
        EXPORTING LIST TO MEMORY  USING SELECTION-SCREEN 1000
                                  WITH cusobj   EQ c_tabname "Table Name
                                  WITH dbeg     EQ gv_begdate
                                  WITH tbeg     EQ c_begtime
                                  WITH dend     EQ gv_enddate
                                  WITH tend     EQ c_endtime
                                  WITH objfirst EQ ''
                                  WITH tabfirst EQ 'X'.
    * Extract the list from memory
      CALL FUNCTION 'LIST_FROM_MEMORY'
           TABLES
                listobject = gt_abap_list
           EXCEPTIONS
                not_found  = 1
                OTHERS     = 2.

  • How to Find out the all  tables in module wise ?

    Dear Friends,
    1.How to Find out the all  tables in module wise ?
       what are the total number of table in SAP ?
    2. how to find out all existing functions in SAP ?
    Thanks and regards,
    Subasha Chandra Sahoo.

    Hi,
    You will get the module wise list from:
    http://www.sourceveda.com/SAPReference.htm
    http://www.sourceveda.com/
    Regards...

  • How to find out if your Mac has the new Virus ?

    How to find out if your Mac has the new Virus, and how to fix it ???

    Helpful Links Regarding Flashback Trojan
    A link to a great User Tip about the trojan: Flashback Trojan User Tip
    A related link in the tip to a checker: Malware Checker Dowload Link
    A Google search can reveal a variety of alternatives on how the remove the trojan should your computer get infected. This can get you started.
    For now I recommend the User Tip from etressoft to detect and remove:
    Checking for and removing the "Flashback" trojan
    Kaspersky Flashback Trojan Site:Flashback Trojan Detection and Removal
    Also see Apple's article About Flashback malware.

  • How to find out the user who has created  a new field in the custom table.

    How to find out the user details who has created  a new field in the custom table.
    Thanks,
    Joan

    Hi Jesudasan ,
    You can know the user details with version management.Please find the
    below procedure to know.
    Go to table->Utilities tab->version->Version management->Compare the previous one .
    Hope this solves the issue,Let me know if you have any issues.
    Thanks,
    Rajani

  • How to find out which cube/ods has the code

    hi,
    I want to find out which cube/ods has the start routine/update rules written in it.  Is there a table or Tcode to find out the code instead of opening each cube/ods to find out whether there is code in it or not.
    Thanks,
    Sam

    hi Sam,
    take a look
    /message/3483792#3483792 [original link is broken]
    try RSTRAN, field STARTROUTINE
    related tables
    RSAROUT
    RSAABAP
    RSAABAPINV
    RSAROUTT
    Technical name of start routine
    Re: How to get info about a GP* program?
    Re: Search for start, update rule, etc. that uses infoobject
    if couldnt find out, you can use ST05 'sql trace', open 2 session, one for create start routine, and one for ST05, activate with option 'sql trace', then create start routine and 'deactivate trace' and 'display trace', and check out the tables list
    hope this helps.

  • How to find out what text encoding has been used in mp3 tag

    Hello
    I have some foreign songs that I am importing into itunes. When a song called "04.公路 塵埃 北合起." gets imported, it comes up in itunes as "04.§Ω∏Ù π–ÆJ •¶X∞"
    Now I don't know a lot about different text encodings, but from what I've read on the forums is that the problem is that the tags that are encoded on the srcfiles are not unicode. I have tried the java application "UnicodeRewriter" recommended elsewhere in the forums, but both the commone Chinese ecodings, viz Big5 GBK etc.
    Is there a way to cut a world from (eg a chinese glyph) and somehow find out what text encouding has been used?

    Sorry, that question wasn't very well phrased. I'll try it again.
    I have some foreign songs that I am importing into itunes. When a song called "公路 塵埃 北合起" gets imported, it comes up in itunes as "§Ω∏Ù π–ÆJ •¶X∞"
    Now I don't know a lot about different text encodings, but from what I've read on the forums is that the problem is that the tags on the srcfiles are not unicode. I have tried the java application "UnicodeRewriter" recommended elsewhere in the forums, but whatever I sent the source encoding to, eg Big5, GBK, or one of about 9 others, I just get different types of garbage coming through.
    Is there a way I could take the original glyph in the file name (which shows up correctly on my desktop) and paste it into some sort of table. That table will then show me how that glyph will look in all different encodings without the correct conversion. So if I can match my "公" to my "§" I'll be able to see what the src encoding is.
    I know this is a longshot, but any help appreciated.
    Sorry for the rather rubbish explanation earlier.

  • How to find out the columns which has 16 digit credit card number

    Hi All,
    I have a requirement where in i need to find out the columns which has 16 digit credit number in it and create a report with owner, table name and column name.
    The issue is that the credit card number can be entered in any columns of any table of any schema. For example the credit card number can be entered in any description field(eg: The number is 4001412134642881), in that case i need to filter only the numbers and do the LUHN check to validate the credit card number.
    Please provide me a suggestion on how to scanl the values of all the columns to know the column which has credit card number.
    Regards,
    Raj.

    Tell me this - how the hell do you have a database with credit card number data and NOT know which columns of which tables contain credit card numbers? (and how on earth is this data NOT encrypted!?)
    How is what you want to do, NOT a fishing expedition to hack a database that may or may not be storing credit card details?
    And do you honestly think that we should simply trust that once you have extracted these numbers, performed a Luhn algorithm to verify these as credit card numbers, you are not going to fraudulently use these credit card numbers!?
    I have marked your posting as an attempt to hack an Oracle database for fraudulent use of credit card data. I hope that your OTN account is terminated soon and trust that your too much of a coding idiot to actually succeed in this endevour.

  • How to find out where a variable has been used?

    How can I find out where a variable has been used within a package/interface/procedure?
    Should I check it using repository's internal tables?
    Thanks

    Hi,
    you have to make some queries to find variable used in which ODI object.
    like, it fetch the variable with scenario name and scenarion can serve your need.
    select v.i_var,v.var_name,s.scen_name from
    ODEV91119_ODI_WORK.snp_var v,ODEV91119_ODI_WORK.snp_scen s
    where
    s.i_var=v.i_var
    and s.scen_NAME='V_BTCH_NAME'
    and agree with SH answer
    Thanks

  • How to find out name of table for a structure.

    hello all,
                I want to find out name of table for a structure ADDR1_DATA. can anybody pls tell me how to find out it?
    Thanks,
    Ashu

    Hi Ashu,
    You write the structure name in se11
    after selecting the database table radio button
    click on the where used list button in the application tool bar.
    You will find the table name if it is used else where.
    Check out the website at:
    http://sap-idoc2edi-consulting.com/
    Read the blog at:
    http://blogs.ittoolbox.com/sap/ehadzipetros
    Regards,
    Jagadish

  • How to find out list of tables

    how to find out list of tables

    Hi,
    You can check table DD02L via transaction SE16/SE16N.
    Also please check this links.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e944e133-0b01-0010-caa2-be2cb240f657
    http://www.erpgenie.com/abap/tables.htm
    Regards,
    Ferry Lianto

  • How to find out all the tables in a schema with a particular column

    Hi
    Is there a way to find out all the tables in schema1 that has col1 as one of the columns?

    select table_name from dba_tab_cols where owner='schema' and column_name='col1';

  • How to find out when a table was last updated?

    Is there a way to find out when a table was last updated/inserted/deleted? Thanks!

    There may be an easier way but if you are trying to get info on something that has already happened look at your redo logs and archived logs. It would be hard but in V$LOGMNR_CONTENTS you could find the max time for a given object. Note to use this you need to set up log miner. Since you did not give a version try the Oracle 9i DBA Guide pg 9-1.

  • How to find out when a file has been written to ?

    Hello All,
    In an application I want to open up a file (while letting another process write to it). As stuff is getting written to the file I want to be able to process that data (getting close to real-time as possible). How would one go about finding out when new data has been written to the file ? Does Java provide some alerting mechanism for file changes ? Thanks in advance...
    -Pete

    Maybe you could keep tabs of the file size. If the file size grows (which it will do each time the writing process flushes that files output buffer), then the file was written to.
    What I'd like to know is if there is some way to monitor the entire drive for changes and respond to stuff like that. I know that the Win32 API provides services that monitor the file system for changes, but I don't know if other OS's do... or if Java provides an interface to those features.

  • How to find out size of tables

    Can you please suggest me how to find out the size of tables?
    I need to find what would be the appropriate size required for rollback segment.
    Your quick help would be highly appreciated.

    Sizing the Rollback Segments (rollback segment) is an iterative process and requires several scheduled maintenance windows to re-size the rollback segment, based on the DML load. The optimal rollback segment size is a function of system update load (as determined by v$rollstat and v$transaction):
    a) The COMMIT frequency.
    b) The size of RAM log buffers.
    c) Specific Oracle parameters (log_buffer, db_writer_processes, log_checkpoint_interval).
    d) The size of the rollback segment data files.
    The total size of the UNDO area for a specific transaction is as follows:
    If the undo is 'x' bytes for 'n' number of rows then
    T = x * (N / n) * 1.05
    Where T = Approximate Total undo for the transaction in bytes.
    x = Undo for the individual transaction.
    N = Total number of rows in the original table.
    n = Total number of rows in the test table.
    Optimal rollback segment sizing is an iterative process, and is normally "tuned" over a period of several weeks. Generally, we build spreadsheets to track usage and determine the optimal size:

Maybe you are looking for