Creating custom database user

Hi,
Oralce E-Biz: 11.5.10.2
OS: AIX 5.3
I have a requirement from the function team to creata custom user for HR implementation.
need to know best practice for it. i.e privileges for it, Default tablespace etc.
Thanks

Hi;
What that user will do? It will be readonly? Give more details
Regard
Helios

Similar Messages

  • 10g on XP: hangs when creating custom database

    Hi
    When installing 10g on Windows XP SP2, I'm successful if I choose the software only. If I try to create the custom database with the Oracle database assistent, the oui stops after 2% with:
    - ORA-00604: error occured at recursive SQL level 1
    - ORA-02248: invalid option for ALTER SESSION
    I've already installed a 10g client, with which I can connect to another Oracle server without problem.
    Any idea, why this happens?

    Review the thread given below it talks about changing couple of oracle registry values as a fix...
    Re: Cant create a new db with dbca on WinXP Pro
    Good luck!
    -Ramesh

  • How to create custom(or) user defined component in SAPTAO

    Hi,
       Please provide me some document or steps on how to create custom component in sap tao.
    Thanks a lot in advance.
    Regards,
    Sudha

    Hi,
    If you want create any custom components, you should use SAP QTP to create it.
    Here are the simple steps:
    i) Go to QTP -> Click on New - > Select Scripted Component - > ((Select SAP_Doc) area (i.e. whatever application area you have created for SAP TAO installation)) -> Record or Write a script based on your requirement & save
    ii) Go to QC -> BPT -> open above component and insert the parameters and call these values in QTP script level (either way you can do)
    iii)  Create a datasheet and declare the parameters in datasheet and call this sheet whenever you have required.
    Good luck.
    Ram

  • Create Custom screen - User Exit.

    Hi All,
    As i am new to the USER-EXIT and SCREEN-EXIT, I want how to create new custom screen for VT02N Transaction.
    My requirement is,
    Userexit MWMRF800 u2018ENHANCEMENT FOR USER SCREENS (LOGICAL SCREEN 0800)u2019
    The SAP RF standard screen 2800 of function group LMOB has to copy to the custom screen 9800 of function group XLRF.
    Here i need to create new custom screen as mentioned above and assign user exit to this screen.
    Could anyone help me to do this.
    Thanks in Advance.

    I  have similar problem here. As suggested, I tried to change the package of the standard function group but its asking for access key. I am assigning CONFPP07 component to my project which is already saved under a Z package.

  • How to create custom "new user registration" process?

    Hello,
    I need to allow new users self-registration, but they must provide a little bit more information during registration. So I need to change or create new registration process.
    How can I do this?

    As far as your goal is only to extend user attributes:
    1) Check the membership module
    2) View source on the Registration page
    3) Create your new registration page with
    new user ldap attributes as input fields names
    and test your new template with membership module
    PS: For more customization you have to write your
    own module or extend membership module.
    Cheers,
    Alex :-)

  • SQLAzure: Creating Database User from Dacpac

    Is it possible to create custom Database users with post deployment steps, and get it deployed as part of Dacpac ?

    Hi,
    It seems that the SqlPackage.exe Import action does not have any parameters that you want use to specify the database version or MAXSIZE of target server.
    You can refer to the following article about Import Parameters and Properties of SqlPackage,exe:
    http://msdn.microsoft.com/en-us/library/hh550080(v=vs.103).aspx
    Ref:
    https://social.msdn.microsoft.com/Forums/en-US/e5fef831-7f52-4626-8923-0aa493efc2a8/sqlserver-2012-partially-contained-database-user-created-by-dacpac-cannot-login?forum=ssdt
    Hope this helps you.
    Girish Prajwal

  • Error while creating database user with first.lastname pattern

    I am trying to user the database user management connector to create oracle database user, but when i use first.lastname pattern as the database username i got an ora-01936
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],oracle.iam.connectors.dbum.common.db.util.DBUtil : executeQuery
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],Error occurred while trying to execute query.
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],Description : ORA-01936: cannot specify owner when creating users or roles
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],java.sql.SQLSyntaxErrorException: ORA-01936: cannot specify owner when creating users or roles
    i figured out that when i use fist.lastname as database username i have to add double quotes, so i can create de user properly , but now the add role or grant task fails with ora-01741.
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],================= Start Stack Trace =======================
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],oracle.iam.connectors.dbum.common.db.util.DBUtil : executeQuery
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],Error occurred while trying to execute query.
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],Description : ORA-01741: illegal zero-length identifier
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],java.sql.SQLSyntaxErrorException: ORA-01741: illegal zero-length identifier

    Did u try adding the roles via sqlplus by running a command ?
    Whats the result
    Thanks
    Suren

  • Create a database link to access SqlServer 2005 view from oracle 11gr2

    Hi All,
    Greetings for the day.
    Though I have seen quite a few posts but just wanted to cross-verfiy and double check hence posting.
    Oracle Database : 11gr2
    OS :SOLARIS SPARC 64 Bit
    SQL Server Database : Sql Server 2005
    OS : Windows 2003 32 Bit
    The requirement is to access a view residing in the SQL Server 2005 Database using the Oracle Database. This involves creation of a Database link in the Oracle Database to access the SQL Server.
    Can you suggest which approach should i follow ( I am able to understand that both do the same job ):
    How to Configure DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX) post install [ID 562509.1]or
    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install [ID 561033.1]Will they do the same job ? And can they be used on any OS and version of the SQL Server Database as version information for SQL Server is not specified anywhere?
    Please let me know so that I can it forward with Business for approvals and budgetting.
    Regards
    KK

    Your question is similar to the post: Oracle 11gr2 connection to Sql Server using dg4msql problem
    Please visit: http://stackoverflow.com/questions/4658942/oracle-11gr2-connection-to-sql-server-using-dg4msql-problem
    Answer on the website:
    You seem to be using the Gateway for MySQL set-up rather than the Heterogeneous Gateway (for ODBC connections). Here is an overview of the process
    On SQL Server create a database user and give it read access to the database/tables you want to read via the Oracle database link.
    In the gateway home each SQL Server database you want to access should have an init.ora located in $OH/dg4msql/admin in the form initsid.ora where sid is the name of the database to be used in the link (e.g. initbob.ora), so create one
    HS_FDS_CONNECT_INFO=msserver1:1234//Example_Database
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    HS_TRANSACTION_MODEL=READ_ONLY
    You must now add the new sid to the listener.ora in the gateway home using an additional SID_DESC section inside the existing SID_LIST, for example
    (SID_DESC =
    (SID_NAME=bob)
    (ORACLE_HOME=/oracle/gateway/product/11.2.0)
    (ENVS=LD_LIBRARY_PATH=/oracle/gateway/product/11.2.0/dg4msql/driver/lib;/oracle/gateway/product/11.2.0/lib)
    (PROGRAM=dg4msql)
    You should now stop and restart the gateway listener so that the new sid becomes active. NB a reload is not enough.
    You must now add the new sid in the tnsnames.ora file for the listener of each database in which you will create a link. You don't need to do this in the gateway home unless it is also a database home in which you will create a database link.
    bob =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = severname.example.com)(PORT = 1690))
    (CONNECT_DATA = (SID = bob))
    (HS = OK)
    NB: The host and port are for the gateway not for the SQL Server database
    In each database that requires a link to the MS-SQL database you should create a database link to your new gateway sid.
    CREATE PUBLIC DATABASE LINK bob
    CONNECT TO "ms_user" IDENTIFIED BY "ms-passwd" USING 'bob';
    where ms-user and ms-password are the SQL Server user you created right at the start.
    Now you can test the new database link
    SELECT COUNT(*) FROM "Table_Name"@bob;
    Once you have this working you can alter the initsid.ora file to add parameters to suit your connection. If you do it this way you can easily add and manage many different databases via the gateway.
    Hip
    Edited by: 1000595 on 04:58 17-04-2013

  • How to restrict database user.

    I need to create a database user who have only read only access to the 10g database. Is there any note which will help on this. Thanks in advance.
    regards,
    manish

    Hi,
    Is this an Oracle E-Business Suite database? Do you want to create a user similar to APPS with read privileges? If yes, please refer to the following link:
    Read Only Schema in Oracle APPS 11i
    http://oracle.anilpassi.com/read-only-schema-in-oracle-apps-11i-2.html
    If you want to create just a read only database user (not APPS), grant this user select privilege only on the objects you want this user to access.
    [Create Read only user for a Schema |http://arjudba.blogspot.com/2008/09/create-read-only-user-for-schema.html]
    Regards,
    Hussein

  • How to synchronize database user

    Hi All
    I have a Database user A
    I want to create a Database user B
    User B is only select role
    User A is update, select, delete, etc...
    How to create user B which tables of user A and tables user B is the same.
    Any changes of user A, user B is changed too.
    Please help me!
    Thanks alot
    Thiensu2810

    If user B owns tables, then it will have select, insert, update, delete on those tables.
    Maybe user B should just have synonyms of user A tables, and select priveleges on user A tables ?

  • Multiple Database Users

    Dear Experts
    I have created 3 database users (SCOTT, X, and Y). SCOTT user has all the database. I wanted to give the full rights to X and Y on the objects of SCOTT, so, I issued the command
    SQL>grant all on emp to X;
    Connecting X, i have to give schema.table_name to access data in EMP. Is there any way that i can extract data from SCOTT's object without using schema name with table or without creating synonyms.
    Regads

    user832095 wrote:
    I am extremly sorry,
    I am creating a duplicate server. The existing server has linux as os and oracle 10g db. All the users are created as database users and they can manipulate data through an application. I have a user dump, so, I restored data and created same users in new database and granted all the priviliges the are found in the existing db server, but I was getting user privileges error. I have checked the existibg server database thoroughly but i did not get sysnonyms there. I wonder how the users and their privileges are being maintained there. The same situation I have seen in Maximo database also.
    I am thankfull to my friends in this forum who gave me the valuable solutions. I hope if anybody can help me further
    Regards
    MASo exactly how did you create your "user dump"?
    And exactly How did you "restored data and created same users in new database"?
    And exactly what were you doing when you were "getting user privileges error"
    And what was the exact error message associated with "user privileges error"?
    It's really, really, really difficult (impossible, actually) to help when all you give us are vague descriptions of your interpretation of what you do and how oracle responds. There is no tax on using sqlplus and the fine copy and paste features available with most modern OS products.

  • Repo-add [custom] database need to REMOVE old packages ? script to do?

    I believe it is still needed to create the custom database to use local packages and not have to do pacman -U [full-file-name]
    Doing this with repo-add (as mentioned in wiki 'pacman tips' will have old packages added sometimes if there are duplicates.
    How to remove older duplicates reliably?
    Or is there a way to sync without creating custom database with repo-add. The wiki speaks of: Installing packages from a CD/DVD/iso
    without mentioning any requirement of needing a database. I didn't understand how that would be possible just because the files are on DVD etc. I would expect the same 'old files in database' likelihood to exist also and as well cannot see how pacman would sync without a database.
    Basically I have tons of duplicate files in my huge copy of files locally. Not really sensible to try to keep it with only current versions so I thought there would be a guru's script to do this.

    Two things I attempted to touch on tomk.
    http://wiki.archlinux.org/index.php/Pacman_Tips
    Installing packages from a CD/DVD/iso
    I thought there appeared to be no mention of need for a custom database infering that the dvd/CD/iso would sync with pacman -Syu however the files were on there I guess it would be.
    Custom local repository
    Where this wiki page says in this Custom local repository 'repo-add' paragraph, that there's no way to assure that the latest packages will be added.
    The last argument will add all pkg.tar.gz files to the repository, so be careful. If having multiple versions of a package in the directory, it is unclear which one will take precedence and end up in the repository.
    As I had a not so understood experience I wondered if there were old packages in there as I got a message saying that local was newer than database or something when I tried to pacman -Syu with this local database I'd created. Something like that anyways, definitely not working right though not assuming I'm accurate in describing or guessing or methodology.
    I could be half asleep so apologies for not been my detail-freak self here.
    P.S. I started out with TONS of older version when I tried to create a good database.
    Last edited by yvonney (2010-06-28 09:01:35)

  • Create an end user

    How can I create an end user who can login and run my application?
    So long I have created a database user (schema) where I have built in my application.
    Now I just want to create some users some can access to just run the application.

    Hi
    Im trying to do the same thing. Bascially i have built a student application and a supervisor application. I have then created two end users called student and supervisor. Each of which i only want to be able to see there application and not the other one ( ie student sees student application and not supervisor application and supervisor sees supervisor application and not studdent application). So in therefore i have assumed that you just just need to create the user give them a username and password. Then go to the apex.oracle.com home page enter the database name and then the username and password for the user.
    This seems to allow me in but i get an Access denied by Application security check. Do you have any idea what this means. I have set both user so that they have no adim or developer rights. All i want is for them to be able to view and use the application.
    Any ideas?

  • How to create custom profile provider for fba user

    Hello Every One
      I have one SharePoint 2010 web application and on this FBA is configured. With help of code how can I get and set custom property for a user in
     “aspnet_Profile” table in Database.
    I have also try this config setting in web.config but not able to set or get profile property.
    <anonymousIdentification enabled="true" />
    <profile defaultProvider="AspNetSqlProfileProvider">
    <providers>
    <clear />
    <!--<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="fbaSQL" applicationName="/"/>-->
    <add name="Demo_ProfileProvider" connectionStringName="fbaSQL" applicationName="/" type="System.Web.Profile.SqlProfileProvider,System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </providers>
    <properties>
    <add name="ThemeName" type="String" allowAnonymous="true" />
    <add name="NoOfVisits" type="int" allowAnonymous="true" />
    </properties>
    </profile>
    </system.web>
    thanks
    navaratan
    Navaratan Sharma

    Solution for this problem is
    do following entry in web.config
    <anonymousIdentification enabled="true" />
    <profile enabled="true" defaultProvider="AspNetSqlProfileProvider">
    <providers>
    <clear />
    <!--<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="fbaSQL" applicationName="/"/>-->
    <!--<add name="Demo_ProfileProvider" connectionStringName="fbaSQL" applicationName="/" type="System.Web.Profile.SqlProfileProvider,System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />-->
    <add name="AspNetSqlProfileProvider" connectionStringName="fbaSQL" applicationName="/" type="System.Web.Profile.SqlProfileProvider,System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </providers>
    <properties>
    <add name="ThemeName" type="String" allowAnonymous="true" />
    <add name="NoOfVisits" type="int" allowAnonymous="true" />
    </properties>
    </profile>
    </system.web>
    code for get and set Profile property is
    protected void OnClickbtn(object sender, EventArgs e)
    try
    ProfileBase profile = System.Web.Profile.ProfileBase.Create(HttpContext.Current.User.Identity.Name);
    profile["ThemeName"] = txtTheme.Text;
    profile["NoOfVisits"] = int.Parse( txtNoOfVisits.Text);
    profile.Save();
    catch (Exception ex)
    protected void OnClickbtnGet(object sender, EventArgs e)
    try
    ProfileInfoCollection profiles = ProfileManager.GetAllProfiles(ProfileAuthenticationOption.All);
    foreach (ProfileInfo profileInfo in profiles)
    ProfileBase profile = ProfileBase.Create(profileInfo.UserName);
    // add condition for user
    txtTheme.Text = (string)profile.GetPropertyValue("ThemeName");
    txtNoOfVisits.Text = Convert.ToString((int)profile.GetPropertyValue("NoOfVisits"));
    SPUser user = SPContext.Current.Web.CurrentUser;
    catch (Exception ex)
    thanks
    navaratan
    Navaratan Sharma

  • Error creating a new user profile service application: The specified database is not a valid synchronization database

    When trying to create a new user profile service application on a new SharePoint install I get the following error:
    "The specified database is not a valid synchronization database"
    The installation then fails and does not create the third database. 
    I found some threads with similar problems but it involved upgrading an existing db.  In this case we want to create a new one.  Here is the relevant ULS log info:
    Starting schema provisioning of SynchronizationDatabase 'SP15_TEST_ENT_SyncDB'
    Provisioning the SP15_TEST_ENT_SyncDB database with the script at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\SQL\SPS\drop_procs.sql.
    Provisioning the SP15_TEST_ENT_SyncDB database with a script stream.
    Ensuring that the SP15_TEST_ENT_SyncDB database exists . . .
    The SP15_TEST_ENT_SyncDB database does not exist. 
    It will now be created.
    Setting the AutoClose option to False on the database SP15_TEST_ENT_SyncDB.
    Setting the ArithAbort option to True on the database SP15_TEST_ENT_SyncDB.
    Setting the TruncLogOnChkpt option to True on the database SP15_TEST_ENT_SyncDB.
    Starting schema evaluation of existing SynchronizationDatabase 'SP15_TEST_ENT_SyncDB'
    Validate Database: validating sync database
    Validate Database: validation failed: Error code -2
    Application error when access /_admin/NewProfileServiceApplicationSettings.aspx, Error=The specified database is not a valid synchronization database 
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Microsoft.SharePoint.Administration.SPDatabaseException: The specified database is not a valid synchronization database  
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.Administration.SPDatabaseException:
    The specified database is not a valid synchronization database   
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.HandleError(Exception e)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest()   
     at System.Web.UI.Page.ProcessRequest(HttpContext context)   
     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   
     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    I Tried to create another one under a different name (databases also) and I get the same error. 
    The SharePoint instance has the march mandatory update installed.  The sql instance we are using is an existing SQL cluster for other SharePoint poc's. 
    Has anybody seen this issue before? 

    I had the same problem and could not figure out what was wrong for the longest time.  I then had the idea to check in the model system database to see if there were any extra custom tables in that database.  Any tables that are in the model database
    are put into any new database when it is created.  I had some custom tables in the model database so I deleted the custom tables in the model database and deleted the failed user profile service application and its databases and then tried to recreate
    the user profile service application again and it worked with no errors

Maybe you are looking for