17. Oracle Permissions

dba

First, IntroductionThis section focuses on how to manage permissions and roles in Oracle, and what the difference between permissions and roles is.When a user is just established, the user does not have any permissions and cannot perform any action.

Oracle Date function

Years:YY: two-year 16YYY: three-year 016YYYY: four-year 2016QuarterQ: Return to QuarterMonthMm:MON:MONTH:WeekWw:W:DaysDd:Ddd:Dy:Day:HoursHH:HH24:Score ofMI:SecondsSs:1. Get the current system date-- returns the current system date SELECT from DUAL;2

Problems with empty table export after initial installation of Oracle 11g

After Oracle 11g initialization is installedNote the following points1, the password case of the problem.2. The empty table cannot export the problem. [Features of R2 version]3. The default password is valid for 180 days.How to resolve:Run

ORACLE object_id and data_object_id

Both object_id and data_object_id are unique identities of objects.OBJECT_ID is the logical identity of an objectDATA_OBJECT_ID is the physical identity of the objectFor objects that do not have physical storage, data_object_id is empty. For example:

Examples of Oracle Merge into

Content from Oracle 11g practical Tutorials Zheng Achi, etc.In Oracle 11g, there is a merge statement that performs an INSERT, update, or delete operation on the target table based on the results of the connection to the original table. For example,

Oracle calculates continuous landing/working days

There is now a report that calculates the number of days a user is working continuously, and finds that the problem can be calculated perfectly by using the Row_number analysis function.This SQL can solve the problem of computing users ' continuous

Oracle installation Error ora-00922 (Zhuan)

Oracle installation Error ora-00922 (missing or invalid option)(2012-03-19 10:49:27) reprinted Tags: gossip During the installation of Oracle 11g R2, this error occurred while creating a new DB instance, and if

IIS Web site program does not have access to Oracle

System environment: Win7 + IIS7ORA-12560:TNS: Protocol Adapter error when an ASP. NET application accesses the Oracle database.Using the C/S program to access the database is no problem, plsql is no problem, the Oracle driver installation is not a

Windows Remote Link Oracle

Download the Oracle client FirstUnzip the path under the E:\oracleClient\instantclient_11_2. Go to instantclient_11_2 under Create Directory network, and then set up directory Admin under Network. Create the Tnsnames.ora file in the Admin directory

Database Learning (Grooming)----6--oracle How to quickly back up and back up data tables multiple times

1. Description:Here is a hypothetical application scenario!Suppose that there is a large amount of data in the banking system that needs to be backed up in time, how quickly and efficiently!Condition Requirements:(1), can not set the Sync lock (set

Database (Learning to organize)----5--oracle commonly used group functions

Other: 1, Oracle subscript is starting from 1, the Java subscript is a function classification starting from 0: Date function numeric character functions conversion function mathematical function system function---above the current month: increase,

ORACLE fetch bulk Collect into limit

DECLARETYPE RR isREFCURSOR; TYPE r_emp isRECORD (empno Number(4), enameVARCHAR2(Ten), JobVARCHAR2(9), Mgr Number(4), HireDate DATE, Sal Number(7,2), Comm Number(7,2), Deptno Number(2)); TYPE t_e is TABLE ofr_emp; e t_e; EE t_e:=t_e (); R RR;BEGIN

ORACLE rowID slicing Large tables

Get the rowID shard range with the following SQLSELECTRowNum|| ', ' || 'rowID between' ||Chr the)||Dbms_rowid.rowid_create (1, DOI, Lo_fno, Lo_block,0)||Chr the)|| ' and' ||Chr the)||Dbms_rowid.rowid_create (1, DOI, Hi_fno,

HDU 5718 Oracle

OracleTime limit:8000/4000 MS (java/others) Memory limit:262144/262144 K (java/others)Total submission (s): 122 Accepted Submission (s): 53Problem Descriptionthere is once a king and queen, rulers of a unnamed city, who has three daughters of

Oracle file Export

$ cat Me.sqlSet echo offSet term offSet Line pages 0Set Feedback offSet Heading offSet Trimspool onSpool/aiapp/tungsten/shell/o2m/test.sqlSelect ' INSERT into Res_d_mphone

Querying SQL statements that Oracle is executing and executing

---is executing theSelect A.username, A.sid,b.sql_text, B.sql_fulltextFrom V$session A, V$sqlarea bwhere a.sql_address = b.address---executed.Select B.sql_text,b.first_load_time,b.sql_fulltextFrom V$sqlarea bwhere b.first_load_time between ' 2009-10-

Database (Learning to organize)----2--authorization and access to Oracle user rights

Knowledge Points:1, the user level used in Oracle database is peer! Only the permissions of each user are different!2, after a user login, you can access other user's data buffer, table, and table operation in their own login state! (As long as the

Oracle Row_number () over ()

Row_number () over (partition by col1 ORDER by col2)The result grouping number is returned, the results are grouped in the Col1 field, each group is sorted by Col2, and the record numbers are sorted by these groupings, and each group starts with 1

ORA-27101 ORACLE Not available

Problem Description : Open plsql Today, error does not recognize the connection service1. Then go to find out if the Oracle service did not start, but found that Oracle's other services can be started. Only oracledbconsolearies cannot be started,

Oracle Startup and shutdown

First, oralce the boot sequence:1. Start the listener first (corresponding to port 1521):[] #lsnrctl start2. Start Oracle instance:[] #sqlplus/as sysdba (carriage return)Sql>startup    --Starts the default DB instance in the environment variable

Total Pages: 2147 1 .... 1586 1587 1588 1589 1590 .... 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.