New database for existing user?

Hi,
am I right saying that a new schema in Oracle involves a new user to create?
Say I've got my user already and I just want to create a new schema for this user.
How can I do it?

833519 wrote:
wherever I'm looking I can read this:
schema
A named collection of database objects, including logical structures such as tables and indexes. A schema has the name of the database user who owns it.
---I don't particularly like that definition.
A schema can be a logical database - just like a SQL-Server database. For example, the schema HR can be the Human Resources database with tables like employees, departments, payroll and so on.
A schema can be a user account. Let's say John is the head of a department. A schema can be created for John called JOHN. The HR schema (logical database) can grant select privs to the JOHN schema (user account) on tables and views inside the HR database schema.
It can even be setup in such a way that JOHN can only see his department's staff in the employees, and payroll tables, and a single row for his department in the departments table (this feature is called virtual private databases).
The JOHN schema, besides connection to Oracle rights and selection rights on the HR tables, may have no other rights. So no tables, views and other db objects can be created in the JOHN schema.
The HR schema otoh has the rights to create the db objects. And it may for example not have any create session rights, preventing anyone from directly logging into this schema.
There may be a .Net application for HR. It uses an application schema in Oracle called HR_APP. It may have certain db objects (such as application log tables, application audit tables, etc). It also will have access to the HR schema's db objects.
So an Oracle schema can be used in many different ways - providing flexibility way beyond what other database products provide in this regard.
As for how to use a schema (as a user schema, logical database, app schema, library schema, etc) depends entirely on your requirements - and correctly translating these into secure and flexible Oracle schemas that address these requirements.
In my understanding this means that if I wanna create two databases (collection of tables), which are called 'schemas' in Oracle I also have to create 2 database users.Yes. But these will be logical database schemas. Not end user schemas. For example, you can create a HR schema for a Human Resources database. You can create a MARKETING schema for the Marketing database. (yes, you will use the CREATE USER command to create these 2 logical database schemas - and you would use the same command to create a user schema, developer schema, or any other type of schema)
The HR schema can be specifically setup for the HR database requirements. A space quota of 10Gb. The ability to create tables and stored procedures and views.
Likewise, the MARKETING schema can be setup specifically for marketing. They may need a 50Gb space quota. This database may use object relational features and also need the rights to the SQL advance data types. Etc.
If you want to use the HR database, you can logon as the HR schema. If you want to use the marketing database, you can logon as the MARKETING schema.
Or you can create a user schema - and for this schema user to select tables from the HR database, the HR schema needs to grant specific rights (like select, update, delete and insert) to the user schema on those tables.
Do not let this confuse you. A schema can be many different things, depending on WHAT it can do and HOW it is used. And both these you determine when creating the schema and its rights and its contents (if any).
As already suggested - read the Concepts Guide. See http://tahiti.oracle.com (Oracle documentation portal).

Similar Messages

  • Create new mailbox for existing users?

    Hi All,
    I am new to JNDI concepts. I need to create new mailbox for existing users in domino directory. is it possible?
    Scenario is : I have some users in domino directory. They dont have mail account now. I want to create it.
    Kindly guide me...
    Thanks,
    Ram

    Hi,
    You can try LSMW (Direct method) for uploading class values.
    Upload file can hae following structure:
    OBJEK     |     ATINN     |     KLART     |     ATWRT
    Release Grou+Release strategy |     Characteristic name     |     Class type     |     Class Value
    e.g. rel grp is PO, rel strategy is 01, characteristic name is EBAN_EKORG, and class value is 1000 then
    OBJEK     |     ATINN     |     KLART     |     ATWRT
    PO01     |     EBAN_EKORG |     032     |     1000
    multiple characterstics can be
    OBJEK     |     ATINN     |     KLART     |     ATWRT
    PO01     |     EBAN_EKORG |     032     |     1000
    PO01     |     EBAN_EKGRP |     032     |     100
    Regards,
    Yogesh

  • Does we need new CALs for adding a new domain for existing users?

    Hi, 
    Our company has setup a new company with domain.  We want to add the new email account to existing mail box.  Do we need new CALs?
    Thanks
    Wilson

    Hi Wilson,
    For license related questions, it will be more professional to inquiry Microsoft Customer Service:
    http://support.microsoft.com/gp/customer-service-phone-numbers/en-gb
    Thanks,
    Simon Wu
    TechNet Community Support

  • Access Policy for Existing Users

    Hi,
    Here is the Scenario:
    1. We have AD resource object having "Allow Multiple" Unchecked
    2. We have Users who are already provisioned to AD
    We are trying to introduce Auto Provisioning into our system for AD, I know new users will be evaluated against Access policies and will be provisioned to the resource and hence groups management will be taken care automatically, Questions:
    1. If I disable resources (and not revoke) for these new users what will be the group membership status -will they be removed from group?
    2. How to pull existing users under this auto prov umbrella? My thoughts: by writing a custom scheduler that will check resource provisioned and make it as part of the group, but will resource be revoked automatically if group is removed for these users? If not what should be the approach for existing users?
    Thanks in advance

    I've completed a similar tasks using SQL.Take a look at the following table and you can do these tasks:
    UPP, UPD, USG, POG and AD group table 'UD_ADUSRC'

  • Pb with populating newly added AD fields for existing users

    Hello,
    Let's say that we have version 10 of the AD process form pushed to production.
    Then we decided to push version 11 of the AD process form, which now has 4 more fields, to prod.
    For new users, we can see that the new fields are populated and the data flows down to AD.
    But, how do things work for existing users with existing AD account?
    How can we make the new fields appear in the process form of an existing user with old AD account that did not contain the new 4 fields.
    Thanks
    Khanh

    FVC or Form Version Control Utility is specifically designed for this purpose. Refer OIM documentation & also have a look at the following links:
    http://download.oracle.com/docs/cd/E10391_01/doc.910/e10363/appc.htm
    http://oim-iam.blogspot.com/2010/04/oim-fvc.html
    Thanks
    SRS

  • Problem in creating new versions for existing DIR using CV01N

    I am working in SAP ERP 6.0 EHP 4.0 system.
    I have problem in creating new versions for existing DIR using CV01N
    I create a DIR version 00 with functional location and mpd cycles. Then when i try to create a new version by copying the contents created from already created document.I change the MPD cycles in the new version and save it.
    once when i display the first document created the mpdcycle specified in version 01 is copied to the 00 version.
    The document is inconsistent where versioning of document doesnot work properly wrt MPDCYCLE and MP HEADER.
    The problem which i found was the document identification guid remains the same for all the document versions getting created.
    The same is working fine in SAP ERP6.0 EHP3.0 sytem.
    Please someone help me in resolving the above issue.
    Regards,
    Prasad.B

    There is a change in the standard code.The reason for the above problem was  because of a missing Enhancemnet point in a standard function module 'CV110_DOC_CREATE_WITH_TEMPLATE'.
    IS-ADEC-MPD  - Enhancement to copy MPD data
    ENHANCEMENT-POINT CV110_DOC_CREATE_WTEMPL_01 SPOTS ES_SAPLCV110.
    +*$*$-Start: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    +**ENHANCEMENT 1  ZSF_AD_MPD_SAPLCV110.    "active version**+
    +*** copy MPD relevant data from templ. doc to current doc**+
      +**CALL FUNCTION 'MPD02_COPY_MPD_DATA'**+
        +**EXPORTING**+
          +**is_draw = ls_draw**+
        +**TABLES**+
          +**ct_drad = lt_drad.**+
    +*ENDENHANCEMENT.**$*$-End:   CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    Created a custom enhancement point similar to SAP ECC6.0 EHP 3.0 system.
    The reason was the buffer was not getting cleared previously.After inserting the above code the DIR's are getting created withot any issues.
    Regards,
    Prasad.B

  • How to create the new varients for existing generic article.

    Hi all,
          Can any body tell how can i create new varients for existing generic article
        T-Code - MM41 ( IS-Retail).
       Plz help, helpful answers will be rewarded.
    Regards,
    Sai

    Hi
    If you have access to the program of the tcode, then go to that tcode click on system->status, to get the program name, go to se38 give that program name and select variants radiobutton, create the variant.
    Regards
    Haritha.

  • Apply new style for existing paragraph

    How to apply new style for existing paragraph
    I need to apply existing paragraph style "FEBL1" to bullet list (newstyle)

    May be I am not clear with your question.
    You want to apply any style to a paragraph, you can use grep function:
    app.findGrepPreferences = app.changeGrepPreferences = null;        
    app.findGrepPreferences.findWhat = ".+";
    app.findGrepPreferences.appliedParagraphStyle = "FEBL1";   
    app.changeGrepPreferences.appliedParagraphStyle = "bullet list";   
    app.activeDocument.changeGrep();
    app.findGrepPreferences = app.changeGrepPreferences = null; 
    OR
    You want to add bullet list in your existing style "FEBL1", try the below code:
    var pstyles = app.activeDocument.paragraphStyles; 
    for(var i=0;i<pstyles.length;i++) 
        if(pstyles[i].name == "FEBL1")
            pstyles[i].bulletsAndNumberingListType = ListType.BULLET_LIST;
    Vandy

  • Problems with a certain program for existing users

    Hello,
    We have problems with a third party software application. We have installed this software program on a terminal server (server 2003 32bit) and when we open this software with a existing user account the application crashes with the following entry in the
    eventviewer:
    Application Error 100
    Faulting application ProTime.exe, version 4.1.0.9, faulting module msvbvm60.dll, version 6.0.97.82, fault address 0x000fd0d9.
    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.
    We have checked the eventlog on the server but the only error that we see is the application error 100 when we open the program. Also we checked the rights on the program's database and folders but that doesn't help either.
    The last thing we did was;
    - Installing the software on a brand new virtual server with server 2003 x86 (no other software installed)
    - Installing the software on a new virtual machine with server 2008 r2 x64 (no other software installed)
    The strange thing is when we change something in the compatibility mode setting for example run as windows xp then we can run the program just fine but when the user logs off and log on again it doesn't work until you change something at the compatibility
    mode setting (doesn't mather which setting)
    When we create a new domain user then the software works properly without any settings changed.
    Any idea what could cause this problem?
    Thanks
    With kind regards,
    Lars

    Hi Jesper,
    Sorry for the late response. We think so, atleast the software company says it is.
    We should not use the compat. mode because the application is not working on server 2003 x86, server 2003 x64, server 2008 r2.
    It is just really strange. Software company has no clue how to fix this problem and they say it is caused by the active directory because when we add a new user then the application starts properly. User accounts created a long time ago are not able to start
    the application.

  • PF attribute modification in Access Policy for existing users.

    Hi Guys,
    I have an access policy for provisioning a resource. Suppose if I make some changes for the process form attribute value inside the access policy,How can I have the same attribute value reflected in the process form of users who are already provisioned by the access policy?
    Direct database update wont be a good idea here as I am having multiple access policies for the same resource. Is there any table which is having the relation between provisioned resource and curresponding access policy if at all I have to go for a custom scheduled task?
    Thanks,

    Does this solution also supposed to work in OIM 11g? I Tried it but data on the main form does not get reflected on the process form of existing users. For child data it does work.
    Edited by: bsteen on Aug 5, 2011 5:21 AM

  • Step 20 - Create new connection for NORTHWIND user, Northwind - Migrated

    Hello,
    I am migrating the Northwind database from Access to Oracle, and I am following the directions, but when I get to step 20, create a new connection for the Northwind User, Northwind - Migrated, I cannot create the connection. After running the converted model script that was generated by the workbench -- I don't see the Northwind - Migrated database. So how can I create a connection to it?
    Also -- after I ran the script, I did not see any messages in the log showing I ran the script, but the status bar at the bottom of the tool said script finished..... I am confused.
    Thanks!
    Jeff

    Anyone have this same issue trying to migrate the Northwind database to access using migration workbench?
    Thanks so much,
    Jeff

  • Change display name for existing users

    Hi,
    We have alot of users in our Active Directory. After an migration our existing users are displaying their name wrong. When we create a new user the display name is set FirstName LastName. But all of our old users have their User logon name as display name.
    Is there a way to change the display name of our old users to FirstName LastName instead of the user logon names they are displaying now? Doing this per user is a hell of a job so this really isn't an option.
    Example:
    Full name: Peter Peterson. User logon name: pepeter. Display name: pepeter. (old user)
    Full name: Tom Thompson. User logon name: tothomp. Display name: Tom Thompson. (new user)
    Greetz,
    Tom

    I have found a script for Powershell that may be the answer to my question. There is only one thing that is not in the script. The script runs for all users. The PageSize is set to 2000 so it runs 2000 entries. Is there a way that I can run this script for
    all Users in AD that start with the letter "A" or with an other letter. :P
    $previewMode = $true #change value to $false ONLY after you have verified the preview!!!
    $CurrentDomain = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()
    $Domain = [System.DirectoryServices.DirectoryEntry]"LDAP://$CurrentDomain"
    $Searcher = New-Object System.DirectoryServices.DirectorySearcher
    $Searcher.PageSize = 2000
    $Searcher.SearchScope = "Subtree"
    $Searcher.Filter = "(&(objectCategory=person)(objectClass=user)(!(objectClass=computer)))"
    $Searcher.PropertiesToLoad.Add("userPrincipalName") > $Null
    $Searcher.PropertiesToLoad.Add("givenName") > $Null
    $Searcher.PropertiesToLoad.Add("sn") > $Null
    $Searcher.PropertiesToLoad.Add("distinguishedName") > $Null
    $Searcher.SearchRoot = "LDAP://" + $Domain.distinguishedName
    $SearchResults = $Searcher.FindAll()
    $dnsSuffix = $CurrentDomain.Name
    foreach ($Result in $SearchResults){
                   $firstName = $Result.Properties.Item("givenName")
                   $lastName = $Result.Properties.Item("sn")
                   $newLogonName = "$firstName $lastName"
                    [System.DirectoryServices.DirectoryEntry]$userObject = $Result.GetDirectoryEntry()
                    $oldLogonName = $userObject.sAMAccountName
        Write-Host "Changing $oldLogonName to $newLogonName..."
        try {
            if (!($previewMode)) {
                       $userObject.cn = $newLogonName           
               $userObject.CommitChanges()
            Write-Host "$oldLogonName successfully changed to $newLogonName."
        catch{
            Write-Host "Error changing $oldLogonName to $newLogonName."

  • Reapply Rules for existing users

    Hello All IDMers;
    We have a group called Seasonal for which the member access is based on rule that has two fields one is set to true and also based on employee type which is "Seasonal".
    There are other users who are of different emp type BUT with the other field set to true.
    Now what we decided is to put all those who have field set to true into the this group irrespective of their employee type.
    So going forward for new users we can easily implement this because I am going to delete the Emp Type = Seasonal condition from Rule designer.
    But Can you please tell me if there is a easy way jus by using design or admin console to apply this condition to all existing users.
    I hope i didnt confuse you all.
    Regards;
    VSN

    oh.. my bad. I looked mainly the Subject and was thinking about the rules all the time...
    In your case, you can use the following function to add a user to a group. Please check in the Forum, there are lot of sample code for searching a user with a particular attribute value - then if you have the user key and group key, then you can use the below function to
    Map usermap = new HashMap();
    usermap.put("Users.User ID", User_id );
    usermap.put("Users.Status", "Active"); //put only active users in the hashmap
    Map grpmap = new HashMap();
    grpmap.put("Groups.Group Name", Group_Name);
    tcResultSet ts = userClient.findUsers(usermap); //find users - to get the ukey
    tcResultSet tg = groupClient.findGroups(grpmap); //find requireq group
    long ukey = ts.getLongValue("Users.Key");
    long gkey = tg.getLongValue("Groups.Key"); //find group key
    System.out.println("User Map: " + ts);
    System.out.println("User Key: " + ukey);
    System.out.println("Group Key: " + gkey);
    int usrNumRec = ts.getRowCount(); //get number of all user records in OIM
    System.out.println("There are: " + usrNumRec + " user records in OIM Dev");
    //ADD the Member now
    groupClient.addMemberUser(gkey,ukey); //add user back to a group
    System.out.println("GROUP Added");
    Search in google for the OIM functions such as addMemberUser - you will find better code in this forum or somewhere else...
    Regards
    Vijay Chinnasamy

  • New JSP for existing app?

    The client presentation layer of an existing app is swing, which is for the local office user. For the travelling users, can I deploy the app to their notebooks with Webstart so that they can access the app thru internet, without writing any new codes? or should I write new JSP/html pages for them?

    The client presentation layer of an existing app is
    swing, which is for the local office user. For the
    travelling users, can I deploy the app to their
    notebooks with Webstart so that they can access the
    app thru internet, without writing any new codes? or
    should I write new JSP/html pages for them?It depends on your requirements. If your clients start to use PDAs, you won't be able to use Webstart with those. A servlet/JSP solution OTOH would require the client to be constantly online and can't be as feature-rich as a Swing UI, but they can serve all kinds of devices.
    Whether you need to rite new code for Webstart depends on how well-written the application currently is. If it doesn't rely on path or JAR names in any way, I don't think there's a problem. You might need to sign the JARs, though.

  • Error "550 5.1.1 ADR.RecipNotFound" for existing user

    Hello!
    Our Exchange infrastructure description, briefly:
    1. Using Exchange 2013 CU7
    2. 2 x MBX+CAS servers (EX1, EX2)
    3. 2 x Edge servers (mx1, mx2)
    4. DAG, 4 DBs
    5. Hybrid Configuration: 200 local users, 15 cloud users
    Our case: sometimes our users receive NDR while sending messages to existing mailboxes:
    "Remote
    Server returned '550 5.1.1 RESOLVER.ADR.RecipNotFound; not found'
    For example, user sent 2 messages, first caused NDR, second was successfully delivered:
    Get-MessageTrackingLog -Sender [email protected] -Recipient [email protected] | fl EventId, Source, TimeStamp, EventData
    EventId : HAREDIRECT
    Source : SMTP
    Timestamp : 15.04.2015 16:58:36
    EventData : {[DeliveryPriority, Normal], [AccountForest, local.domain.ru]}
    EventId : RECEIVE
    Source : SMTP
    Timestamp : 15.04.2015 16:58:36
    EventData : {[FirstForestHop, EX1.local.domain.ru], [Oorg, domain.ru], [ProxiedClientIPAddress, 10.0.100.21], [Proxie
    dClientHostname, mx1.domain.ru], [ProxyHop1, EX1.local.domain.ru(192.168.0.11)], [DeliveryPriority, Normal]
    , [AccountForest, local.domain.ru]}
    EventId : AGENTINFO
    Source : AGENT
    Timestamp : 15.04.2015 16:58:36
    EventData : {[AMA, SUM|action=st|error=|atch=0], [DeliveryPriority, Normal], [AccountForest, local.domain.ru]}
    EventId : FAIL
    Source : ROUTING
    Timestamp : 15.04.2015 16:58:36
    EventData : {[DeliveryPriority, Normal], [Oorg, domain.ru], [AccountForest, local.domain.ru]}
    EventId : HAREDIRECT
    Source : SMTP
    Timestamp : 15.04.2015 18:17:23
    EventData : {[DeliveryPriority, Normal], [AccountForest, local.domain.ru]}
    EventId : RECEIVE
    Source : SMTP
    Timestamp : 15.04.2015 18:17:23
    EventData : {[FirstForestHop, EX2.local.domain.ru], [ProxiedClientIPAddress, 10.0.100.22], [ProxiedClientHostname,
    mx2.domain.ru], [ProxyHop1, EX2.local.domain.ru(192.168.0.12)], [DeliveryPriority, Normal], [AccountForest,
    local.domain.ru]}
    EventId : AGENTINFO
    Source : AGENT
    Timestamp : 15.04.2015 18:17:23
    EventData : {[AMA, SUM|v=0|action=|error=|atch=0], [AMA, EV|engine=M|v=0|sig=1.195.3371.0|name=|file=], [TRA, ETR|ruleI
    d=068e0c20-5de5-48e0-9b53-ea90e5deb5b9|st=12.12.2014 18:27:31|action=SetSCL|sev=1|mode=Enforce], [CompCost
    |AMA=0|ETR=0], [DeliveryPriority, Normal], [AccountForest, local.domain.ru]}
    EventId : SEND
    Source : SMTP
    Timestamp : 15.04.2015 18:17:25
    EventData : {[E2ELatency, 4.863], [Microsoft.Exchange.Transport.MailRecipient.RequiredTlsAuthLevel, Opportunistic], [
    DeliveryPriority, Normal], [AccountForest, local.domain.ru]}
    EventId : DELIVER
    Source : STOREDRIVER
    Timestamp : 15.04.2015 18:17:25
    EventData : {[MailboxDatabaseName, IT], [Mailboxes, c1357fa5-52f2-4d16-8c70-09c9f9c4ab0e], [ToEntity, Hosted], [E2ELate
    ncy, 4.863], [DeliveryPriority, Normal], [AccountForest, local.domain.ru]}
    How can I investigate this issue?

    Hi Turboon,
    Thank you for your question.
    Did this issue occur when mailbox was moved to office 365?
    "Remote Server returned '550 5.1.1 RESOLVER.ADR.RecipNotFound; not found'’ could be occurred if the on-premises mail-enabled user who represents the moved mailbox isn't stamped correctly with the target address. The Exchange server generates an NDR
    message because the on-premises Active Directory Domain Services (AD DS) can't locate the user in order to route the mail correctly. We could add the target address, also known as the service routing address, to the mail-enabled user in the on-premises environment
    by the following steps:
    In a web browser on your local Exchange 2013 server, browse to the Exchange Admin Center,
    Click Recipients, and then click Mailboxes.
    Click the user, and then click Edit.
    Click Email Address, and then click Add, .
    Under Email Address, click SMTP, and then enter the email address. Use the
    <alias>@<domain>.mail.onmicrosoft.com format for the email address.
    Click OK, and then click Save.
    We could refer to the following link:
    https://support.microsoft.com/en-us/kb/2685437
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Jim Xu
    TechNet Community Support

Maybe you are looking for

  • IDVD won't import any iMovie project

    Hi, For the last 2 days I've been trying to import ANY type of video file from iMovie into iDVD 7.0.3 but again and again, I get the error: "Unsupported File Type : Unknown format" I tried: - Using iMovie to Share my project with iDVD but after codin

  • Error using mdsys.sdo_relate()

    Hi, I am using Oracle 8.1.5 and i am trying to execute the following sql statement SQL> select p.name 2 from parks p 3 where mdsys.sdo_relate(p.shape, mdsys.sdo_geometry( 3,null,null, mdsys.sdo_elem_info_array(1,3,3), 4 mdsys.sdo_ordinate_array(10,10

  • Dial up access crashes after SB Audigy 2Zs installat

    My Audigy 2ZS sound card seems to work fine, although I'm just starting to explore the options. My problem is that since I installed this product, I experience a hard crash (blue screen) whenever I try to go online. I only have dial-up, but both aol

  • Huge photo file

    I duplicated a photo file in iPhoto (5.0.4), and then did a little editing on the duplicate image- I cropped it so that I could use the image in the contact info on my iPhone. Today, I was preparing to update to iLife '08 and noticed that in the Find

  • Problems with the starbucks app on iphone 5s

    When I go to sign in it says error 500 or something like that. Anyone else having problems??