Discover grant drop database link to user in oracle, include the articles, news, trends, analysis and practical advice about grant drop database link to user in oracle on alibabacloud.com
--==cmd Console ==----== Daily User Management sql==----Connect to Sqlplus>sqlplus/nolog--Connect as DBASql>conn/as SYSDBA--Modify the user password to modify the system user's password to systemSql>alter user system identified by "system"--Connecting Sql>connPlease enter user name: SystemEnter Password:--Query All use
the user.Above we have built the database and table space, next build users:To create a new user:CREATE USER user name by password DEFAULT tablespace tablespace ( Default users) TemporarySuch as:CREATE USER utest by utestpwd DEFAULT tablespace db_test Temporary TempWith the
';
Create a User: (specify both its temporary and permanent tablespace spaces)
Create user WBS identified by wbs123 account unlockDefault Tablespace HJBTemporary tablespace hjb_temp;
Delete users: Drop user hjb_wbs;
V. Empowering newly created Users
Grant Connect,resource
Document directory
2. 1. Export data from the table to a file (using trusted connections)
2. export data from the table to a file (using Hybrid Authentication)
2. 3. Import the data in the file to the table
0. References:
SQL Server BCP usage Summary
BCP Utility
How to import data from 6 million users to MySQL, MSSQL, and Oracle databases in a community
Select into and insert into select table copy statements1. BCP Command Parameter Parsing
The B
space can have n tables.With the database, you can create table spaces.A tablespace (tablespace) is a logical division of a database, with at least one table space (called the system tablespace) for each database. To facilitate management and improve operational efficiency, you can use additional tablespaces to divide users and applications. For example, the
directory Create directory W_dir as ' D:\dumpfile ';Create a folder under Computer D called DumpFile, used to store the backup files, and the computer will automatically go to the folder to find the. dmp file, after you have created the directory,Executes the EXPDP BACKUP statement, and the backup file is automatically generated to the directory-specified file. 3. Delete the original user Because, if you do not delete the original
bp_oracle;--User AuthorizationSql> Grant Connect,resource to bp_oracle; --CMS system needs to add grant create view to bp_oracle views permission--User can access Dump_dir to facilitate import and export operationsSql> Grant Read,write on the directory Dump_dir to Bp_oracle
Course ObjectivesOracle Video tutorial, wind Brother this set of Oracle Tutorial Training Learning User Management/Create/delete/modify,. Permissions and roles are created and managed, password policy 180 days expire processing, database monitoring and backup permissions for users of Oracle
(user name is monitor, password is monitor)
Copy Code code as follows:
CREATE USER Monitor identified by Monitor DEFAULT tablespace monitor temporary tablespace monitor_temp;
Third, add permissions
Copy Code code as follows:
Grant CONNECT,RESOURCE,DBA to monitor;
Grant crea
If you start Oracle database-based application development, you may think about this problem. How to Create a database user that meets the requirements of the production environment
If you start Oracle database-based application d
, for example, SQL * Plus, SQL * Forms, and so on should be executed by this group, and the permission of this utility routine is 710, which will allow users in the same group to execute, while other users cannot.
(3) change the permissions of programs that do not affect database security to 711. NOTE: For the convenience of installation and debugging in our System, the default password of Sys and System for two users with DBA permissions in
How to create a local database, create a new user, and assign permissions to an Oracle database
1. oracle can create a local database:
Prerequisites: Install the oracle
Label: --create the tablespace create Smallfile tablespace "Table_container"--Creating table space DataFile ' E:\ORACLE\ORADATA\ORCL\table_01 . DBF '--Create data file, file location of data file size 100M--Initial size of data file autoextend on NEXT 100M--data file increment size MAXSIZE UNLIMITED--Unlimited data file size LOGGING E Xtent MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO---Create the user cr
)Change Password: Alter user username identified by modified passwordYou can also create your own roles:Syntax: Create role name;Example: Create role testrole;Authorization role:Syntax: Grant select on the class to role name;In the following: Grant Select on class to TestRole;Note: Now, all users with the TestRole role have select query permissions on the class t
tables in the database (Add and remove the check)!(4), to the user Jason gave the table: Insert/delete/update/select operation Rights!SQL statements:(1): Grant all on SYSTEM.TESTTB1 to jason;//four permissions (additions and deletions)(2): Grant Select on System.testtb1 to jason;//give Jason the ability to query the S
InOracleDatabase,Control FileIs very important. It is used to record and maintain databases. When the database is restored, the server process and background process need to read various backup-related information from the control file. If the control file is corrupted, the backup information will be lost. Although the use of diverse control files can prevent Control File Corruption, control files should be backed up on a regular basis due to the impo
details, visit http://blog.csdn.net/tianlesoftware/archive/2009/10/23/425155.aspx.)
Then, when installing the Oracle database, we will have a sysdba user. For example, the user name and password are Scott/orcl. In this case, we need to create a normal user and use this
Blog.sina.com.cnsblog_68c266e701016dy3.html copies all the tables of task users in the oracle database on one computer (also known as computer A) to the oracle database on another computer (also known as computer B. Note: In order not to modify other items such as programs,
The http://blog.sina.com.cn/s/blog_68c266e701
After the Oracle database is created, the System user sys or sysdba cannot log on to sqlplus. The system user sys or sysdba cannot log on to sqlplus to run-> cmd. Enter sqlplus/nolog and press Enter. Enter conn/as sysdba and press Enter. Drop
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.