Tips for SQL * Plus commands

SQL * Plus command tip 1: SQL * Plus command to bind a variable to operate www.2cto.com SQL> var job varchar2 (20) SQL> exec: job: = 'sh _ cler' PL/SQL procedure successfully completed. SQL> select job_id, employee_id from emp where job_id =: job;

Differences and performance of count (1) count (*) count (col)

Analysis of the differences between count (1) count (*) count (col) and performance count (1) and count ), in addition, the count (col) statistics for all rows are performed for records whose col columns are not empty. If an index exists, indexes

A group of user-defined functions related to ID card numbers

A set of user-defined functions related to the ID card number 1. Verify that they are digits www.2cto.com [SQL] CREATE OR REPLACE FUNCTION IS_NUMBER (STRING VARCHAR2) return integer is begin if (LENGTH (TRIM (TRANSLATE (STRING, '+ -. 0123456789 ', ''

Oracle is not in the sudoers file. This incident will be repo

Oracle is not in the sudoers file. This incident will be reported solution: 1> enter the superuser mode. That is, enter "su-". The system will ask you to enter the superuser password and enter the password to enter the superuser mode. Www.2cto.com 2>

Oracle SQL Performance Optimization 2

Oracle SQL Performance Optimization: 2. When a user establishes a connection with the database, an operation request is sent to the database, that is to say, send the previous SQL statement (or several or one PL/SQL package) to the database. After

Migrate tablespace and data files from the file system to ASM

Migrate tablespace and data files from the file system to ASM 1. the only two factors that need to be taken into account are the downtime and storage capacity for database migration, for whatever reason and need. These two factors often determine

Loop processing in Oracle PL/SQL

Oracle PL/SQL loop processing today is the loop iteration processing in Oracle, because many netizens have searched FOR the keyword "SQL FOR loop" from their blog statistics ", so I want to explain my understanding here. Www.2cto.com PL/SQL is also

Solution for Abnormal Termination of Oracle 10g installation in win7

Solution for Abnormal Termination of Oracle 10g installation in win7 an error occurs when Oracle 10g is installed in win7, prompting "Abnormal Termination of the program, an unknown error. Solution: First modify the refhost. xml file under \ orcale \

Oracle Storage Management

Oracle Storage ManagementLogically, data is stored in segments (usually tables); physically, data is stored in datafiles. A table space entity is an image of the two. A table space may contain multiple segments and consists of multiple data files.

How to Use the BIRT sample program to connect to the Oracle database

How to Use the BIRT sample program to connect to the Oracle database and use BIRT for a report, which can be displayed during production and debugging, but cannot be displayed in the birt sample program and cannot be connected to the database, it is

Oracle 11g (11.2.0) manual database creation

Oracle 11g (11.2.0) manual database creation various versions on the Internet are unsightly behind, and their own searches are exploding, but Li Zheng discussed someI still know that no matter how good I know it, it is better to cooperate with

SQL statement for Oracle to view table space usage

Oracle queries table space usage SQL statement SQL1: www.2cto.com -- 1. queries the table space name and size SELECT t. tablespace_name, round (SUM (bytes/(1024*1024), 0) ts_size FROM dba_tablespaces t, dba_data_files d WHERE t. tablespace_name = d.

Deploy Oracle 10g Grid Control Agent

Deploy Oracle 10g Grid Control Agent today again tried to deploy the Grid Control Agent. previously, it went quite smoothly. Today, the following error message suddenly appeared: Completed with Status = 255 Starting Oracle Universal Installer...

ORA-27102: out of memory fault

ORA-27102: out of memory fault recent UAT database migration, because multiple databases need to be migrated to the same machine, after part of the completion, start the subsequent database encountered a ORA-27102 error, prompt memory exceeds, view

SQL single-row functions in Oracle databases-numeric Functions

SQL single-row functions in Oracle databases-numeric Functions1. trigonometric FunctionsSIN ASIN SINHCOS ACOS COSHTAN ATAN TANHFor the above trigonometric functions, see the name. Do a continuous exercise [SQL] select sin (2), asin (1), SINH (1)

Correlated subquery and non-correlated subquery

Correlated subquery and non-correlated subquery: the query name nested in other queries. A subquery is also called an internal query, while an external query (also called a primary query) contains the subquery statement ). All subqueries can be

Invisible indexes of Oracle 11 GB

You are often confused about the invisible indexes of Oracle 11 GB. Is the index really helpful for user queries? It may be helpful for one query, but it may affect 10 other queries. The index will certainly have a negative impact on the INSERT

PLSQL executes multiple statement instances at the same time

PLSQL simultaneously executes multiple statement instances/* Create table * // * Create table TBSLSWDICTTHEMETYPE */-- Create tablecreate table TBSLSWDICTTHEMETYPE (themetypeguid VARCHAR2 (50) not null, themetypename VARCHAR2 (200) not null,

Oracle super large database table partitions only composite partition tables (range hash partition table)

Oracle super large database table partitions only composite partition tables (range hash Partition table) [SQL] create table graderecord04 (sno varchar2 (10), sname varchar2 (20), dormitory varchar2 (3 ), grade int) partition by range (grade)

Reproduce the Hang of the Oracle database

What is the Oracle Diagnostic Methodology (ODM )? [ID 312789.1] odm test: query statement: select to_number (addr, 'xxxxxxxxxxxxxxxxxx') from v $ latch_parent where name = 'process allocation '; select name from v $ latch_parent where name like '%

Total Pages: 2147 1 .... 788 789 790 791 792 .... 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.