Schema and Table .. Few doubts.

Hi ,
Can you please help me out on following questions.
1. How to physicalizing the Logical Model into database Schema AND Tables
2. How to create a Schema and table in oracle 11g. Let me know if scripts are available.
3. How to create a read only user with different restricted access.
4. How to deploying the Schema, Tables (and potential scripts) into Exadata.
Please provide the aboce details.
Thanks in advance.
Regards,
Parag

You need a Database Designer and a Database Administrator.
1. With experience of having done so earlier or having learned as an understudy to someone with expertise
2. Look up the Oracle 11g database SQL documentation. See http://www.oracle.com/pls/db112/homepage
3. See the Oracle 11g database Administrator's Guide and Security Guide (from the above URL)
4. Through a proper Change Control procedure. Each organisation has it's own methods of source code control and deployment.
Hemant K Chitale

Similar Messages

  • New User Database schema and table name

    When i create a new user in Oracle Webcenter Spaces 11g, I am not able to get the name of the database schema and table, where it is stored. Any insight on this will be very helpful.

    WebCenter (and WebCenter spaces) uses an 'identity store' instead of database schema for storing user information - in an 'out of the box' installation, users are maintained through an embedded WebLogic LDAP store.
    See the Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter, p. 34-2.
    At the end of section 34.4.1:
    WebCenter Spaces supports self-registration. When new WebCenter users
    self-register, they create their own login and password and a new user account is
    created in the identity store. See also, Section 34.4, "Allowing Self-Registration".
    user9097357 wrote:
    When i create a new user in Oracle Webcenter Spaces 11g, I am not able to get the name of the database schema and table, where it is stored. Any insight on this will be very helpful.

  • Schema and Table ..

    Hi ,
    Can you please help me out on following questions.
    1. How to physicalizing the Logical Model into database Schema AND Tables
    2. How to create a Schema and table in oracle 11g. Let me know if scripts are available.
    3. How to create a read only user with different restricted access.
    4. How to deploying the Schema, Tables (and potential scripts) into Exadata.
    Please provide the aboce details.
    Thanks in advance.

    1. How to physicalizing the Logical Model into database Schema AND TableseTRM
    http://etrm.oracle.com/
    2. How to create a Schema and table in oracle 11g. Let me know if scripts are available.Are you referring to custom schemas? If yes, please see https://forums.oracle.com/forums/search.jspa?threadID=&q=Custom+AND+Schema&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    3. How to create a read only user with different restricted access.https://forums.oracle.com/forums/search.jspa?threadID=&q=APPS+AND+Read+AND+Only&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    4. How to deploying the Schema, Tables (and potential scripts) into Exadata.What do you mean? Please elaborate more.
    Thanks,
    Hussein

  • JDBC Schema and Table Names Reversed

    Hi,
    We're currently evaluating CR4E but are unable to successfully run/preview any reports.
    We have successfully created a JDBC  connection using the generic JDBC driver. We are connecting to an Ingres database. The connection is successful and we can browse databases/schemas/tables with no problem. The problem is with the SQL that the reporting engine is generating.
    A simple example:
    SELECT "currency"."description" FROM   "currency"."john" "currency"
    In this statement, "currency" is actually the table and "john" is the schema name.
    The query should read:
    SELECT "currency"."description" FROM   "john"."currency" "currency"
    Help would be appreciated as we're completely stuck.
    Many thanks,
    Darran Smith

    Hi Tej,
    Thanks for clarifying the issue on the JRC.
    Executing:
    SELECT "price_type"."currency", "price_type"."description" FROM   "price_type"."john" "price_type"
    against the DB results in "Table 'john' does not exist or is not owned by you" as expected.
    Executing
    SELECT "price_type"."currency", "price_type"."description" FROM   "john"."price_type" "price_type"
    against the DB works just fine.
    I amended my code to simply call:
    CRJavaHelper.changeDataSource(reportClientDocument, userName, password, connectString, driverName, JNDIName);
    and changed the CRJavaHelper.java file around line 145 that originally reads:
    newTable.setQualifiedName (origTable.getAlias ());
    I tried setting the qualified name to various different things:
    "price_type"
    "john.price_type"
    "otherSchema.price_type"
    None of these worked, but they did produce different things in the JDBC trace log. I've uploaded the JDBC log file to showing what happens with either "price_type" or "john.price_type":
    [http://www.romofabrics.com/iijdbc.txt|http://www.romofabrics.com/iijdbc.txt]
    As you can see, everything looks OK (including the schema and table name) until the very final select statement is created.
    When you say that generic JDBC is supported, is that what I'm effectively using?
    Cheers,
    Darran

  • Is XS Project right for Database Schema and tables

    Hi Friends
    1.As per OpenSAP video it is suggesting to use XS Project for Database objects.
    In my case I am planning to do AO Reporting and not creating any UI , is XS project still the right project type.
    There is an option for General ->Project - would that be the right one.
    2. Also in my UI I am not able to see the Prefrences->SAP Hana Development ->Repository Access to set the regit.exe. I did see couple of post mentioned about it but the response was not very clear , hence asking the question again.
    regards
    Poonam

    Hi Poonam,
    Poonam Hemrajani wrote:
    1.As per OpenSAP video it is suggesting to use XS Project for Database objects.
    In my case I am planning to do AO Reporting and not creating any UI , is XS project still the right project type.
    There is an option for General ->Project - would that be the right one.
    Project is used to group all the required development artifacts and the libraries required for them. So based on your requirement you can choose. I think "General" project would suffice your requirement if it is only to create schemas and tables.
    But on the other hand if you choose to build an application using XS related libraries you can either choose to import those libraries later or create using a XS project now.
    Will wait along with you to see  Thomas Jung comments on this.
    Poonam Hemrajani wrote:
    2. Also in my UI I am not able to see the Prefrences->SAP Hana Development ->Repository Access to set the regit.exe. I did see couple of post mentioned about it but the response was not very clear , hence asking the question again.
    Firstly from SP7, it is not required to setup regi.exe file. This file resides in hdbclient folder. So you need to check where you have installed hdbclient to see if you have that regi.exe file and configure it accordingly in the Path ( Preferences --> SAP HANA Development --> Repository Access ) you mentioned.
    Regards,
    Krishna Tangudu

  • Oracle APPS schema copy with all privileges to new schema and table space

    Hi all,
    Here is scenario:
    I have installed e-business suite in windows 2003 server for training environment using production (prod), single node and without vision (demo).
    i have to create a new table space in e:\oracle\prodmanz with similar content as in proddata and create a new schema called manz with same privileges as APPS.
    Kindly advice.
    Manish Kumar Chudasama
    email: [email protected] cc to [email protected]
    Thanks in advance guys.

    Hi Khalid,
    Ideally when you execute sql 'create schema <schema_name>' then the logged in user is going to default owner of the schema and you should see that under 'object privileges' of that user.
    The user will have 'create any' privileges which means the user has all the privileges on that schema.
    if you want to check who is owner of the schema in the system, please check 'SCHEMAS' under views in SYS.
    Regards,
    Venkat N.

  • Export/Import utility: unusual schema and table names

    Hi, I am working on the correct TABLE, SCHEMA.TABLE and SCHEMA names validation.
    Unfortunately, I didn't find good examples in documentation and therefore turn to the forum.
    Example: I have "My User" schema and "My Table" table and SCOTT with "scott table".
    Export:
    If I connect as My User (using client 10), I have to write
    TABLES=('"my table"', 'SCOTT."scott table"')
    If I connect as My User, (client 9 and older?) I have to write
    TABLES=('"My Table"', '"SCOTT.scott table"')
    Am I wright? It seems to work.
    ==The first question:
    Does the quoting method depends on the client version?
    I mean, '"SCOTT.scott table"' works on 9 but 'SCOTT."scott table"' works on 10.
    ==
    Further, If I connect as SCOTT, (client 10), I write
    TABLES=('"My User"."My Table"', 'SCOTT."scott table"')
    It seems to work.
    If I connect as SCOTT, (client 9 and older?), neither
    TABLES=('"My User"."My Table"', 'SCOTT."scott table"')
    nor
    TABLES=('"My User.My Table"', '"SCOTT.scott table"')
    doesn't work!
    == The second question:
    How should I write "My User"."My Table" on the 9 client?
    Import:
    I don't know how to make import to "My User".
    FULL=Y
    TOUSER='"my user"'
    # and
    #TOUSER="my user"
    doesn't work. The same with USER mode and TABLE mode import.
    Thanks to everyone who can help.

    I'm not sure how you would have been able to create a user with the user name 'my user' since gaps in the username are not allowed.
    Generally, Oracle isn't case sensitive, so the fact that 'my user' gets converted to 'MY USER' isn't a problem - infact, oracle will always present usernames in UPPER CASE unless you explicitly use the LOWER() function when selecting them from the dba_users table.
    So anyway, I think that the steps you need are:
    (from SQL*Plus, logged in a as a DBA user e.g. sys or system)
    create user MY_USER
    identified by apassword;
    grant connect, resource to my_user;
    Then, from the operating system command line:
    imp my_user/apassword@connect_string file=dump_filename.dmp FROMUSER=scott TOUSER=my_user;
    that should work.....
    R

  • Need to know schema and table name

    Hi folks,
    I need to know the schema name and the table name associated with a column. Though jdbc has the api to getTableName and getSchemaName, some database vendor like oracle does return empty upon call of mentioned methods. I found that oracle driver does not support that ��
    Can any one give me the solution? It is urgent. Or do you suggest any third pary jdbc driver which can provide those?
    Thanks
    Angelina

    hi,
    does not work for me.
    more pls
    --thanks                                                                                                                                                                                                                   

  • Export multiple schemas and tables in the same time

    Please help with this
    If I need to export 3 schemas SCH1, SCH2 and SCH3, also table tab1 and tab2 in schema SCH4, can anyone write only one parfile to export them in once.

    Are you going to use original exp/imp or data pump?
    It's not easy to do this in one shot if it's even possible.

  • List all schemas and tables in a portal server

    Hi,
    I want to list all the schemas in a particular portal server(just as we see in the enterprise manger console)and also list tables in a specific schema.
    i tried the following code inorder to print all the tables (without confining to any particular schema)-
    DatabaseMetaData dbmd = con.getMetaData();
    String [] types = {"TABLE"};
    rs = dbmd.getTables(null,null,"%",types);
    but i am getting null pointer exception.
    Can i anyone guide me in this?
    regards
    Swarna

    go to the sqlplus >
    select distinct owner from dba_objects;

  • Star Schema and Cubes

    Hi,
    I'm learning the basic concept of data warehousing and I've some question in this regards.
    1) I want to know, are we have to first create star schema and tables according to that star schema in dbms, from that star schema we have to built cubes OR we directly build cubes from extracted data through OLTP systems.
    2) secondly, when we create cubes, in which formate they are store in dbms and are they directly load in the memory at run time?
    Please clarify me in these concepts as new to data warehouse I've certain concept misunderstanding in this regards. Answers will be highly appreciated
    Regards,
    D.Abbasi

    1) I want to know, are we have to first create star schema and tables according to that star schema in dbms, from that star schema we have to built cubes OR we directly build cubes from extracted data through OLTP systems. Star schema is the Dimensional Modeling Technique and that need to considered while creating Dimension and not cubes.
    So you need to create first design your database either in Start schema or Snow flag and then need to create dimension tables and after wards Cubes.
    2) secondly, when we create cubes, in which format they are store in dbms and are they directly load in the memory at run time?Cubes and Dimensions are stored in Database in some different format.
    This is the nice article regarding how the data is store in DB,
    http://www.dba-oracle.com/t_olap_dimensions_cubes.htm
    Cheers
    Nawneet
    Edited by: Nawneet on Mar 29, 2010 5:47 AM
    Edited by: Nawneet on Mar 29, 2010 5:50 AM

  • Combine tables from 2 SQL servers with different Schemas and update as new data is entered

     I have 2 SQL server 2000 machines, I need to take a table from each one and combine them together based on a date time stamp.  The first machine has a database that records information based on an event it is given a timestamp the value of variable is stored and a few other fields are stored in Table A.  The second machine Table B has test data entered in a lab scenario.  This is a manufacturing facility so the Table A data is recorded by means of a third party software.  Whenever a sample is taken in the plant the event for Table A is triggered and recorded in the table.  The test data may be entered on that sample in Table B several hours later the lab technician records the time that the sample was taken in Table B but it is not exact to match with the timestamp in Table A.  I need to combine each of these tables into a new SQL server 2005 database on a new machine.  After combining the tables which I am assuming I can based on a query that looks at the timestamp on both Tables A & B and match the rows up based on the closest timestamp. I need to continuously update these tables with the new data as it comes in.  I havent worked with SQL for a couple of years and have looked at several ways to complete this task but havent had much luck.  I have researched linked servers, SSIS, etc Any help would be greatly appreciated.

    Hi Catalyst,
    Welcome to the MSDN Forums!
    I would have a concern with respect to your issue.  If there is no way to identify a sample, save for the closest timestamp on table A - what would happen if two samples were taken in the plant, and the test results were entered in reverse order?  The samples would not tie back to the appropriate measurements.  Can't you get an identifier of some sort to tie that sample back to table A?
    If you can't, something like this should work, but I'm not sure how you'll "serialize" the samples to avoid the situation above.
    Code Snippet
    --Create sample data
    DECLARE @TableA TABLE ( SampleNo int NOT NULL,
    SampleTime datetime);
    DECLARE @TableB TABLE ( SampleTakenTime datetime,
    SampleColour varchar(50),
    SampleQuality char(1),
    SampleResultNo int);
    INSERT @TableA SELECT 1, GETDATE()
    WAITFOR DELAY '00:00:10';
    INSERT @TableB SELECT GETDATE(), 'Orange', 'A', '5'
    WAITFOR DELAY '00:00:20';
    INSERT @TableB SELECT GETDATE(), 'Purple', 'D', '7'
    WAITFOR DELAY '00:00:10';
    INSERT @TableA SELECT 2, GETDATE()
    --Actual Query begins now
    SELECT *
    FROM @TableA AS a
    JOIN @TableB AS b ON ABS(DATEDIFF(millisecond,a.SampleTime,b.SampleTakenTime)) = (SELECT MIN(ABS(DATEDIFF(millisecond,ta.SampleTime,tb.SampleTakenTime)) )
    FROM @TableB tb
    JOIN @TableA ta ON a.SampleNo = ta.SampleNo)
    Now, to account for the fact that you are querying data from a different server, you need to create a linked server (see sp_addlinkedserver and sp_addlinkedsrvlogin) and then use the fully qualified name (server.database.schema.table) to reference the table.
    Hope this helps,
    Aaron

  • Doubt in  export, import and table para when creating Function Module

    Dear fellow ABAPers,
    I have a doubt in defining export, import and table parameter while creating a function module.
    I am calling a function module inside a user exit. Now in the user exit the SAP fills an internal table called i_lfa1 with all the data user has eneterd.
    Now I want to pass this whole internal table to function module and the perform some checks on the values of internal table.
    After that function module fills an error structure with values depending on some check.
    1)
    How do I pass this internal table to function module ? 
    When I am creating function module in se37 where do I define this iternal table type ? Is it in Import or Table parameter during function module creation?
    2)
    Where do I define error structure type (which is returned by function module to main program)? Is it in Export or table parameter during function module creation?
    Please clear my doubt..
    Relevant points will be awarded.
    Regards,
    Tushar.

    Hi Tushar,
    1. How do I pass this internal table to function module ?
       I assume u are creating your own Y/Z FM.
       Pass it thru TABLES parameter.
    2. When I am creating function module in se37 where do I define this iternal table type
       Define this in TABLES interface.
       What Type ?
       THE SAME TYPE WHICH HAS BEEN DEFINED
        WHILE PASSING IN THE USER-EXIT FUNCTION MODULE.
       IF U SEE THE FM OF THE USER-EXIT,
       U WILL COME TO KNOW.
    3.
    Where do I define error structure type (which is returned by function module to main program)? Is it in Export or table parameter during function module creation?
    Define it in TABLES interace. (not in export, import)
      (Since what u are going to return is an internal table)
      U can take for eg. BDCMSGCOLL.
      OR u can create your own Y/Z structure
    for the same purpose.
      (or u can use the structure type T100)
    I hope it helps.
    Regards,
    Amit M.

  • How Can I obtain the tables of one schema and the record size???

    How Can I obtain the tables of one schema and the record size???
    Example:
    TableName Record Size
    Tabla1 12500
    Tabla2 7800
    Tabla3 2046

    This is not an OWB question, but you can obtain bda-type information on tables by using the system view dba_tables.
    Regards:
    Igor

  • Schema and XML Type table in Oracle 9.2.0.2.0

    Somebody please helps me!
    I am studying about Oracle XML DB, and I have some problems:
    declare
    result boolean;
    begin
    result := dbms_xdb.createFolder('/doan/' );
    end;
    DELETE FROM resource_view WHERE any_path = '/doan/KHACH_HANG.xsd';
    BEGIN
    result := dbms_xdb.createresource('/doan/KHACH_HANG.xsd','<?xml version="1.0" encoding="UTF-8"?>
    <!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by NGHI (KHTN) -->
    <xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="KHACH_HANG">
              <xs:annotation>
                   <xs:documentation>Comment describing your root element</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="MA_KH" type="xs:string"/>
                        <xs:element name="TEN_KH" type="xs:string"/>
                        <xs:element name="DIA_CHI" type="xs:string"/>
                        <xs:element name="DIEN_THOAI" type="xs:string"/>
                        <xs:element name="EMAIL" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>');
    dbms_xmlschema.registerSchema
    'http://localhost:8080/Khach_Hang.xsd',
    xdbURIType('/doan/KHACH_HANG.xsd').getClob(),
    LOCAL => TRUE,
    GENTYPES => TRUE,
    GENTABLES => FALSE,
    OWNER => 'SCOTT');
    DROP TABLE scott.khach_hang;
    CREATE TABLE scott.Khach_Hang OF XMLType
    XMLSchema "http://localhost:8080/Khach_Hang.xsd"
    ELEMENT "KHACH_HANG";
    insert into scott.Khach_Hang values(
    XMLType('<KHACH_HANG>
    <MA_KH>12</MA_KH>
    <TEN_KH>AAAA</TEN_KH>
    <DIA_CHI>135 B Tran Hung Dao</DIA_CHI>
    <DIEN_THOAI>454646</DIEN_THOAI>
    <EMAIL>[email protected]</EMAIL>
    </KHACH_HANG>'));
    END;
    COMMIT;
    When I insert data into table, an error appearance:
    "schema and element does not match"
    Please help me!
    Thanks

    Yes, you can and should be [migrating LONG to LOB in Oracle 9.2|http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96591/adl08lon.htm].
    Justin

Maybe you are looking for

  • Will using a 30" display harm the MacBook Air?

    I know it will not run it at it's 2560x1600 resolution, but will it do the MacBook Air any harm to have it connected to a 30" display and set the settings to mirror? I have tested this and know it works and the picture quality on my 30" is fine for t

  • Quicktime error stops video recording

    I am receiving a Quicktime Error: "recording stopped because the maximum duration for the file has been reached" Try continuing recording in a new file. Then it shuts the camcorder off. Thanks in advance for any assistance. Mark

  • How to stop getting text messages intended for another family member?

    Hi, I occassionally get a text message intended for another member of my family, and vice versa. When that happens we both get the message, and the other person can then see the rest of the thread. I think the problem is that we share 1 AppleID. If t

  • All photos deleted now my camera roll is grey with MP4 thumbnails

    Hi all! My iPhone was super low on memory so I thought i'd copy and paste a load of my photos off of my phone onto my PC and then delete them off my phone. I'd copied over what I wanted, and after that was done, I went back to the photos on my iPhone

  • Sso after upgrade to 10.1.2! Help me!

    Hi! after upgrade We losted authentified in Portal OHS Infrastructure refused port 443 Desided this truble SSLConfigTool SSLConfigTool -config_w_prompt -opwd <orcladmin_pwd> after it SSO:orasso did't start. What are we do? Thank. Natali.