Getting information about table names & other meta data

Hi,
I want to know about DatabaseMetaData & how to acess all table names & other metadata using JDBC-ODBC as well as direct drivers
can i get code for converting one type of database file to other.
Idesperately need this code.
please............

While most RDBMS implementations are stored as flat files, you cannot normally directly 'convert one type of database file to other'. DatabaseMetaData will give you a list of tables, views, schema, columns, etc. You can then create your own dynamic SQL statement, SELECT the data from the legacy RDBMS and INSERT into the new RDBMS. Otherwise, I'm not sure how you would accomplish a conversion without knowing the internals of the database or special software.
- Saish

Similar Messages

  • To get the DB table name used by CRM_UI_FRAME to store data.

    Hi All,
    Can anyone plz tell me how to get the DB table name used by the CRM_UI_FRAME to store data .Actually its a Ztable.
    Or else where to put the debug poin in order to get that.
    Thanx
    Abhishek

    Hi Abhishek,
    CRM_UI_FRAME is the name of the main BSP Application which generates the WEB UI in the CRM system. If what you are searching is  a Ztable, search it in your CRM system.
    Regards,
    Bhavana.

  • HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL

    HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL USING 10g Database and 10g Application Server
    we have developed an application using oracle forms 10g with
    oracle database 10g and Application server 10g
    Application uses a single Oracle User name to connect to database
    where as at Application level there are different users (these are not database users)
    Now how can we get the information about the user/his machine etc. at database level. earlier in 6i/8i we use to get by using
    USERENV('TERMINAL')
    we had written a triggers on tables on Insert/Update where we used to update a database field Last user terminal with USERENV('TERMINAL')
    but not this information is comming to be the machine name of application server where as we wish this to be the machine name of Client. Any Way outs
    thanks
    Chaand Kackria

    hi, you can use the sys_context function, like this:
    select sys_context('userenv','current_user'),
         sys_context('userenv','os_user'),
         sys_context('userenv','host'),
         sys_context('userenv','ip_address'),
         sys_context('userenv','instance'),
         sys_context('userenv','sessionid'),
         sys_context('userenv','terminal')
    from dual;
    Is this what you 're looking for?

  • How to get information about cursor? I had only a reference on it.

    Hello
    How to get information about cursor, that I receive in my procedure as a reference. For example I need to know, a number of columns. I know nothing about this cursor, except the link on it.
    Best Regards, Kostya Proskudin!

    However, I would seriously reconsider what you are trying to achieve.
    It looks like you are trying to write some ultimately generic cursor processor. i.e. pass any cursor and process it in some generic way.
    Good design should include knowledge of what is expected to be passed and that knowledge can be put into the code.
    Generic code is inherently difficult to maintain and debug and will never 100% deal with all possible situations e.g. even if you know the table being queried in the cursor you can't rely on the data dictionary to give you all the returned columns if some of the returned columns of the cursor are computed columns.
    Be careful you aren't writing something that's going to cause problems later.

  • How to Find what are tables and "Table Name" in particular "Data File"

    hi Team,
    I have one database that database 300 gb size , this database having 6 ndf files ,
    here How to Find  what are the tables and  "Table Name"  in particular "Data File"[.ndf]

    Hi,
    In addition to Prashanth’s suggestion, you can also use the following Transact-SQL statements to get more detailed information including  all objects and indexes per Filegroup / Partition and allocated data size of databases.
    The script can work with Microsoft SQL Server 2005 and higher version in all Editions. For more details, please review this article:
    List all Objects and Indexes per Filegroup / Partition.
    -- List all Objects and Indexes
    -- per Filegroup / Partition and Allocation Type
    -- including the allocated data size
    SELECT DS.name AS DataSpaceName
    ,AU.type_desc AS AllocationDesc
    ,AU.total_pages / 128 AS TotalSizeMB
    ,AU.used_pages / 128 AS UsedSizeMB
    ,AU.data_pages / 128 AS DataSizeMB
    ,SCH.name AS SchemaName
    ,OBJ.type_desc AS ObjectType
    ,OBJ.name AS ObjectName
    ,IDX.type_desc AS IndexType
    ,IDX.name AS IndexName
    FROM sys.data_spaces AS DS
    INNER JOIN sys.allocation_units AS AU
    ON DS.data_space_id = AU.data_space_id
    INNER JOIN sys.partitions AS PA
    ON (AU.type IN (1, 3)
    AND AU.container_id = PA.hobt_id)
    OR
    (AU.type = 2
    AND AU.container_id = PA.partition_id)
    INNER JOIN sys.objects AS OBJ
    ON PA.object_id = OBJ.object_id
    INNER JOIN sys.schemas AS SCH
    ON OBJ.schema_id = SCH.schema_id
    LEFT JOIN sys.indexes AS IDX
    ON PA.object_id = IDX.object_id
    AND PA.index_id = IDX.index_id
    WHERE OBJ.type_desc='USER_TABLE'-- add this WHERE clause to display the information of user tables
    ORDER BY DS.name
    ,SCH.name
    ,OBJ.name
    ,IDX.name
    Thanks,
    Lydia Zhang

  • I want complete information about table maintanence genarator?

    i want complete information about table maintanence genarator?

    hi there,,,,,,,
    The purpose of table maintainence generator is to enable the table maintenance through SM30, and to implement and validation etc on table field inputs.
    SE11->Utillities->table maintainence generator
    You need to enter the values of following fields:
    1. Table name
    2. Authorization group , and authorization object (select the suitable one )
    3. Function group and package
    4. Maintainence type : single or double screen maintainence view depending on the option selected.
    5. Maintain screen number : you may specify a value or let the system generate one for you.
    The validation code for the table entry is written in the flow logic of this screen. Even some of the fields may be made display only , by adding suitable code in the logic or directly disabling the input in table control in the layout.
    Table maintanance is for creating,adding datas to an existing table.
    it is for adding muiltiple records at a time in the table
    A table can be manipulated by a program or manually.
    When creating table, you will find a check box 'Table maintenance allowed'. If we
    check that option, we can manually enter entries using SE16 or table
    maintenance generator screen.
    SE16 is for data browser.
    Go to SE11, give the table name and click on change. Then Go to utilities--> Table
    maintenance generator.
    In the table maintenance generator screen, we should give Authorization Group,
    Function Group name (Function Group name can be same as table name),
    Maintenance type can be one step or two step, usually we will create with one
    step. we should give maintenance screen number. After clicking on create button,
    a table maintenance generator will be created.
    To check it go to SM30 . In SM30, we find display, Maintain options.
    We can view the table contents by choosing Display and we can create table
    entries by choosing Maintain.
    In the production system, end-users will not be having access to transaction
    codes like SE11 and SE16. Developers will not be having access to many
    transaction codes including the above two.
    To view the contents of the database table, we will use SE16n in Production
    system. Please find out the difference between SE16 and SE16n.
    All these authorizations will be maintained by BASIS team, by creating access
    profiles.
    So in order to edit or create the contents of a database table, we should go for
    table maintenance generator. In real time, authorizations will be maintained in
    production system. (even in development and Test systems to some extent).
    There is an audit like Sarbanes-Oxley Act for American clients, where every thing
    will be audited by government agency. To know more about SOX, use the links on
    the right hand side of this page.
    The second reason is, we can edit or create multiple entries at a time, using table
    maintenance generator.
    Apart from that we have options like 'Enter conditions' in table maintenance
    screen SM30. Please try to find out the use of those, by creating an example.
    Table Maintenance generator: Difference between one step and two steps.
    While creating table maintenance generator, we find below options:
    When we choose one step, we have to give the screen number in Overview Screen field.
    When we choose two step, we have to give both overview screen number and single screen number.
    You can give any number for screen. Don’t give 1000 screen number. As this
    number is reserved for selection screen.
    When we choose two step, two screens will be created for table maintenance. For
    single step only one screen will be created.
    When we choose two step, table maintenance will work as follows
    Go to SM30, give the table name for which you have created table maintenance-
    Overview screen will be displayed. To create entries, when you click on ‘new
    entries’. Another screen will be displayed, where you give input and save. You can
    enter one record at a time.
    Go to SM30; give table name for which you have created table maintenance-
    Overview screen will be displayed; To create entries click on ‘new entries’, you can
    enter the records on the same screen. You can enter multiple records at a time.
    We use single step generally, as it is user friendly.
    To completely understand the difference and above points please do exercise by
    creating table maintenance generator in both ways (using single step and two
    step).
    Link: http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    Link: http://help.sap.com/saphelp_46c/helpdata/en/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
    Link: /message/2831202#2831202 [original link is broken]
    One step, two step in Table Maintenance Generator
    Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
    Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
    pls reward if useful
    regards,
    rekha

  • How to get information about creation of a virtual machine on a Hyper-v host.

    Hi,
    How to get information about creation of a virtual machine on a Hyper-v host?
    I need: host name, time created, creator user.
    I saw in Hyper-V-VMMS but I found info about movements of VM between hosts.
    Thank's in advance.
    Denius Valiant

    For Host Name * Created Time Use This Command In PowerShell 
    Get-VM -Name (Read-Host "Type Your Vm Name") |select CreationTime , ComputerName
    and for Create User , As i know you should see on Event Log . 
    Go To Event Log Viewer--->Applications And Services Logs--->Microsoft--->Windows--->Hyper-V-VMMS--->Operational 
    You can see in Event Log who create the Vm.
    Whenever you see a helpful reply, click on Vote As Helpful & click on
    Mark As Answer if a post answers your question.
    LinkedIn:
      Facebook:
      

  • Within redbox I can not click on a movie and get information about it, instead I get an error message that says that the situation may be temporary. yet i keep having the same problem. Do you have any idea how to fix the problem?

    Within redbox I can not click on a movie and get information about it, instead I get an error message that says that the situation may be temporary. yet i keep having the same problem. Do you have any idea how to fix the problem?

    Did you delete all receipts with iDVD in the file name  with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/  folder before installing the new copy?  If not then do so and delete the new application also.
    Click to view full size
    Then install iPhoto from the disk it came on originally and apply all necessary updaters: Apple - Support - Downloads
    OT

  • Does someone know information about Company name:TianMei Electronic Trade Co., Ltd Address:Anbao Building No.28 street, quanzhou , FUJian, China.Is it Legit to buy there or not? or what information you have???please answer

    Does someone know information about
    Company name:TianMei Electronic Trade Co., Ltd
    Address:Anbao Building No.28 street, quanzhou , FUJian, China
    Pleas abswer is it legit or not?
    Does someone have got any experience with that company?
    Any information is welcome?
    Or is it somekind on cheating ?`?
    Do i get there a legit iphone or somekind of Chinese knock offs?
    <Email Edited By Host>

    You can look for authorized Apple resellers here:
    https://locate.apple.com/cn/zh/
    If you have any doubts about any reseller, I strongly advise that you not purchase from them. Buy your iPhone directly from Apple and you will then have no worries.
    Regards.

  • Can I get information about client DNS from GSS?

    Can I get information about the client's DNS request and which Data Center was choosed for this request? How long these informations are stored in GSS? Can I change this settings?
    Thank you.

    Following link will give you good start
    http://www.cisco.com/application/pdf/en/us/guest/netsol/ns378/c649/cdccont_0900aecd80122a78.pdf
    Its a two year old document but gives a good overview.
    For details visit
    http://www.cisco.com/en/US/products/hw/contnetw/ps4162/tsd_products_support_configure.html
    Syed

  • Howto get information about available queues?

    Any ideas how to get information about available queues on a Weblogic Server to browse them?
              When you have the jndi namespace and the name of the queue it's no problem to browse that queue, but when you don't have the name of the queue is there a way to still be able to browse the queue(s)?
              Any information is warmly welcomed.
              Thanks,
              Chris

    A QueueBrowser is currently the only way to view message contents. WebLogic 9.0 (out in beta now), provides comprehensive message management both via console and JMX.
              For 8.1, the following links may help get you started.
              JMS technology page:
              http://dev2dev.bea.com/technologies/jms/index.jsp
              WebLogic public management/monitoring APIs:
              http://edocs.bea.com/wls/docs81/jmx/index.html
              jsp based dest browser (which ultimately uses a QueueBrowser):
              http://dev2dev.bea.com/codelibrary/code/jmsdest.jsp
              JMS statistics dump:
              http://dev2dev.bea.com/codelibrary/code/jms_stats.jsp
              Tom Barnes, BEA

  • Howto get information about Java Stored Procedures programmaticly

    Hi all,
    using the DatabaseMetaData object it is easily possible to get information about database objects like tables, columns or even plsql stored procedures.
    But is there a way to get information about Java Stored Procedures which are published in packages ? Is it possible here to use a DatabaseMetaData object or is there any other solution ?
    TIA,
    Chris

    What sort of information do you want to know about the Java stored procedures?
    Would the views USER_SOURCE or USER_OBJECTS contain the information you need?

  • How to find table name which provide data for the DataSource

    Hi friends,
    How to find the Table name which providing data for the Business content DataSources (Master Data). Is there any table or Transation which give datasource and Table name at once.
    Thanks&Regards
    Revathi

    Hi Revathi...........
    1)If the datasource is extracting data from any table.................open the datasource using RSO2..........there u will get the table name......
    2) If the datasource is extracting data from any view.............go to RSA2..........copy the view name..........go to SE11 >> give the view name >> and check..........
    3) If Datasource is Function module based............then u hav to check in RSA2 >> give the datasource name >> execute >> there u will find the Extract structure name......Copy the Extract Structure name >> Go to SE11 >> in the Data Element field give the Extract structure name >> Display >> From the Entry Help/Check tab u can get the Table name............
    If u double click on the Extractor..............u will get the Function Module..............from there also u can check that the FM extracting data from which tables............
    For Other datasources also...........u can get the structure name from here........
    4) If the Datasources r LO datasources............then u can get the table name in LBWE.............LO extractor - goto transaction LBWE.................... Select the maintenance link for your datasource............
    here in the right hand pane.........in the drop down box, you can see the structures associated with this extractor ........ just remove the MC for the structure names to get the base table names. e.g. EKKO for MCEKKO.
    5) There is a pattern for the Extract structure name for LO datasources.............for an example..........
    DataSource 2LIS_11_VAITM ......Extract structure name is  MC11VA0ITM
    2LIS_11_VAHDR  >> MC11VA0HDR
    Hope this helps.........
    Regards,
    Debjani.......

  • How do I get information about new legal requirements?

    Hi
    We are 4 people in a company that has 39 active company codes in about 25 countries. How can we subcribe to whenever SAP releases new reports that meets legal requirements in specific countries? Some of our companys have their bookkeeping taken care by a neighboring country, so the bookkeepers would not know if there is a new report released from SAP. So how can we get information about new reports without having to read throug all the release documentation?
    Hope you can help
    Jens Bald
    IC Companys
    Denmark

    Hello Jens,
    this is a real problem.
    What is my experience? The first priority is: try to use the SAP Standard as far as possible. No user-defined reports, no exits. Try to be always up to date with hotpackages.
    A further help for me are the userforums here. If you have five minutes left, just have a look at all the questions and answers.
    I know, there is a lot of stuff to read, but the releasenotes have to be checked. Unhappily I didn't find another way.
    Sometimes SAP reacts just in time regarding new legal requests - and I can understand this. At least I have to say: It is not possible to manage this without having any support from the accountancy side. This enables you to search for this requests - instead of reacting.
    If a country changes statutory requests regarding taxreporting or new taxtypes, changing of rates the guys from local accountancy ought give you a hint. Because they get this information at first.
    I made good experiences with internal accounting forums or user groups (i. e. northern countries, westeurope, USA, southeurope). 
    Maybe it gives you a little help and I am very interested in all the answers to this thread.
    Best regards
       Horst

  • PDF DOM - getting information about underlining

    Hi, I‘m trying to prepare PDF documents for blind users. For this I have to extract the visual information of the text and there font style.
    And this is my problem:
    I read the PDF document through the Acrobat or Adobe-Reader application via UI-Automation, Microsoft Active Accessibility and the Adobe intern Accessibility library to access the PDDom.
    In all these different way there is no way (that I found) to getting information about if a word is underlined or not.
    Did anybody know a way to do this, or is it impossible to get information about that?
    Thank u for your interest in my post and for all the helping ideas that will be posted.
    J

    select prv_value from ctx_user_preference_values where prv_attribute='PATH'
    and prv_preference='MY_PREFERENCE_NAME'
    But note that you'll need to rebuild the index before this will take effect.

Maybe you are looking for