1. Select permissions for all tables give the userGrant Select any table to user2.revoke Entity permission name |all on entity name from user name | role name |public;Alter any cluster modify the permissions of any cluster alter ANY index modify the
Really do not want to write, but still have to force themselves to learn a little every day, write a little. I didn't play tonight, and when I got home, I was called on the line to deal with things, take some time to learn some Oracle1, character
/* Formatted on 5/24/2012 4:15:58 PM (QP5 v5.149.1003.31008) */SELECT Deptno,ename,--st_name | | "| | Last_Name Employee_Name,HireDate,SalSTDDEV (SAL) over (PARTITION by Deptno ORDER by HireDate) as "STDDEV", standard deviationStddev_samp (SAL) over
installation of Oracle database :One:Install the time can be set to unlock the user generally by default is to unlock SOCTT users and HR users;Oracle's Super User is SYSDBA This user can also set a password when installing, aYou can set the password
1.Create userSql>--For example, create a user named Xiaoming with a password of A123sql> Create user xiaomingidentified by A123;The user has created.Sql> Show UserUSER is "SYS"2.granting permissions to usersSql>--grant permissions to User
1. Use explain plan for to get the execution planPlan for sql>; Select * from Table (Dbms_xplan.display ());The results are as follows:--------------------------------------------------------------------------------------------------------------- -
Both of these methods can be used in Sqlplus:EXEC pro_name (parameter 1:);Call Pro_name (parameter 1:);Difference:1. But exec is a sqlplus command and can only be used in sqlplus; call is a SQL command with no restrictions.2. When the stored
ORA-12537 is mainly oralce monitoring problems, today to help colleagues deal with problems, he asked a situation, began to connect very normal, the subsequent occurrence of ORA-12537 problemsSimply tidy up the nextGeneral conditions of use1-Check
drop table if exists sequence;CREATE TABLE Sequence (Seq_name VARCHAR () not NULL,Current_val INT not NULL,Increment_val INT not NULL DEFAULT 1,PRIMARY KEY (Seq_name));Drop function if exists currval;Create function Currval (V_seq_name VARCHAR
Ora-01033:oracle initialization or shutdown in progress practical processing method, this problem is usually due to abnormal computer shutdown, we can use the following method to find out that the file is corrupted, and then repair the file.Sql*plus:
One, theOracle data dictionary is composed of the following views mainly:1.user ViewUse User_ as a prefix to record information about user objects2.all ViewAll_, which is used to record the information of the user object and the object information
Source: http://www.cnblogs.com/ningvsban/p/3603678.htmlThere is a new feature in ORACLE 11G that does not allocate segment when the table has no data to save space.Workaround:1) Insert a row, and then rollback will produce segment.The method is to
A lot of people must be like me. Due to work needs, the development environment needs to be foreign languageNext, I'll talk to you about my handling of Oracle garbled.My Windows environment is the processing order of Japanese1. Modifying environment
This article mainly describes the Oracle delete table, the field before the Judge table, the field is related to the existence of data, the need for friends can refer to the followingIn Oracle, if you delete a nonexistent table, such as "DROP table
Features of temporary tables:(1). Oracle allocates storage space for users only when they add data to the table. (2). allocate space for temporary tables from temporary table spaces , avoiding storage space with data from persistent objects;
I. Related content1. Master the basic concepts of user, program and authority.2. Master the command of user operation.Second, the specific operation(a) Select the title:1. Description of the programme which one of the following is incorrect? CA.
Table is one of the most basic objects in an Oracle database. The base object for a database is very important for a high-rise building from the ground up. Because the design is reasonable, directly related to the performance of the database. From
SQL Server1 Creating a TriggerGobeginif (object_id (' wmy ', ' tr ') is not null) DROP trigger wmyend; Gocreate TRIGGER Wmyon studentinstead of Insertasbegin INSERT into Student (number,name) VALUES (1205, ' role 2 '); End;--begin and end are
Queries are the most frequent accesses made on a table.When querying data, few users are willing to query all the data in the table, unless the entire table is processed.In general, users are always querying a subset of the data in a table.In a
What if we forget the user's password for the Oracle database and do not know the password of the user who is larger than the user's rights?Don't worry, as long as you have installed the database server operating system users, then you can easily
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service