Oracle SQL Learning

  SQL code Select mc | 'id' as Alias, nl + 20 as age from student;   In SQL, strings and dates must be enclosed by single quotation marks. You can add, subtract, multiply, and divide (+,-, *,/) numbers and dates in SQL ,-,*,/). SQL strings can be

Oracle allows sys users to use isqlplus

Environment VariablesORACLE_HOME D: \ oracle \ product \ 10.1.0 \ Db_1 \JAVA_HOME D: \ oracle \ product \ 10.1.0 \ Db_1 \ jdkIn the command prompt lineCd % oracle_home % \ Solaris \ j2ee \ isqlplus \ application-deployments \ isqlplus% Java_home

Oracle start with. connect by prior clause for Recursive queries

The select statement in Oracle can use the start with... connect by prior clause to implement recursive queries. The connect by clause is used in structured queries. Its basic syntax is as follows:Select... from Where Start with Connect by ;: Filter

Paging implementation solution for common databases

With the development of databases, today's databases can store a large amount of data, and the memory is getting bigger and bigger. However, no matter how large your memory is, the memory is always insufficient, and paging is required, detailed

OAF-Analysis page 1

Page BasicsOn the browser layer, OAF pages are standard HTML pages, just like other pages.In the middle layer, the OAF page is actually implemented by the an structure in the memory, which is the same as the traditional JAVA client interface. The

My oracle learning records

1. scott unlockAfter installing the Oracle 10 Gb database, I forgot to unlock the scott account. In this case, you can go to the SQL plus tool (START | all programs | | Application Development | SQL Plus), or unlock the scott account through

Usage of user profile in Oracle

You can use the profile file to define user attributes. For example, you can create a profile file for the product user.SQL codeCreate profile product_profile limit SESSIONS_PER_USER 1; -- Only one user can be setSQL codeSession profile alter user

Slow query after a large amount of data is deleted in an Oracle table

After a large amount of data is deleted from an Oracle table, even if there are only a few rows of records in the table, the query using select count (*) from table will not immediately come out because the table has a large space, query is slow.

My Oracle SQL summary !!!

1. ## query of telephone bill products and commissions -- SQLSQL code-- Select count (*)Select t2.product _ name, t2.money, t1.fast _ price, t1.fast _ commission, t2.roll _ backFrom t_commission t1, t_product_type t2, T_BUSSINESS_SAFE t3Where 1 = 1

Differences between Oracle and DB2 data storage modes

The knowledge about Oracle and DB2 data storage modes is what we will introduce in this article. Let's take a look at this part. "There is no sequence for storing data in Oracle normal tables, that is, heap tables. Oracle indexes organize tables to

Redo log management

Redo log management 1. add a log group alter database add logfile group 1 ('/u02/oradata/bolan/redo01.log') size 100 m; 2. add the log group member alter database add logfile member '/u02/oradata/bolan/redo01.log' to group 1; 3. delete the alter

Install Oracle 11.2.0.2.0 for RedHat5.4 _ 32bit for troubleshooting

Some errors encountered when installing Oracle 11.2.0.2.0 for RedHat5.4 _ 32bit -- analyze and solve some problems that have occurred recently when installing Oracle 11.2.0.2.0 for RedHat5.4 _ 32bit. 1. After the database software is installed, use

Learning window functions over () in Oracle

Learning window functions over () in OracleYou can use window functions to solve some problems. For example, if we have two tables, one for the instructor and one for the department, and if we want to query the average salary of the teachers in each

How to use oracle distinct

The distinct keyword filters out redundant duplicate records and retains only one record. However, it is often used to return the number of records that do not record duplication, rather than returning all values that do not record duplication. The

Introduction to several storage formats of Oracle10g Database

This article briefly introduces several storage formats of Oracle10g databases for oracle beginners. If you need to learn more, please take a look. 1. Operating System File. This is the most common method and the most common form of non-commercial

Query and processing of Oracle Deadlock Detection

-- Deadlock query statement The Code is as follows: Copy code SELECT bs. username "Blocking User", bs. username "DB User ",Ws. username "Waiting User", bs. SID "SID", ws. SID "WSID ",Bs. serial # "Serial #", bs. SQL _address "

SQL statement for mysql, Oracle, and mssql to retrieve the first few pieces of data

The following describes how to write SQL statements for mysql/Oracle/mssql to retrieve the first few pieces of data. If you need them, refer to them. If you use this statement in ms sqlserver: The Code is as follows: Copy code

The solution to the asm disk cannot be found when dbca creates a database in Oracle.

This article will introduce to you the problem that the solution to the asm disk cannot be found when dbca creates a db in Oracle. If you encounter such problems, you will not be able to access the reference. If you use dbca to create a database,

Oracle RAC listener service startup Error Linux Error: 111 listener Method

This article will introduce the Linux Error: 111 listener solution for oracle RAC listener service startup Error. If you encounter this problem, refer to the solution to modify the/etc/hosts file, add 127.0.0.1 localhost. localdomain

How to Implement paging query for Oracle databases

The data in the specified region of the Oracle database cannot be directly limit x or y as mysql does. We need to use the inner-layer query method to implement paging query. Paging Query format: The Code is as follows: Copy code

Total Pages: 2147 1 .... 2112 2113 2114 2115 2116 .... 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.