How to Request Database Schema from a Linked DB

How does one Request Database Schema to be added to your workspace when that Schema is in a linked DB ?

You can't do that.
Scott

Similar Messages

  • How to generate database schema from CMP?

    I'm using JDeveloper 10g to design J2EE application in the Up-bottom manner. Then I have written UML model with CMP beans and now I would like deploy the model to the database. Is there a wizard to automaticly generate database schema from CMP beans?
    Marek

    Here are some links that might help you:
    The Oracle XML Developer's Kits (XDK) contain the basic building blocks for reading, manipulating, transforming and viewing XML documents. Includes XML Schema Processor: supporting Java, C, and C++, allows use of XML simple and complex datatypes.
    http://otn.oracle.com/tech/xml/xdkhome.html
    Building Server-Side XML Schema Validation
    Discusses how XML Schema can be used within Oracle9i to validate XML documents.
    http://otn.oracle.com/tech/xml/xdk_sample/xdksample_093001.html
    How XML Schemas Simplify Dynamic Content Management
    With XML Schema now a W3C Recommendation, compare Document Type Definitions to XML Schema.
    http://otn.oracle.com/tech/xml/htdocs/SchemDTD.html
    Regards,
    -rh

  • How can I know the request is come from the link in header in the filter?

    I am using the tile for layout management and each page has a header, menu, and content body. I want to do something at the filter If the request is come from the commandlinks in the header and menu.
    How can I know the request is come from the link in header in the filter?

    Basically all you have to go on is the request data. Examine the encode/decode requirements for commandLink; you may be able to determine from the request attributes which commandLink has been invoked.

  • What is the best way to create a database schema from XML

    What is the best way to create a database schema from XML?
    i have  a complex XML file that I want to create a database from and consistently import new XML files of the same schema type. Currently I have started off by mapping the XSD into Excel and using Mysql for Excel to push into MySQL.
    There must be a more .net microsoft solution for this but I cannot locate the topic and tools by searching. What are the best tools and way to manage this?
    Taking my C# further

    Hi Saythj,
    When mentioning "a database schema from XML", do you mean the
    XML Schema Collections? If that is what you mean, when trying to import XML files of the same schema type, you may take the below approach.
    Create an XML Schema Collection basing on your complex XML, you can find
    many generating tools online to do that.
    Create a Table with the above created schema typed XML column as below.
    CREATE TABLE youTable( Col1 int, Col2 xml (yourXMLSchemaCollection))
    Load your XML files and try to insert the xml content into the table above from C# or some other approaches. The XMLs that can't pass the validation fail inserting into that table.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • New iphone 6 with ios 8.0 crushed and didnt open again. call center told me that use itunes to update 8.0.2 but server is too slow and didnt let me download it. it stopts in the middle of the session. how can i download it from another link or server

    new iphone 6 with ios 8.0 crushed and didnt open again. call center told me that use itunes to update 8.0.2 but server is too slow and didnt let me download it. it stopts in the middle of the session. how can i download it from another link or server. by the way i try to dowload from turkey.

    anyone help me there? )=

  • How to move database objects from one user to another user

    Could someone help how to move database objects from one user to another user
    Thanks in advance

    Thanks a lot for the reply.
    Actually I wanted to know whether there is any command to change the owner ship of the table.
    For ex table1 belongs to user1. can the owner of table1 to be changed to owner2.
    directly using an oracle command. I knew that it can be done using import and export, since the table was 200 million thought the rename command would be faster instead of import and export.
    Thanks Billy for letting me know that it is not possible using oracle query.

  • How to create Default Schema from within the application

    Hi friends
    I am creating users using the following within my application using this syntax
    BEGIN
    APEX_UTIL.CREATE_USER
    (:P124_USER_ID, :P124_USER_NAME,:P124_USER_FIRST_NAME,:P124_USER_LAST_NAME,' ',:P124_USER_EMAIL_ID,'xxxx');
    END;
    The default workspace for the user is set as blanks. I would like to set it to be the default workspace as per the current logged in user.
    Can you help me with the syntax for this
    thank you in advance
    Laxmi

    Laxmi,
    The subject of the post is "How to create Default Schema from within the application".
    But your question asks how to set the "default workspace" for a newly created user.
    Those are different questions and not the ones I think you need answered.
    Let me answer this question "How can you set the default schema for an account when creating the account and set it to the same value used for the default schema attribute of the administrator account used to authenticate to the currently running application?".
    In the apex_util.create_user call use named parameter notation and fetch the information about the currently logged-in user first, e.g.,declare
      l_workspace               varchar2(256);
      l_user_name               varchar2(256);
      l_first_name              varchar2(256);
      l_last_name               varchar2(256);
      l_web_password            varchar2(256);
      l_email_address           varchar2(256);
      l_start_date              varchar2(256);
      l_end_date                varchar2(256);
      l_employee_id             varchar2(256);
      l_allow_access_to_schemas varchar2(256);
      l_person_type             varchar2(256);
      l_default_schema          varchar2(256);
      l_groups                  varchar2(256);
      l_developer_role          varchar2(256);
      l_description             varchar2(256);
    begin
    apex_util.fetch_user (
      p_user_id                  => apex_util.get_current_user_id,
      p_workspace                => l_workspace,
      p_user_name                => l_user_name,
      p_first_name               => l_first_name,
      p_last_name                => l_last_name,
      p_web_password             => l_web_password,
      p_email_address            => l_email_address,
      p_start_date               => l_start_date,
      p_end_date                 => l_end_date,
      p_employee_id              => l_employee_id,
      p_allow_access_to_schemas  => l_allow_access_to_schemas,
      p_person_type              => l_person_type,
      p_default_schema           => l_default_schema,
      p_groups                   => l_groups,
      p_developer_role           => l_developer_role,
      p_description              => l_description);
    apex_util.create_user(
      p_user_id        => :P124_USER_ID,
      p_user_name      => :P124_USER_NAME,
      p_first_name     => :P124_USER_FIRST_NAME,
      p_last_name      => :P124_USER_LAST_NAME,
      p_email_address  => :P124_USER_EMAIL_ID,
      p_web_password   => 'xxxx',
      p_default_schema => l_default_schema);
    end;Scott

  • How to create the database schema from an existing TimesTen database ?

    Hello everybody,
    I'm a newbie to TimesTen database. Before doing complicated sql queries, I would like to obtain the database schema of TimesTen DB. I'm looking for a way to extract the schema of database (tables, keys, links between tables ...). When I was working on other db like postgreSQL, I was able to obtain the sql script of the database (for exemple, in order to re-create the database in an other server). Some software like PowerAMC was able to built the database model from these scripts.
    Do you know a way to obtain the same with TimesTen database ? Or with an other way ?
    Regards

    Hi,
    Take a look in the docs at ttSchema, this might do the trick.
    http://download.oracle.com/docs/cd/E13085_01/doc/timesten.1121/e13069/util.htm#autoId27
    Tim

  • How to port database changes from development to a production environment

    How do I port database changes from the development to the production environment?
    I am using v8 and have always had to redo everything using the schema manager all over in the production environment. Is there an easy way to generate a script, for example to dump the database changes on the development machine to be executed later on the production machine?

    This should already be a clearly defined change control process. Once a procedure, function, package, trigger, or whatever completes the testing rounds, it should be promoted to production.
    Forgive me if it seems I'm trivializing, but I don't see the problem, just copy the object(s) from your software library (or development) into production using whatever tool works best or has been chosen. If you are doing data copies then you have various options again including good old export/import.

  • How to change database schema of data source in OWB?

    Hi,
    Could someone give me hint about my questions:
    I select many database schema in TOAD. like "My Shema" and "All Schema".
    If I create a Oracle Data Source in OWB 10.2. All tables/viewsI can see only from "My Schema" (I think it is default), However, I need to connect "All Scema". There are lots of prod tables/views. I don't know how to set/change/config in OWB even reading guide.
    Thanks a lot
    Lan

    Lan,
    You can ONE of the following:
    1. Dbl click the src/target module and go to metadata location tab and select a location that has the details pointing to the different schema (If you do not have this location created, you may have to create one).
    2. Create synonyms in "My Schema" to objects from other schema. Then try to import the tables again. This time you will be able to see the other tables (the icon will be different for synonyms.)
    Hope That Helps.
    Kaushik.

  • How to restore a schema from a corrupted DB

    Hi,
    I need your help.
    I am using a laptop and a desktop, both with XP SP2. I have installed Oracle XE on both of them. They are in a LAN.
    I have been using them for almost a year now...
    But since few days ago I cannot use the DB from my desktop (there is no reason ). I can not start it anymore, even if the "net start ..." command tells me that it is started.
    I really need a schema I have created in that DB. I have tried to restore the DB, but without any luck. Not even through Sqlplus utility.
    My question to you is if I there is a way of copying the schema from the "bad" DB to the working one from my laptop. Wich are the files needed to be copied, or is there a tool for this?
    Please help.
    Thank you.

    I don't know how to attach...
    This is the log from "alert_xe.log" found at "oracle\admin\XE\bdump"
    <em>ORA-1092 signalled during: alter database open...
    Thu Oct 30 11:09:09 2008
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    sessions = 49
    __shared_pool_size = 96468992
    __large_pool_size = 8388608
    __java_pool_size = 4194304
    __streams_pool_size = 0
    spfile = D:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\SPFILEXE.ORA
    sga_target = 285212672
    control_files = D:\ORACLEXE\ORADATA\XE\CONTROL.DBF
    __db_cache_size = 171966464
    compatible = 10.2.0.1.0
    db_recovery_file_dest = D:\OracleXE\app\oracle\flash_recovery_area
    db_recovery_file_dest_size= 10737418240
    undo_management = AUTO
    undo_tablespace = UNDO
    remote_login_passwordfile= EXCLUSIVE
    dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
    shared_servers = 4
    job_queue_processes = 4
    audit_file_dest = D:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
    background_dump_dest = D:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
    user_dump_dest = D:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
    core_dump_dest = D:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
    db_name = XE
    open_cursors = 300
    os_authent_prefix =
    pga_aggregate_target = 94371840
    PSP0 started with pid=3, OS id=2272
    MMAN started with pid=4, OS id=1132
    PMON started with pid=2, OS id=2464
    DBW0 started with pid=5, OS id=3760
    LGWR started with pid=6, OS id=3308
    CKPT started with pid=7, OS id=3364
    SMON started with pid=8, OS id=4068
    RECO started with pid=9, OS id=3700
    CJQ0 started with pid=10, OS id=796
    MMON started with pid=11, OS id=672
    Thu Oct 30 11:09:19 2008
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=12, OS id=2088
    Thu Oct 30 11:09:19 2008
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Thu Oct 30 11:09:25 2008
    ALTER DATABASE MOUNT
    Thu Oct 30 11:09:30 2008
    Setting recovery target incarnation to 2
    Thu Oct 30 11:09:30 2008
    Successful mount of redo thread 1, with mount id 2550589605
    Thu Oct 30 11:09:30 2008
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE MOUNT
    Thu Oct 30 11:09:30 2008
    ALTER DATABASE OPEN
    Thu Oct 30 11:09:30 2008
    Beginning crash recovery of 1 threads
    Thu Oct 30 11:09:31 2008
    Started redo scan
    Thu Oct 30 11:09:32 2008
    Completed redo scan
    0 redo blocks read, 0 data blocks need recovery
    Thu Oct 30 11:09:32 2008
    Started redo application at
    Thread 1: logseq 168, block 3, scn 6371820
    Thu Oct 30 11:09:33 2008
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 168 Reading mem 0
    Mem# 0 errs 0: D:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_42TXS38T_.LOG
    Thu Oct 30 11:09:33 2008
    Completed redo application
    Thu Oct 30 11:09:33 2008
    Completed crash recovery at
    Thread 1: logseq 168, block 3, scn 6391821
    0 data blocks read, 0 data blocks written, 0 redo blocks read
    Thu Oct 30 11:09:34 2008
    Thread 1 advanced to log sequence 169
    Thread 1 opened at log sequence 169
    Current log# 2 seq# 169 mem# 0: D:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_42TXS67V_.LOG
    Successful open of redo thread 1
    Thu Oct 30 11:09:34 2008
    SMON: enabling cache recovery
    Thu Oct 30 11:09:41 2008
    Errors in file d:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2728.trc:
    ORA-00600: internal error code, arguments: [kcbz_check_objd_typ_3], [3], [0], [5], [], [], [], []
    Thu Oct 30 11:09:45 2008
    Errors in file d:\oraclexe\app\oracle\admin\xe\udump\xe_ora_2728.trc:
    ORA-00600: internal error code, arguments: [kcbz_check_objd_typ_3], [3], [0], [5], [], [], [], []
    Thu Oct 30 11:09:46 2008
    Error 600 happened during db open, shutting down database
    USER: terminating instance due to error 600
    Thu Oct 30 11:09:46 2008
    Errors in file d:\oraclexe\app\oracle\admin\xe\bdump\xe_lgwr_3308.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Thu Oct 30 11:09:47 2008
    Errors in file d:\oraclexe\app\oracle\admin\xe\bdump\xe_dbw0_3760.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Thu Oct 30 11:09:47 2008
    Errors in file d:\oraclexe\app\oracle\admin\xe\bdump\xe_ckpt_3364.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Thu Oct 30 11:09:47 2008
    Errors in file d:\oraclexe\app\oracle\admin\xe\bdump\xe_pmon_2464.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Thu Oct 30 11:09:48 2008
    Errors in file d:\oraclexe\app\oracle\admin\xe\bdump\xe_reco_3700.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Thu Oct 30 11:09:48 2008
    Errors in file d:\oraclexe\app\oracle\admin\xe\bdump\xe_smon_4068.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Thu Oct 30 11:09:49 2008
    Errors in file d:\oraclexe\app\oracle\admin\xe\bdump\xe_psp0_2272.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Thu Oct 30 11:09:49 2008
    Errors in file d:\oraclexe\app\oracle\admin\xe\bdump\xe_mman_1132.trc:
    ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
    Instance terminated by USER, pid = 2728
    ORA-1092 signalled during: ALTER DATABASE OPEN...</em>

  • How to translate database character from GB2312 to GBK?

    I have a problem. I am response for managing a large Oracle database. The RDBMS is oracle 8.1.6 under solarise 2.7 . I need to translate database character from GB2312 to GBK. Who can tell me how to do? Thank you very much.

    The UTF-8 encoding is an encoding that converts each
    character to 1~3 bytes depending on what unicode block
    the character belongs. And the expression such as
    "\u5143\u7d20" (double quote for String) is the
    unicode escape sequence and is independent of UTF-8 or
    other encodings. If you would like to convert a
    GB2312 file to a file written in the form of unicode
    sequences, then you can use the command line command
    "native2ASCII." See the tutorial in the following
    link.
    http://java.sun.com/j2se/1.4/docs/tooldocs/windows/natie2ascii.html
    Let me explain bit clearly, We have Chinese character in GB2312 Instant DB Database as well as in file. We want to convert it into Unicode and insert into AS400 Database. In Instant DB the values are inserted using DBVisualizer (Simple INSERT SQL Statement). If we use the same style in AS400 we couldn't display the Chinese fonts in Java Swing Components.
    So we thought of changing these into Unicode escape sequence and insert into AS400. Unicode escape sequence can be viewed in Java Swing Components if it declared in the code as a String, but it is not working if we retrieved it from AS400.
    Do you have any idea?

  • How to remove database name from SQL query

    We have an MS SQL server with several databases that are of the same schema but have different data.  We do this for testing different environments.  We are using Crystal reports for the first time and we are having trouble changing the database location in the designer.  If update the data source location to the same database server, but different database name, the data still comes from the original database used when creating the report.  We look at the SQL query and it contains the database name and does not change when updating the data source.  Therefore the data always comes from the database used when originally creating the report.
    How can I remove the database name from the SQL query so the proper database is used when testing the report?

    Hi C F
    Please ensure you have followed the procedure mentioned below:
    In Crystal Reports, there are two ways to set the location of the data source your report points to, depending on your connection type.
    For ODBC and Native Connections:
    1. On the 'Database' menu, click 'Set Datasource Location'.
    2. In the 'Current Data Source' section, click the data source to be changed. You must click each individual table in the data source one by one. If the data source is a stored procedure you will not see individual tables.
    NOTE     In Crystal Reports 10, XIR1, and XIR2, if you are mapping from a data source such as a stored procedure where the report designer can not determine which fields should be mapped automatically, you will see a 'Mapping' dialog box where you can manually map fields, as in the procedure cited above.
    3. In the 'Replace with' section, click the data source you want the report to use.
    4. Click 'Update'.
    5. Close the 'Set Datasource Location' window.
    The report now points to the new location.
    For Native Connections Only:
    1. On the 'Database' menu, click 'Set Datasource Location'.
    2. In the 'Current Data Source' section, click 'Properties' to expand it and right-click 'Database Name: <path to database>'.
    3. Click 'Edit' and then type the path to the
    new data source location.
    4. Close the 'Set Datasource Location' window.
    The report now points to the new location.
    Regards
    Girish

  • How to export database schema?

    I'm running a developer SQL Server 2012 Express version on my PC. I've restored a sample .bak database to this server. How or is there a way to export out the database schema or how all of the tables are interconnected/linked together out?

    hi,
    you can generate the DDL of the objects in your database using SQL Server Management Studio... select your database node, rx click, "Tasks->Generate Script"... the "Generate and Publish script" wizard will prompt you... in the "Set Scripting Options"
    task, you can access the "Advanced" dialog, where you can interact a little on "how" the output will be generated..
    as regards the "way" to understand how the objects are "interconnected", you can access the "Database Diagram" dialog... create a new one for your database, add all desired/required objects, and they will be "rendered" as objects on a window showing all
    relationships (in the meaning of SQL relationships) among them... this feature is not as powerfull as in full comercial tools like erWin or the like, but it's a nice one..
    regards
    http://www.asql.biz - DbaMgr2k - DbaMgr and further SQL Tools http://www.hotelsole.com/

  • How can i copy text from web link title in safari

    Hi. How can i copy text to clipboard from web link title in safari in ios 7? Thank you
    Like this:
    http://photouploads.com/images/01wkw.jpg

    Once you have selected text, there will be blue circular buttons on the corners. Get the ones on the end and move them in towards the text that you want to copy. The problem that you seem to be facing where you are is that this text is a hyperlink. Because of that reason, you will have a difficult time tapping on the text without activating the link. I'm not sure you will be able to do that.

Maybe you are looking for

  • Please help me very Urgent I appreciate whoever takes me out of this mess

    Hi! I have a short term project to develop a web page displaying in a table format. The data for thatcomes from 2 CSVs. and that table format should be exported to Excel. What I am going to do is first CSVs should be converted into XMLs and then merg

  • Setting up network rendering in After Effects CC

    Hi there, I finally have some free time on my hand and I´d like to use it to optimize our workflow. We are a very small post-production shop and do a lot of projects parallel. So one Issue obviously is, when I need my workstation to work but also nee

  • Doubt on opatch utility

    I applied a patch which converted Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production to Oracle9i Enterprise Edition Release 9.2.0.2.1 - Production Now how I am using opatch lsinventory to list the patch applied i get nothing in the log file g

  • Subcontracting GRN

    Dear Experts Pls tell me at the time of  subcontracting goods recipt what accounting entry is system going to pass. pls tell me with example of amount I am little bit confused In my system system is passing the entry like this Stock Account semi fini

  • Member descriptions in WEB

    Dear experts, I am not able to see dimension member descriptions in BPC web interface. In selection controls (for instance for work status), description is not displayed. At first, I thought it was related to language used to log on so I tried to ful