How to find the long/raw datatype tables

HI ppl,
I want to find out the long/raw datatype tables in Oracle database.
Please provide the query..
Plz help.
Oracle version :10gr2
platform:HP-UNIX

Hi,
is this is what you are looking for?
SELECT
     TABLE_NAME,
      COLUMN_NAME,
      OWNER
FROM
      DBA_TAB_COLUMNS
WHERE
      DATA_TYPE IN('LONG','RAW')Regards

Similar Messages

  • How to find the list of existing tables in a schema using DB link?

    Hi
    I know how to find the list of existing tables in a schema using the following query
    SQL> select * from tab;
    but, how to list the tables using a DB link?
    For Example
    SQL> select * from tab@dblink_name;
    why this doesn't work?
    Pl advice me
    Thanks
    Reddy.

    ORA-02019: connection description for remote database not foundHave you used this database link successfully for some other queries?
    The error posted seems to indicate that the DB Link is not functional at all. Has it worked for any other type of DML operation or is this the first time you ever tried to use the link?

  • How to find the column name and table name with a value

    Hi All
    How to find the column name and table name with "Value".
    For Example i have value named "Srikkanth" This value will be stored in one table and in one column i we dont know the table how to find the table name and column name
    Any help is highly appricatable
    Thanks & Regards
    Srikkanth.M

    2 solutions by Michaels (the latter is 11g upwards only)...
    michaels>  var val varchar2(5)
    michaels>  exec :val := 'as'
    PL/SQL procedure successfully completed.
    michaels>  select distinct substr (:val, 1, 11) "Searchword",
                    substr (table_name, 1, 14) "Table",
                    substr (t.column_value.getstringval (), 1, 50) "Column/Value"
               from cols,
                    table
                       (xmlsequence
                           (dbms_xmlgen.getxmltype ('select ' || column_name
                                                    || ' from ' || table_name
                                                    || ' where upper('
                                                    || column_name
                                                    || ') like upper(''%' || :val
                                                    || '%'')'
                                                   ).extract ('ROWSET/ROW/*')
                       ) t
    --        where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
           order by "Table"or
    SQL> select table_name,
           column_name,
           :search_string search_string,
           result
      from cols,
           xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
           columns result varchar2(10) path '.'
    where table_name in ('EMP', 'DEPT')
    TABLE_NAME           COLUMN_NAME          SEARCH_STRING        RESULT   
    DEPT                 DNAME                ES                   RESEARCH 
    DEPT                 DNAME                ES                   SALES    
    EMP                  ENAME                ES                   JONES    
    EMP                  ENAME                ES                   JAMES    
    EMP                  JOB                  ES                   SALESMAN 
    EMP                  JOB                  ES                   SALESMAN 
    EMP                  JOB                  ES                   SALESMAN 
    EMP                  JOB                  ES                   PRESIDENT
    EMP                  JOB                  ES                   SALESMAN 
    9 rows selected.

  • How to find the deleted data in tables

    guys,
    how to find the deleted data in tables example: i want to see whether anyone deleted data in MB5B report tables like mbew, etc.,
    regards,

    Hi,
    MBEWH is actually the history table of MBEW. It will record all the changes. As I have told you earlier if you have deleted the record dirctly from the table then it will not come even in the table MBEWH
    That means no changes have been made.
    regards

  • How to find the list of all tables populated

    How to find the list of tables populated in the implentation of a particular company. DD02L contains all the tables SAP having. But i want only which are configured for a particular company.
    Also how to find the list of reports used by all users in a particular company. TSTC contains all transactions. But i require only reports used by a particular company.

    Hi Mohamed
    You use Solution Manager to do the comparison for you.  There are some nice features that will highlight all your customised coding.  Have a look at the SolMan resources on the Support Portal e.g. using SolMan for upgrade comparisons.
    Rgards
    Carl.

  • How to find the size of a Table

    Dear all,
    How can i find the size of a table in a schema and size of the schema also.
    Thanks
    Mahi

    Try out with the help of this package, which will give out the total bytes, unused bytes, calculate the free bytes from total byes-unused bytes.
    dbms_space.unused_space(
    upper(oname),upper(tbname),upper('TABLE'),
    total_blocks, total_bytes,
    unused_blocks, unused_bytes,
    last_used_extent_file_id ,
    last_used_extent_block_id,
    last_used_block
    );

  • How to find the Cross Dependencies of tables

    Hi,
        I have table in Database A, but that table is referencing in another database in the instance's SP,Views and Jobs.How to find the full dependencies of the table include cross database.
    I tried with below T-sql but no luck..
    --object that view depends on..Tables referenced in Below View---
    SELECT * FROM sys.sql_expression_dependencies
    WHERE referencing_id = OBJECT_ID(N'Table-Name');
    GO
    --objects depends on the view--
    SELECT * FROM sys.sql_expression_dependencies
    WHERE referenced_id = OBJECT_ID(N'Table-Name');
    GO
    pls guide me..I am planning to remove particular table but before i need to find all the dependencies on the table.

    see
    http://visakhm.blogspot.in/2010/01/finding-cross-server-cross-db-object.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to find the relation between that tables

    Hi,
      I have to get the data from different tables but I dont have any table relation ship. So If any body can help me to get that relation ship that will be very helpful for me.
    my tables are
    LFA1     
    LFB1
    LFC1
    RFSDO
    BSIK     
    Thanks
    Imran

    >
    SURINDER SINGH OBEROI wrote:
    > Hi,
    >
    > LFA1-LIFNR = LFB1-LIFNR = LFC1-LIFNR = BSIK- LIFNR
    > LFB1-BUKRS = LFC1-BUKRS = BSIK-BUKRS
    > LFC1-GJAHR = BSIK-GJAHR
    > LFC1-ERDAT = BSIK-AUGDT
    >
    > Cheers,
    > Surinder
    You think, you can fetch accurate data with the above mentioned linkages?
    Oh btw, the question i believe the question was How to find the relation....
    pk

  • How to find the original RAW file # from a Lightroom exported JPG?

    Hello, this is in regards to a Lightroom 3.5 exported JPG. This was a year ago when I had been told it was best to export files with simple renumbering of them from 1 to x... instead of retaining the original RAW 4-digit file name.
    I've currently lost the original files, and need to do a search for them via these 4 digits to see if I have them tucked away in any of my drives. I downloaded a metadata explorer, and it's telling me all the lightroom editing information, and everything else, but somehow does not have the simplest of information — that 4 digit original file name.
    Am I grasping at straws or is there likely to be any way to find this information out? I don't work with metadata, so there wouldn't have been any customizations to how Lightroom configures this....hoping that's in my favor. Any help is much appreciated!!!!

    A note about security (context: downloaded apps & plugins...).
    Anatomy of a URL:
    protocol://stuff.stuff.stuff.domain.domain-suffix/stuff/stuff?stuff=stuff
    None of this stuff matters much except:
    domain.domain-suffix (and protocol, to some extent).
    So if you download something from:
    http://ignafradifcawhatyousay.toolonganyway.my.server.com/gogafnoics...
    It's coming from server.com using http (web) protocol.
    But, if you download it from:
    http://my.server.com.badguy.tv/...
    It's coming from badguy.tv, NOT server.com, so if you want it from server.com - danger will robins...
    And, if you download from
    http://216.195.245.134/my.server.com
    It's coming from an unregistered internet address (216.195.245.134) - again: danger...
    (4 groups of up-to-3 digits separated by dots is the format for a literal internet (IP) address, instead of domain-name...)
    Summary: if you learn the anatomy of a URL, and pay attention to the URL's you are clicking on, or entering directly, you can take more responsibility for security, and assure (to a greater extent) you don't download from an unfriendly source.
    Disclaimer: I accept no legal responsibility for anything that happens as a result of anything written above...
    Rob

  • How to find the dependency of a table

    Hi All,
    how to find all packages or procedure which are using specific table . is there any table where we can go and search .
    i mean i have table called let say table_A and i want to find in which procedure or package this table will be using .
    Thanks
    Sree

    Tables dont depend on packages/procedures.
    However packages/procedures may use tables.
    That said, if youre using TOAD, just press F4 on the table name and click on the used by tab.
    S

  • How to find the Transport request for table entry

    Hi ,
    There was certain entry made in the SAP std table and which got transported to subsequent system. I want to find the Transport Request Number which was containign that table entry and which gor transported.
    Please suggest how can I find that transport number.
    Thanks
    Saurabh

    Hi,
    Yes we can get , Basis team will help.
    B'coz i had same requirement my basis got the TR for me.
    Take their help.
    He said u can like this.
    SE11 - > Table Display - > Table Entry in Menu Bar - > Transport Entries.
    Rhea.

  • How to find the t-code for table (SM30 or SE16)

    Once I create a t-code though SE93. And I choose type: Transaction with parameters.  Then the Transaction is SM30, 
    But I forget the t-code, how do I find this t-code base on the table name.
    ep:

    Hi
    Use database table TSTCP and search for tcode with below selection criteria.
    Enter *tablename* in param filed and execute.
    Thanks

  • How to find the no of tmp table used in the db object

    Hi all,
    I have a big sp of 5K lines, which uses some 15 odd tmp tables in it. I would like to find how many and which are the tmp used by this stored procedure; with out looking line by line of code.
    Is it possible.
    Regards

    NeilCSE wrote:
    Hi all,
    I have a big sp of 5K lines, which uses some 15 odd tmp tables in it. I would like to find how many and which are the tmp used by this stored procedure; with out looking line by line of code.
    Is it possible.
    RegardsDefinitlly, if the code , is well written, they might have used some terminolgies while creating temporary tables (for ex TMP_tablename) Search for those tables in all_source view,
    SELECT TEXT from all_source where upper(text) like '%TMP_%'Hope this helps.
    Regards,
    Achyut

  • How to find the sequence for a table.

    Hi Everyone,
    I've got plenty of sequences. How can I identify that what are the sequences acting on a table?
    Regards,
    BS2012.

    Greg.Spall wrote:
    In my last job, we used the table/column comments to point to the sequence.
    so:
    CREATE SEQUENCE seq_test1;
    CREATE TABLE my_table
    (id   number);
    COMMENT ON TABLE my_table IS 'Test table for demonstration purposes on OTN';
    COMMENT ON COLUMN my_table.id IS 'Primary Key, sequence populated: seq_test1';... or something like that :P
    But yeah, outside of that, good luck if you have no documentation!Of course, ALL of the 'code search' solutions put forth are assuming the references will be found in PL/SQL packages. That ignores the potential that the code could be located somewhere else, like application code that exists OUTSIDE of the database .... Bottom line is that there is no 100% one-size-fits-all method for automating the discovery of relationships between tables and sequences.

  • How to find the OWNER of a table with JDBC metaData?

    Hi,
    i write a dynamique dataBase gui for multiple dataBase (oracle, postgre..)
    I want to use JDBC meta data to configure the gui
    I can't find methode to optain a specifique table list for a owner...
    with getTablePrivileges I see the Grantor but not the owner (the grantor isn't always the owner)
    and I can't use schema because schema isn't supported by postgre
    some one can help me ?
    thanks a lot
    Christophe

    Yes of course but it is DataBase dependent...
    and I want to use different DataBase...And what sort of owner would you expect in a MS Access
    database?
    if they are only one user we work only whith one "schema owner" the data base is structured in this way
    but when multi user is possible we want to work with specifique relation beetwen different user ...
    we want to use users because more dataBase suppport multiple owner than multiple schema
    and generaly our information are divide in
    genereral and referential information ( explain of data and list of values etc ...)
    and the specifique data.
    And our GUI distingue the "META DATA" and the pure "DATA" and propose specifique properties to interact with those data
    i hope that my problem is better explain now .
    example we use
    resultSet = connection.getMetaData().getTables("","%","%",new String[]{"TABLE","VIEW"});
    to optain all the table and view
    resultSet = connection.getMetaData().getTablePrivileges(null,null,"tableName");
    to optain privileges for a table
    the trouble is that in specifique catatalog table like oracle we find a colomn whith the owner properites and when we use getTablePrivileges we can't see it idem for posgree
    Each privilige description has the following columns:
    TABLE_CAT String => table catalog (may be null)
    TABLE_SCHEM String => table schema (may be null)
    TABLE_NAME String => table name
    GRANTOR => grantor of access (may be null)
    GRANTEE String => grantee of access
    PRIVILEGE String => name of access
    IS_GRANTABLE String => "YES" if grantee is permitted to grant to others; "NO" if not; null if unknown
    has you see we have GRANTOR information but not OWNER information
    and the GRANTOR isn't allways the OWNER ...
    Christophe

Maybe you are looking for

  • I was wondering if it was truly the policy of your retail stores to not tell customers whether they have a product in stock or not over the phone?

    I . like everyone else, have been in search of an iphone6 and i d rather not order it online, my nearest verizon store is a couple of miles away and i don't drive, Every time i call they tell me they "cant discuss inventory over the phone". All i nee

  • How to adjust table order in OBIEE.

    now i design logic model in admin tool. tableA join tablleB (tableA.id = tableB.user_id) after i design it, i drop tableA.id, tableB.user_id) into answer. then i check sql log in analytics web applications. the sql is like below, my questions is if i

  • I want to run KDE as root?

    It seems that I can't run KDE 3.2 as root. Anyone know how I can do this? I like being able to run KDE as root, because I like the GUI environment for setting up new users etc. I could do this in Gentoo. Also I don't run it as root all the time, and

  • Commit button in Headstart Toolbar does not change at Record Insert

    In some (we have al least three different forms) forms with a multi-record block the toolbar does not register a status change if a new record is entered and the commit button wil not be enabled. Could someone tell us which trigger(s) effect the tool

  • Why is my hard disk so full?

    My Mac Mini has a 55 gig hard drive and it only has 200MB left!   As most sites suggest, I have deleted all caches, removed unused programs, deleted old operating systems, emptied the trash, etc.  Finder is telling me that I am using 9.9 gigs but tha