[ask] Multiple database for a user

Hi,
pardon for my very basic question since i'm new in database world. Currently I've been playing with XE and I cannot find a complete documentation on the subject, therefore I venture myself to ask some basic tasks of XE, such as:
1. Can a user have multiple database (or schema) or only 1?
2. If it can have multiple database, how can them be viewed?
3. How can I delete one of them if no 1 is true?
4. How can I delete a table?
5. Where can I find a thorough documentation on XE besides tutorial?
Best Regards,
Joe

user11357901 wrote:
Hi,
pardon for my very basic question since i'm new in database world. Currently I've been playing with XE and I cannot find a complete documentation on the subject, therefore I venture myself to ask some basic tasks of XE, such as:
1. Can a user have multiple database (or schema) or only 1?User infact IS a schema , and so schema IS user. They don't own the database;they belong to only one database,although they could
perform some actions on other databases
2. If it can have multiple database, how can them be viewed?You can access objects on remote database B with the user from database A by using database links
3. How can I delete one of them if no 1 is true?N/A
4. How can I delete a table?If using SQL, then DROP command is the one you want. DELETE command is used to delete row/s from a table, not to delete table
5. Where can I find a thorough documentation on XE besides tutorial?oracle.tahiti.com would be the best choice
>
Best Regards,cheers

Similar Messages

  • How to open multiple sessions for one user?

    Sorry for the silly question but I couldn't find it googling or searching through this forum, so I started wondering whether it's possible in SQL Developer to open multiple sessions for one user. I'm fairly new to SQL Developer and databases in general.
    When I open SQL Developer and connect to a schema, a worksheet opens named MYSCHEMA. If I disconnect then connect, another worksheet opens, named MYSCHEMA~1. I assumed these were different sessions, but if I enter into one worksheet:
    select col1 from my_table where row_id = 1
    -- shows result is 1
    update my_table set col1 = 0 where row_id = 1
    select col1 from my_table where row_id = 1
    -- shows result is 0and then enter into the second worksheet:
    select col1 from my_table where row_id = 1
    -- shows result is 0I would have expected the second worksheet to report 1 because the first worksheet did not issue a COMMIT. Thus, I'd guess both worksheets are the same session? Is that right? If so, how do I have two sessions open simultaneously (opened by same user)?
    I'm trying to implement the code at the bottom of this post, for which testing requires at least two sessions:
    Re: Help with Procedure
    Edited by: tem on Apr 18, 2012 6:44 AM

    Thanks Jim,
    Ctrl-Shift-N doesn't do anything for me. I'm on a mac -- by experimenting it looks like command-N does what you're looking for. This appears to be the same as left-clicking on the "New" icon in the top left corner of SQL Developer, or selecting from the pull-down menu, File > New.
    This opens "Create a New" window that appears to be a wizard. What would I select at this point? Options are: Database Connection, Table, View, Package, ...
    I don't see an option for "Worksheet".
    UPDATE:
    OK, I found that if I select "SQL File", a worksheet becomes available. Perhaps this is what you intended. However, when I issue the command
    select col1 from my_table where row_id = 1;it still returns 0 instead of 1. Hmm, maybe my initial assumption was wrong -- if this is a second (e.g. different) session, should I expect the changes made in the first session in SQL Developer (the UPDATE command) WITHOUT a commit, to be observed in this second session? I thought that changes made in one session were not viewable in a different session until these changes are committed in the first session? If so, how to show this in SQL Developer? I must be missing something basic here.
    Or, is SQL Developer issuing some sort of "auto-commit" without my knowledge?
    Edited by: tem on Apr 18, 2012 8:00 AM

  • How to add multiple databases for a single frontend

    We have a project based on distributed databases and we have to workout on .Net framework.I want to know some information of connecting multiple databases for a single frontend and how can we access them.
    If so we have connected 2 databases for a single frontend in future if I want add one more database to it how it will be possible to do it without disturbing the current connectivity.
    Please help me in resolving this problem.
    Thanks......

    hi,
    what do you mean by connecting 2 databases? can you explain further?
    using entityframework you can connect to different databases
    public class CustomerContext : DbContext
    public ReportContext()
    : base("DefaultConnection")
    public DbSet<Customers> Customers { get; set; }
    and your connectionstring (config file)
    <connectionStrings>
    <add name="DefaultConnection" connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=D:\\Database\Project.mdf;Integrated Security=True" providerName="System.Data.SqlClient" />
    </connectionStrings>
    you can add more connection strings on it.
    https://msdn.microsoft.com/en-us/library/vstudio/cc716756(v=vs.100).aspx
    https://msdn.microsoft.com/en-us/library/ms254978(v=vs.110).aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How do I send multiple credentials for a user when he/she connects to iTune

    I want to be able to send multiple credentials when a user connects. For example, all students will get a generic student credential and may have one or more more specific credentials for access in certain sections or course pages. I presume I can send multiple credentials but haven't found a how-to. Since the credentials are strings, I presume all I need do is concatenate them to send them all at once. What is the delimiter character so that iTunes can parse it?
    Thanks,
    Rob

    Yes, you can send multiple credentials in an iTunes U URL request. The delimiter is the semi-colon.
    So, let's say you want to send two credentials ...
    Student@urn:mace:itunesu.com:sites:hogwarts.ac.uk
    Student@urn:mace:itunesu.com:sites:hogwarts.ac.uk:potions3yr
    your token string would have the following "credentials" token ...
    credentials=Student@urn:mace:itunesu.com:sites:hogwarts.ac.uk;Student@urn:mace:i tunesu.com:sites:hogwarts.ac.uk:potions3yr

  • 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).

  • Multiple prompts for all users

    We have 2-factor authentication. Certs for every user is mapped so they only select the cert and enter the PIN. They do not enter username/password unless they use the certificate that is not mapped.
    Lately...within the last month, many users are complaining about being prompted multiple times for their username/password. They keep entering the correct username/password and it keeps prompting. Eventually, it shows a blank page.
    Users belong to multiple contractors but we gave them AD accounts on the same domain. 
    Any ideas?

    It may be due to either of below:
    1. Check if some changes happened to there mapping
    2. Check the version of Browser used by effected user
    3. Any new item\webpart recernt added to the page they face this issue with.
    4. ULS and event log from sharepoint and active directory server

  • Multiple laptops for one user.

    Hi,
    I install webtogo on laptop lt-1 for user 'test' and after a couple of days I install webtogo on laptop lt-2 for the same user 'test' and I keep working on lt-2. After a couple of days I return to lt-1 for user 'test'.
    Problem is: the data isn't the same on both laptops. Any solution to solve the problem?
    I think it's not allowed to install webtogo on different pc's for only one user.

    you could probably achieve this by placing unique key in mobileadmin.dm$user_device(user_id) so as registring a second device for a user will cause UK violation and operation failure.. but I didn't test this myself so you should test it thoroughly - it can have some undesired consequences.

  • Multiple Dashboard for single user

    I want to create different dashboards for different users. Do I have to login as these different users & create the dashboards or is there a better way?
    Thanks,
    Dinesh.

    No. You can create the dashboards as Administrator or any login that has privileges to create dashboards. It is when you deploy the dashboards that you can either restrict viewability or just default it to a certain dashboard. You can use session variables to direct users and My Account to default to a certain dashboard.

  • Asking authentication window for annonymous users enable bi site when view dashboards or (deploy dashboards to view by anonymous users in sharepoint 2013 )

    Hi
    in sharepoint 2013 i created bi center site
    1) and i followed best practices from Technet for how to create Secure store service,performance Point service applications
    2) and added Unattended service account permissions in SSAS data sources,
    3) given db_owner permissions for performance point service  application pool account in content database.
    4) and my requirement is that deployed dashboards and pointers can be viewable by any users , who without login to
    sharepoint web application,
    so i enable anonymous access for whole web application and bi site.
    but even when i open bi dashboards without login  by view permission user, it asking authentication window.
    i open dashboard designer and deployed using spfarm user in sharepoint webfront end server.
    adil

    PerformancePoint generally does not support Anonymous access, as is the case when using Excel Services data connections:
    https://technet.microsoft.com/en-us/library/ff191193.aspx
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Monitor multiple databases for expiring passwords?

    I have created a cutom report in Grid Control that sends a daily report to the DBAs each morning that reports on nonresponsive agents, failed backups, policy violations, etc. I would like to add a section for expired passwords but I'm unable to find that information in the repository. The closest I've come is an alert for "There have been x failed login attempts in the last 30 minutes." but I'd like something that would alert me before the password expires, ideally some configurable number of days before the expiration. Is that information available in the repository? I have considered a user-defined metric but we monitor around 150 databases that do not have common usernames or passwords so I think that would be difficult to maintain.

    "I have considered a user-defined metric but we monitor around 150 databases that do not have common usernames or passwords so I think that would be difficult to maintain."
    The default profile and all our end-user profiles have password expiration set to 90 days.
    What I have done for now is decrease the threshold of the "Failed Login Count" metric to 3 for the Warning threshold since that is the number of attempts a user gets before locking the account. That at least will alert the DBAs if a user has locked an account or an application or automated process is attempting to connect to an expired account.
    What would be ideal is if I could report on passwords that have not yet expired but are near the expiration time without having to connect to each database to check but it appears that information is not available in the oem respository.

  • Multiple members for single user variable???

    Hi,
    Can I select multiple members or a hierarchy for a single user variable?
    My requirement is to use a dimension which consist of more than 100 members but the user will not enter data for 100 members
    at the same time so I want to give user an option to select the members for which he wants to enter data.
    I was thinking of using user variable but it is allowing me to select only one member for user variable created for that dimension,
    that means if he has to enter data for 10 members he has to change that variable 10 times or I have to use 10 different user variable for that dimension.
    what if any user wants 20 members, at that time I have only 10 user variables.
    Please help..
    Thanks in advance..

    Hi,
    Can I select multiple members or a hierarchy for a single user variable?Are the required members descendants of any particular member(hierarchy )?
    If so, you can use IDescendants<user variable> in the form's page. And you can also use dynamic user variable option.
    Regards
    -Samrat Mane
    Edited by: 918547 on Aug 22, 2012 4:54 PM

  • Setting multiple paswords for sys user

    hi there
    is it possible that we set multi passwords for user : SYS ?
    i'v heard it can be done
    plz confirm this and tell me how if it is possible
    thanks

    mahdin-sotoudeh wrote:
    hi there
    is it possible that we set multi passwords for user : SYS ?
    i'v heard it can be done
    plz confirm this and tell me how if it is possible
    thanksNo it's not possible. The password for the Sys can be just one and is setup in teh password file .
    HTH
    Aman....

  • Multiple Authentication for BOE/ users not able to log in

    I have enabled both Windows AD, and SAP authentication.
    I can see that the users are imported.
    But these users are not able to login to BOE.
    please let me know what could be the problem

    You cannot logon with both SAP and AD at the same time, which are you trying AD or SAP? Have you tried client tools (CCM, deski, designer) Do you get a message there?
    If using SAP make sure to enter the user in systemclient/username like t25800/username when logging into client tools.
    Regards,
    Tim

  • How to show a database to a user for which only he has the read access?

    Hi All,
    We have a SQL Server and it has say 10 datatabases, we have created a login and also a user which has read access to just one of the 10 databases.
    I used 
    use [master]
    DENY VIEW ANY  DATABASE to msam_test
    To hide all the databases from explorer for that user if he logsin with msam_test.Now, i want this user to see a database named suresh3_test for which he has a read access.
    Can someone please help me if this is achievable?
    Thanks

    hi,
    It is not possible to look at one database if the user only have read access in your scenario.
    either you revoke the DENY VIEW ANY  DATABASE permission, which will list all the databases  for the user
    or  You need to make the user database owner by doing so:
    First delete the user from the database
    Right click on the database and select properties and change the owner to msam_test as shown in the pic below
    But the user will have owner rights on the database.
    Hope this clarifies your doubt. The same was explained in your earlier post as well
    Thanks
    Bhanu

  • How do I add multiple information under an user account?

    David, Thanks for all your help and I'm almost finished.  Hopefully this will be the last item.  I have users that register and then go to a profile page.  I need them to be able to recieve multiple messages and also input multiple scores.  I figured out how to do this but with only them being able to add one of each (its stored in the database table).  How can store multiple items for each user (with users continuing to increase)?  It's almost like I need a table for each individual user...

    Thanks, but I will proceed.  So getting back to my question...I figured that I needed a new table which I have.  I also set up a user page based on the session MM_Username and that is working fine.  I have 8 users in and everything is working fine on that end...that isn't the problem.  I used the insert command to insert all data/foreign key into table2 that I needed.  I need to be able to display a set of records from (table2) and when I try to use the MM_Username to filter that table, it doesn't work.  My understanding was that when a user is logged in, the session for each page is MM_Username so if the tables are set up with the same information, why doesn't it work?  I also inserted the table in the main loggin page and it actually does pull up the information, but even though I have the "repeat region command" it only shows the first record...it does however pull the first record for the logged in user.  But doesn't work at all on another page.  Please help.

Maybe you are looking for

  • Please suggest problem in increasing height repeating frames

    Hi, in my report normally up to 100 are printed. i setted the vertical elasticity as expand and horizontal as fixed. but while priting, in vertical, it is contracting if date is too short enough and expanding when dat is large enough. But what my req

  • Duplicate Records generating for infocube.

    hi all, when I load the data from datasource to infocube I am getting the duplicate records.Actually the data is loaded into the datasource from a flat file when i executed first time it worked but when i changed  the flat file structure i am not get

  • Indesign cs6, subscription, asking for license key

    hi. i bought an indesign subscription. i downloaded and installed it via app manager. i am logged in as the person who bought the subscription. i can't start it - it's asking for a license key. i am using win 8 pro. i uninstalled my all adobe product

  • How to replace image?

    Hi people out there, me facing a problem on replacing the image. I have a array of images. When i double clicked any of the image, there will be a file chooser appeared. This allows the user to choose another picture to replace the current image. So

  • Cant send imessage on Wifi

    Ive been having problems sending/receiving imessages or emails for that matter, whenever I am connected to my university's wifi. I initially thought it was a problem with my phone, but at home i can send and receive imessages with no problems. Ive re