Oracle Course archive, third day

COUNT (*): How many lines, do the statistics on the lineCount (x): Column ....Sum: andAvg: AverageMin: Find minimum valueMax: Ask for maximum valueDistinct: Remove duplicate valuesCount: CountGROUP BY: GroupingDEPARTMENT_ID: Department NumberHaving:

Oracle Plsql sending e-mail code via SMTP

Log in to smtpserver send mail, support HTMLCREATE OR REPLACE PROCEDURE send_mail (       p_recipient VARCHAR2,--mail recipient         P_subject   VARCHAR2,--mail header        p_message   VARCHAR2  --message body  )  IS     --The following four

zbb20170728 Oracle View locked objects

querying SQL statements that Oracle is executing and executing--query Oracle Executing SQL statement and the user who executes the statement select B.sid Oracleid, B.username Log in to the Oracle user name, b.serial#, spid os ID, PADDR, sql_text

Oracle common functions and their usage

01, Getting Started Oracle Chapter Objective: Master Oracle installation, startup and shutdown basic management and common tools simple backup and recovery skilled use of SQL, master Oracle Common Objects master database design and optimization of

Oracle Basic data types

Oracle Basic data types: string, number, date, LOB, LONG raw& RAW, ROWID & Urowid.The data of string types can be divided into:According to the library character set (Char/varchar2/clob/long)International character Set (NCHAR/NVARCHAR2/NCLOB)String

Oracle Process Statements

--Process statementsSELECT * from Wan3;--three-segment first-write fixed structure declare begin endDeclareA VARCHAR2 (6): = ' ere ';BeginDELETE from Wan3 WHERE ename=a;End--DECLAREV_deptno number;V_dname VARCHAR2 (100);BEGININSERT into WAN3VALUES('

Oracle creates tablespace and adds table space

1. Create a table spaceCreate ' E:\app\Administrator\oradata\fms\fgq01.dbf ' on Next 1000M MaxSize Unlimited;2. Table Space IncreaseAlterTablespace fgqAddDataFile'E:\app\Administrator\oradata\fms\fgq02.dbf'Size 1000M Autoextend on Next1000M MaxSize

Number of Oracle Database modification connections

The recent deployment of the project with WebLogic, together with an Oracle database, then encountered a problem today: multiple users connected to the database connection was unsuccessful, sometimes prompted to be locked, and checked to find that

Python Oracle operations (cx_oracle)

Python can operate on an Oracle database by using the Cx_oracle module.First, you need to download the Cx_oracle module: HTTPS://PYPI.PYTHON.ORG/PYPI/CX_ORACLE/6.0RC1Note the version when downloading, against the Python version and the number of

Automatic growth of fields in Oracle data tables

Because the MySQL database has been used, today just a whim, thinking and Java are the same boss out of Oracle himself will not, say go will not be a bit embarrassing, so began to turn data, watching video to get up, step by step, think about what

Oracle Delete tablespace report ORA01548

Tag: Global causes buffers offline table without star err variableThe Undo table space is set to automatically grow, resulting in the replacement of several undo table spaces, to delete the original undo table space to make roomBut when you delete

Oracle 12.2 New features----convert non-partitioned tables to partitioned tables online

Before the Oracle12.2 version, if you want to convert a non-partitioned table to a partitioned table, there are several ways to do this: 1. Build the partition table and insert the data into the partition table with the INSERT into SELECT, 2, use

Conversion function of Oracle single-line function

To_char (string \ column, format string): Turns a date or number into a string displayNote: The time string or the time type column and the format string must be one by one corresponding, if more than the relevant characters will be error (in

"Oracle" RAC Delete node

Environment:os:oel5.6rac:10.2.0.1.0There are rac1 at the moment. Rac2. RAC3 three nodes, the following is the process of deleting the RAC3 node1. Delete The DB instance on the RAC3 node[Email protected] ~]$ dbca-silent-deleteinstance-gdbname

Importing Oracle. dmp files with cmd

dba

1, first create the usersyntax [Create users]: Create user username identified by password [i.e. password];Example: Create user zhengxin identified by Zhengxin;2. Giving the User DBA Authority Grant DBA to Zhengxin3. Open cmd command lineSyntax: MP

Oracle Recycle Bin

Turn on Recycle Bin Recyclebin=on, open by defaultALTER SYSTEM SET Recyclebin=off scope=spfile;One, restore the table from the Recycle BinRestores deleted tables and subordinate objects.If multiple Recycle Bin entries have the same original name:Use

"Oracle Getting Started" database system paradigm

In order to standardize the relational data model, the relational database system must obey certain rules in the design, which becomes the relational database paradigm. 1. First Paradigm 1NFif the value in the field is already a value that cannot be

Triggers for Oracle

Used to do projects.Is the code behind the front-end. Because the database is written to the project manager. Own database and not much optimization, long time, instead of the knowledge of the database to forget, the recent project is to use the

Common SQL statements and cases (Oracle)

Directory1) Basic2) Mathematical functions3) rownum4) Paging5) Time Processing6) Character function7) To_number8) Aggregation function1) Basic--New table:CREATE TABLE table1 (ID varchar (primary) key, name varchar (+) not NULL);--Inserting

Oracle Database SELECT statement

Select * fromEmp--All data in EMP tableSelect * fromEmpwhereEnameinch('SMITH')--The data where ename is snith in the EMP tableSelectEname||'Is a' asIname fromEmpwhereEname= 'SMITH'--rename Ename Pius ' is a ' to InameSelectSal|| '_'||Ename

Total Pages: 2147 1 .... 835 836 837 838 839 .... 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.