What is the Database schema?

Hello Gurus,
What is the Database Schema?
How do we incorporate in Database and why?
Thanks in advance.
~ SubbaReddy .M

The schema is a database structure. It typically has a many to one relationship with the database. It is used to store and segregate database objects such as tables, views, synonyms, etc. Check your database concepts manual for a proper discourse on this subject.
RP.

Similar Messages

  • Export the database schema / structure to a file server

    I would really appreciate if any of you can share your experience on the following:
    Database-1: Oracle 8i/9i and
    Database-2: SQL Server v65/7/2000
    I am looking for a solution to extract all the database schema/structure to a pre-defined location onto a file server. I wanted to configure this thru CRON job (for unix) and Microsoft Task Scheduler (for Windows). Also this solution should work for all databases (must work with Oracle, SQL Server). The exported file should not be just a dump file (.dmp), assuming only oracle can read .dmp file.
    What are the possible ways to accomplish this.
    I am sure, several tools would be available to accomplish this (like Embarcadero Change Manager), but solution may not be cost effective. Can we write any program to accomplish the same?
    I would really appreciate your inputs.
    Thanks, Madhavi

    I am doing this job using bcp command on sql serverwhich create dat file and then transport the file to oracle server in location where I have created an external table.
    I belive that there is server level compatability which need no external programe or software. My one fellow told me once and when I got him I shall reply

  • Using Express when the database schema does not match theclass model

    We are working on a large pay/personnel management system and are
    evaluating Forté Express and Sage Scaffolds. We need to answer some big
    questions in the near future, and I was hoping that there may be someone
    out there with the answers.
    1. How different can the database schema and the class model be, before
    Express becomes a bad choice of framework? What solutions exist for cases
    where Express is still a viable option?
    2. Assuming that we can get around the problem in question 1, will the
    Application Model features still work afterwards? (i.e. how sensitive are
    the client-side services to changes in the database services?)
    3. Express seems to use domain classes everywhere, whereas we are always
    being advised to use scalar attributes wherever possible. How badly does
    this affect the performance of Express applications?
    4. Has anybody out there used Sage Scaffolds on a large project recently?
    How did it go? What problems should we watch out for? Doesn't its 'Chain
    of Responsibility' pattern tend to produce a lot of unnecessary objects at
    run-time?
    5. Has anybody used the Born collection classes? How do they compare with
    Brahma's Fortify?
    Thanks to those who have already helped - all input gratefully received!
    Tim Kimber
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    I did all that before posting the orignial post..
    declare
      v_schema_exists varchar2(1) := 'N';
      res             boolean;
      schemaURL       varchar2(100) := 'T0090.xsd';
      schemaPath      varchar2(100) :=  '/prmt/xsd/T0090.xsd'; --'/public/T0090.xsd';
      xmlSchema xmlType := XMLTYPE(bfilename('DIR_PRMT_OUT_CVIEW','T0090.xsd'),NLS_CHARSET_ID('AL32UTF8'));
    begin
      begin
        select 'Y'
          into v_schema_exists
          from sys.all_xml_schemas  -- changed from user_xml_schemas
         where schema_url = schemaURL;
        dbms_xmlSchema.deleteSchema(schemaURL,4);
        exception
          when NO_DATA_FOUND then
            null;
      end;
      if (dbms_xdb.existsResource(schemaPath)) then
        dbms_xdb.deleteResource(schemaPath);
      end if;
      res := dbms_xdb.createResource(schemaPath,xmlSchema);   
      dbms_xmlschema.registerSchema ( schemaURL, xdbURIType(schemaPath).getClob(), TRUE, TRUE, FALSE, TRUE );
    end;
    / I guess my understanding was that I could grant another oracle user access to my registered schema just like I can grant a single user access to a table. Evidently I only have two options. Only the schema owner can use the schema or everyone can use the schema and I cannot grant access to a single user other than myself.
    Edited by: Mark Reichman on Jul 2, 2010 9:08 AM
    Edited by: Mark Reichman on Jul 2, 2010 9:09 AM

  • Help me to fix the error while running DBMaintain Against the Database Schema in ASE.

    Hi All,
    I am trying to install sybase mobiliser platform 5.1 SP 03.I am  referring the following guide
    http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01871.0513/pdf/Mobiliser_Platform_Installation_Guide_5.1…
    Now I have configured the ASE database server with default settings and now it is running fine.
    Now my concerns are as follows:
    1) I have executed the database schema (mobr5): 001_MONEY_drop_and_create_user.DDL with the help of linux command
    isql -Usa -SASE1 -Phello@123 -i/opt/sybase/db/sql/001_MONEY_drop_and_create_user.DDL -o/opt/sybase/ASE-15_0/install/ASE1.log
    How do I check the created database schema and user with default name 'mobr5'?
    2) While running DBMaintain Against the Database Schema, I have followed the steps mentioned in the guide and made the following changes in the file dbmaintain.properties.ase
    database.driverClassName=com.sybase.jdbc4.jdbc.SybDriver
    database.url=jdbc:sybase:Tds:ASE1:5000/mobr5
    database.userName=mobr5
    database.schemaNames=mobr5
    database.password=paybox
    #Must be set if the driver is not packaged inside the scriptarchive or is present on the classpath
    #e.g. /path/to/driver.jar
    #database.driverLocation=/path/to/jconnect.jar
    database.driverLocation=/opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase.jar
    database.driverLocation=/opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-vanilla.jar
    When I execute the script archives ,
    java –jar /opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-driverless.jar -c /opt/sybase/db/sql/dbmaintain.properties.ase
    java –jar com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-vanilla-driverless.jar -c dbmaintain.properties.ase
    I get the following error:
    So please help me to resolve the issues.

    Hi All,
    Issue is resolved and database has been updated successfully..
    Error was in database .url field of dbmaintain.properties.ase file.
    I have changed the database.url field  from database.url=jdbc:sybase:Tds:ASE1:5000/mobr5
    to  database.url=jdbc:sybase:Tds:<Private IP of Linux instance>:5000/mobr5
    Note:- I am installing mobiliser platform on AWS cloud.So I have made use of Private IP address of AWS Linux instance.

  • What are the database resources when collecting stats using dbms_stats

    Hello,
    We have tables that contain stale stats and would want to collect stats using dbms_stats with estiamte of 30%. What are the database resources that would be consummed when dbms_stats is used on a table? Also, would the table be locked during dbms_stats? Thank you.

    1) I'm not sure what resources you're talking about. Obviously, gathering statistics requires I/O since you've got to read lots of data from the table. It requires CPU particularly if you are gathering histograms. It requires RAM to the extent that you'll be doing sorts in PGA and to the extent that you'll be putting blocks in the buffer cache (and thus causing other blocks to age out), etc. Depending on whether you immediately invalidate query plans, you may force other sessions to start doing a lot more hard parsing as well.
    2) You cannot do DDL on a table while you are gathering statistics, but you can do DML. You would generally not want to gather statistics while an application is active.
    Justin

  • Can someone explain what is the Database Instant Client

    Download 10.2.0.4 Database Instant Client for Apple Mac OS X on Intel x86
    What does the Database Instant Client contain?
    What functionality does it have?
    Does it include a 'lite' version of the database to run locally? Or is it only a set of tools that can connect to a remote (on another machine) database?

    It is only a client for connecting to databases. It is easier to install than the full client.
    It does not include a database. Check the following link :-
    http://www.oracle.com/technology/tech/oci/instantclient/index.html
    http://www.ContractOracle.com

  • URGENT: Show the Database Schema in a JSP

    Hi,
    I want to make a JSP to show the Database Schema.
    I'm using JDev 10.1.2 + ADF/Struts + Oracle Database.
    I need show the tablenames in this page.
    How to do this ?

    more details;
    1. I developed a web-application, and now, I want to include a new module:
    - Import and Export database objects.
    2. I have a Stored Procedure that receives two parameters:
    - The table name and the operation(import or export).
    This Stored Procedure import/export the table to/from a DBF file.
    Well, I found two solutions and two problems:
    ---- Solution 01 ------
    -> To make one Store Procedure to get the table object names and show this result in a JSP.
    ---- The Problem ----
    I do not know how to "to pass/to transfer" the connection object from the Application Module to a JDBC connection object or from an Application Module execute a Stored Procedure.
    ---- Solution 02 -----
    -> From the ADF objects, browsing the database objects(schema) to a JSP.
    ---- The Problem ----
    I do not know how to do this. I do not know which objects to use.
    Please, give-me an idea, how to do this, and in the your opinion which is the best solution.
    thanks for any reply, for any help.

  • 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

  • Is there anyway to tell what is the database column behind the form field (

    Is there anyway to tell what is the database column behind the form field (in Oracle financials).

    If you are lucky, it can be simple, but if you are unlucky, it can be very complicated.
    Using Help > Diagnostics > Examine when in the field will give you the name of the field.
    Help > Diagnostics > Examine (Block: SYSTEM / Field: LAST_QUERY) will give you the query for the last block queried, which may or may not be the block you want, depending on how the form is defined (ie Master Detail relationships). If this is for the correct block and the field name is one of the columns returned by the query, then that is probably your answer.
    If the Last Query is not for the correct block, using Help > Record History will give you the table or view that the block is based on (only where there is already a record in the block).
    If the field name matches a column name in the table or view, then that is probably where it comes from. If there is no matching column name in the table or view, then the field is probably not queried directly from the database as part of the main query - it is probably populated by logic in the form, like the POST-QUERY trigger on the block. This means you need to open the form in Forms Builder to find what is populating your field (Program > Find and Replace PL/SQL is very handy for this).

  • What is the Database Utility

    What is the Database Utility and its use ?
    Give an example if possible ..... PLease

    hi,
    Database Utility is used for adjusting the database on changing the fields and field attributes ..
    Check out the below related threads
    database utility
    database utility
    SE14 transaction
    Inserting new fields in a Dictionary Table?
    Regards,
    Santosh

  • What are the sample schemas(like scott,hr) in oracle 12c?

    Hi,
    I have just downloaded and installed  the oracle 12c on my desktop(Hurray!), but i don't see any of the sample schemas like scott and hr to play with. Do we have anything like those schemas in 12c?
    Thanks,
    sg

    I have just downloaded and installed  the oracle 12c on my desktop(Hurray!), but i don't see any of the sample schemas like scott and hr to play with. Do we have anything like those schemas in 12c?
    Yes - but they would be in a PDB if you installed the sample schemas; you won't find them in the CDB.
    If, like many people new to 12c, you did a default install for a database named ORCL and then connect to ORCL you are connecting to the CDB; that is, the root container. You won't find any sample schema there.
    If you installed the sample schemas then the install process would have created one PDB name PDBORCL (by default) and that PDB would contain the sample schemas.
    Then the next thing users typically do is connect as sysdba and do a STARTUP and then find they can't connect to PDBORCL. Surprise! The PDBs are NOT opened by default; you need to open them manually when you startup the DB or create an AFTER STARTUP trigger that opens the ones you want.
    Review chapters 17 and 18 of the Database Concepts doc
    http://docs.oracle.com/cd/E16655_01/server.121/e17633/cdbovrvw.htm

  • So what is the Database setting in Preference for?

    In the years of using Safari, in the Preferences it has settings for Database under Security tab. I've left it at the default 5mb. Whenever I clicked Show Database nothing was ever in there. But yesterday there were two items. I Removed them not paying any attention really. Then today another appeared named ourstage.com.
    I've never been to that site or heard of it. So I went to it. Nope nothing I've ever been to.
    So what is this database setting? Should I leave it active? What benefit does it do for Safari or me as a surfer?
    Thanks
    Using the latest Safari released, Version 5.0.3 (6533.19.4) and 10.5.6

    HI,
    http://www.apple.com/safari/features.html
    See: HTML5 Offline Support
    I have "twitter.com" on mine. That way I never have to re sign in. A "super cookie" ... Not all sites support that feature.
    Carolyn

  • What is the database string used in the connection box for sybase-merant?

    I am using report wizard of Reports Developer 9 to create report for Sybase database. Assume the Sybase database uses the following setting:
    user: sa
    password: password
    computer IP address: 10.0.187.30
    computer host name: development
    port number: 2468
    database name: TEST01
    If I use sybase-merant (JDBC Query) as the data connection, I need to input USERNAME, PASSWORD and DATABASE at the Connection Box. What should I input for the DATABASE? I have inputted "sa" as the USERNAME and "password" as the PASSWORD. When I inputted "10.0.187.30:2468:TEST01" as the DATABASE, I got error which indicated the data source cannot be connected. I have also tried "10.0.187.30,2468:TEST01", "10.0.187.30:2468", "10.0.187.30,2468" and "10.0.187.30", but none of them worked.
    Thank you.
    - Man Ip

    Hello,
    If you go through the link, mentioned above, an entry is needed to register a JDBC-Driver for your database(sybase).
    Driver entry contains a attibute "connectString", which contain the
    connection syntax to the datbase.
    connectString = "mainProtocol:subProtocol://databaseName"
    mainProtocol and subProtocol part of the connection String are defined in config file and "databaseName" has to be mentioned in JDBC Query Connection Diloag.
    Sample databasename : database:portnumber
    Here database refer to the sybase database user want to connect and portnumber : port on which its running(it will be normally 4100 or 5000).
    Please refer the comments in file ORACLE_HOME/reports/conf/JDBCPDS.CONF for more detail.
    With Regards
    Reports team.

  • How can I change the database & schema used by an Application?

    Hi community,
    I am very new on Essbase and I need help to find out how can I change the database connection (and schema) used by the database of an Application. The figure is that I need to point this database to a QA environment (currently it points to DEV).
    If I do a right click over the properties of the database, I can see the following tabs: [ General ][ Dimensions ][ Statistics ][ Modifications ][ Compression ]. However, there is no option to change the database connection.
    Is there a way to do this?
    Thanks in advance for any help! Cheers!

    Are you trying to change a database connection of Planning application?
    Essbase application do not have a relational connection.
    Regards
    Celvin
    http://www.orahyplabs.com

  • Can't find my database schema, where do i place the database schema?

    hi folks,
    I was able to generate a database schema for my entity bean, but everytime i try to deploy the entity bean i get this error:
    SEVERE (23542): JDOCodeGenerator: Caught a RuntimeException :
    java.lang.RuntimeException: Could not find schema file SKX_LIVE_BLAZE on classpath EJB CL:
    i place it inside the SKXENTITYBEAN.jar file ..but it can't seem to find it.. where is it supposed to be placed?

    ok, i found out why it didnt' work ..i had the schema in this folder:
    skx\dbschema\SKX_LIVE_BLAZE
    so i had to use this for the schema name:
    <schema>skx/dbschema/SKX_LIVE_BLAZE</schema>
    previous i just did this:
    <schema>SKECHERS_LIVE_BLAZE</schema>
    I wish the documentation had given me some indication that if i had to include the folder path for the schema..

Maybe you are looking for

  • Where are the USB ports on the Photosmart 7520 e-all-in-o​ne series?

    I'm trying to set up my printer, but don't have a CS?DVD drive so I'm using a USB cable. I cannot find the port for the small end of the cable. Any assistance will be greatly appreciated. Why don't HP just have Customer Service online to answer these

  • IDOCS ERROR

    Hi all, When i am extracting data the following error was reported.  under Details tab "Transfer (IDocs and TRFC): Errors occurred, Request IDoc : Application document not posted "   When I checked in R/3 through Idoc Maintain OLTP  -  The following

  • Order of pictures in Flickr after sync?

    It seems that after I synced an iPhoto album to Flickr, the images in the Flickr set appear in the order in which I added them to iPhoto. Quite annoying, I'd rather have them in the date order as in iPhoto. Is there a way to get this done?

  • Can We Merge Photos Together in iPhoto 6?

    The subject title says it all, folks. So......can we? If so, how? Thanks!!

  • How to reset user and password on MacBook Pro without CD

    I recently bought a MacBook Pro, 15" with Lion on Ebay. There are times when I am asked for a password. I have asked the person who I bpught it from, but he does not remember. I do not have the original disk, so I need a method to reset the user and