View Full Version : creating a user with permit to create
Hello,
(1)
creating a new user so that I can import a .dmp file that creates tables.
Did create a user from 'oracle enterprise manager' with admin privileges,
but i am denied to import with C:> imp .
how come ? So I did the import using user system, works fine.
(2)
Am I able to use toad to see how my tables are linked with relation to one
and other ?
Possible to see the design of the db that I am importing ?
I do lack the book 'programming oracle, triggers and stored procedures' by
kevin owens
where the design is described.
regards, i
Daniel Morgan
06-26-2004, 07:54 AM
Inki wrote:
Hello, (1) creating a new user so that I can import a .dmp file that creates tables. Did create a user from 'oracle enterprise manager' with admin privileges, but i am denied to import with C:> imp . how come ? So I did the import using user system, works fine. (2) Am I able to use toad to see how my tables are linked with relation to one and other ? Possible to see the design of the db that I am importing ? I do lack the book 'programming oracle, triggers and stored procedures' by kevin owens where the design is described. regards, i
CREATE USER ...
IDENTIFIED BY ...
DEFAULT TABLESPACE ...
TEMPORARY TABLESPACE ...
QUOTA 0 ON SYSTEM
QUOTA ... ON ...;
GRANT CREATE SESSION TO ...;
GRANT DBA TO ...;
Run your import;
REVOKE DBA FROM ...;
--
Daniel Morgan
http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp
http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp
damorgan@x.washington.edu
(replace 'x' with a 'u' to reply)
Sybrand Bakker
06-26-2004, 11:49 AM
On Sat, 26 Jun 2004 12:54:26 +0200, "Inki" <inkimar_1968@hotmail.com>
wrote:
Hello,(1)creating a new user so that I can import a .dmp file that creates tables.Did create a user from 'oracle enterprise manager' with admin privileges,but i am denied to import with C:> imp .how come ? So I did the import using user system, works fine.(2)Am I able to use toad to see how my tables are linked with relation to oneand other ?Possible to see the design of the db that I am importing ?I do lack the book 'programming oracle, triggers and stored procedures' bykevin owenswhere the design is described.regards, i
1) Grant the user import the imp_full_database privilege
2) The full version of Toad has an E/R diagrammer.
The diagrammer assumes you have PK and FK relationships in your
tables, it doesn't reverse engineer them.
--
Sybrand Bakker, Senior Oracle DBA
MyLounge.com Site Map
Forum:
Cars,
Cell Phone,
Database,
Games,
Home Improvement,
IT,
Music,
School,
Sports,
Web Design,
Web Server,
Weight Loss
The MyLounge.com forum is intended for informational use only and should not
be relied upon and is not a substitute for any advice. The information contained
on MyLounge.com are opinions and suggestions of members and is not a representation
of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for
the accuracy, completeness or usefulness of any postings or the qualifications
of any person responding. Please consult a expert or seek the services of an
attorney in your area for more accuracy on your specific situation. Please note
that our forums also serve as mirrors to Usenet newsgroups. Many posts you see
on our forums are made by newsgroup users who may not be members of MyLounge.com
Term of Service
vBulletin v3.0.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.