Seven methods for viewing Oracle user permissions

  To view the permissions of an Oracle user, you must first traverse all the users and then view the permissions of the Oracle user. I hope this article will help you.       1. View All Users:       Select * from dba_users; select * from all_users;

Oracle Recycle Bin (recyclebin)

We are all familiar with the recycle bin in windows. You can restore the deleted files to the recycle bin. the Oracle recycle bin works exactly the same, but there are some differences in implementation details. in addition, the recycle bin can only

Take the maximum value of oracle note as id

The boss assigns a task to perform CRUD operations on the Identification table and identification table. There is no difficulty in coding, but there are two places I want to record. First, give the table structure.REPOT_BS ): Name Type Nullable

ORA-14037: Solution

ORA-14037: partition limit for partition "P2" is too highCreate table PROVINCE_INFO(PROVINCE_ID VARCHAR2 (8) not null,PROVINCE_NAME VARCHAR2 (40) not null,CREATE_DT DATE)Partition by range (PROVINCE_ID )(PARTITION P1 values less than ('8

Note: ORA-01403: No data found

Today in the use of an insert statement is not too much meaning, after the statement is written correctly executed, did not expect ORACLE to report a ORA-01403: No data found error, after carefully checking the statements, there is no error. Because

The most common causes of Oracle connection errors

1, ERROR:ORA-12560: TNS: protocol adapter error Listener is not started. start listener: lsnrctl start on the server where the database is located.  2, ERROR:ORA-01033: ORACLE initialization or shutdown in progress Oracle is not in the open state

Oracle 11g: The difference between WHERE and HAVING

SQL> select * from sys. SHIP_CABINS; SHIP_CABIN_ID SHIP_ID ROOM _ ROOM_STYLE ROOM_TYPE window guests SQ_FT BALCONY_SQ_FT-----------------------------------------------------------------------------------------------------1 102 Suite Standard Ocean 4

Tragedy caused by fatal mistake of db_unique_name

Fault description: the following error is reported when the master database is started after the oracle dataguard environment is set up: Wed Feb 8 23:12:38 2012LGWR: Error 16047 creating archivelog file 'standby'Wed Feb 8 23:12:38 2012Errors in file/

Change the row width of SQL PLUS

1. You can use SQL * Plus statements to change environment parameters. SQL> set linesize 900;/* change the display width. After it is set to 900, a row of data will not be displayed in two rows */ SQL> set pagesize 20;/* set the number of page

Oracle11gSGA Adjustment Method

Oracle11g modify sga to modify memory_target and other parameters first, otherwise the service will be restarted with an error ORA-00844: Parameter not taking MEMORY_TARGET into account, see alert log for moRe information. To modify the SGA

Database cache for Oracle Performance Optimization

I. Information in the database cache 1. What is an execution plan? 2. Why share the execution plan? The execution plan generation takes a lot of CPU time, And the optimizer will store the generated execution plan to the shared pool. If you execute

Java. SQL. SQLException: the Protocol is violated, and OALL8 is inconsistent.

A cool exception, no clue at all, so google. In the past, my database used oracle 11.2.0.1.0 and jdbc used ojdbc 10.2.0.2.0. After several months, no error was reported. Today, even more enchanting events have occurred. The two applications are

View large sorting processes in Oracle

Sys @ DEX> select * from v $ statname where name like '% sort % '; STATISTIC # name class STAT_ID----------------------------------------------------------------------565 sorts (memory) 64 2091983730566 sorts (disk) 64 2533123502567 sorts (rows) 64 3

Oracle executes SQL file scripts and inserts or updates data in batches.

In the past, I remember that Mysql Command terminals can insert or update databases in batches. Write down the PL/SQL Deverloper Method for Batch Data Processing today. 1. log on to PL/SQL Developer2. Choose menu File> New> command window.3, SQL> @

Oracle paging technology details

 Paging query statement:Select * from (Select A. *, rownum rn from (Select * from table table_name)Where rownum = 20;Select * from table_name indicates the original query statement that does not flip pages. Rownu = 21 control the range of each

Oracle with alias as (select * from *)

With alias as (select * from *) select * from alias; equivalent to creating a temporary table syntax is with tempname as (select ....) select... example: with t as (select * from emp where depno = 10) select * from t where empno = xxx another simple

Oracle inserts multiple data records at a time

Insert into Table Name (Field 1, Field 2) select '1', '2' from dual union all select '3', '4' from dual union all select '5 ', '6' from dual union all select '7', '8' from dual union all select '9', '10' from dual reads all data from a CSV file, it

Single-row Oracle learning functions

1. Single-Row Functions (Single-Row function) Single-Row function returns a separate result Row for the table or view queried for each Row, single-row functions can appear in SELECT columns, WHERE clauses, start with and connect by clauses, and

Usage of int and out stored procedures in PL/SQL

[SQL] usage of int and out in PL/SQL stored procedures 1. Introduction to in and out (1) in procedures and functions, the difference between a process and a function is that a function can return a value without a return value. (2) but both the

Capacity of rollback segments in Oracle Transaction Processing

Sometimes oracle reports the following error when executing a large transaction: Pl/SQL code ORA-01555: snapshot too old (rollback segment too small) this indicates that the random rollback segment allocated by oracle to this transaction is too

Total Pages: 2147 1 .... 2100 2101 2102 2103 2104 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.