English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

What is the syntax for creating a new user who will be able to create tables, drop tables, add/update data on the tables and perform queries? Also I noticed that when I use the select * from all_tables command I get a whole lot of information. Do I need to create a new database for the new user so I can see just the tables the new user has created when I use the above command? How do I do this? Can I then integrate this using Visual Basic 6?

2007-10-20 19:36:23 · 3 answers · asked by Nikhil M 3 in Computers & Internet Programming & Design

3 answers

create user newguy identified by newpass default tablespace tablespace_name temporary tablespace temp;
grant connect,resource to newguy;

All_tables is a view of all the tables that you can SEE, and includes many system tables.

The view user_tables will show only the tables owned by the logged-in user.

No - you definitely do not need a new database. Each user account has it's own objects that will be separate from the objects of other users. A set of objects under a username is called a schema. You could run several different applications from the same database by putting their tables in under different usernames.

2007-10-22 10:04:12 · answer #1 · answered by oohhbother 7 · 0 0

Create Database In Oracle 10g

2016-12-17 12:13:36 · answer #2 · answered by ? 4 · 0 0

In layman's term we are able to assert that "device" is a database (yet in oracle its observed as schema) the least confusing thank you to create a a schema is to apply the oracle em console and create someone. once you create someone, you're certainly becoming a schema. then you particularly can later upload tables to it.

2016-10-13 09:43:07 · answer #3 · answered by pienkowski 4 · 0 0

fedest.com, questions and answers