Exception information:Exception Information (Exception type: System.Data.OracleClient.OracleException) exception hint: Oracle Data execution exception, please contact the administrator to handle exception information: ORA - 01653 (in table space
1, the table's primary key, the foreign key must have the index;2, the data volume of more than 300 of the table should be indexed;3. Tables that are often connected to other tables should be indexed on the connection field;4. Fields that often
function is used to return specific data, and when a function is established, the function header must contain a return clause. The body of the function must contain the data returned by the return statement. We can use CREATE function to create
simple usage of substr functions in OracleSUBSTR (string, intercept start position, intercept length)//return intercepted wordsubstr (' Hello World ', 0, 1)//return result is ' H ' * start with a string of length 1 from the first charactersubstr ('
Backup:Defined:The process of copying a database to a dump device.Dump device:The tape or disk where the database copy is placed.Backup of the original database:A copy of the database stored in a dump device.Classification:Physical and logical
I. Oracle basic data type 1, character data type
Char: stores a fixed-length string that, if not specified, has a default of 1 bytes, and if the length of the data does not reach the specified length, the space is padded to reach the
I. Operations on the tablespace 1, creating tablespace (Create Tablespace)--' hpdb_tablespace ' specifies tablespace name--' e:\hpdb.dbf ' specifies tablespace data file name--Size Specifies the initialization size of the tablespace--Autoextend on
Oracle provides a sequence object that provides self-growing serial numbers from the system, typically used to generate the self-growing primary key or ordinal of a database data record.Here are some common operations on sequence generation,
The Oracle database has three standard backup methods, namely export/import (EXP/IMP), hot backup and cold standbyReport Exporting a spare is a logical backup, and cold and hot backups are physical backups.First, export / import
2.Oracle self-provided method: using Oracle.DataAccess.Client;Prerequisites: Install Oracle or Oracle client and install Oracle client.·· 1. Create a new console application in VS2010 (C #);·· 2. Right-click, reference, select
DECLARETYPE cst_table_list is Table of VARCHAR2 (40); TYPE Cst_list is TABLE of VARCHAR2 (40);TYPE Name_list is TABLE of VARCHAR2 (40); TYPE Type_list is TABLE of VARCHAR2 (20);Cst_tab_name cst_table_list:=cst_table_list (); Cst_name
2. Create a sequence--Create sequenceCreate sequence Seq_ship_imageMinValue 20MaxValue 999999999999999999Start with 40Increment by 1Cache 20;Use sequence:SELECT Seq_ship_image. Nextval from dual;Insert into Ship_image (id,img_path,remark,ship_id)
Collection OperationsSelect employee_id, job_id from EmployeesUNION ALL does not remove reserved duplicate valuesSelect employee_id, job_id from Job_history;Select employee_id, job_id from EmployeesUnion removes duplicate valuesSelect employee_id,
Many applications have similar organizational tables, and the organization's tables are typically hierarchical (no loop nodes). So when organizations control data permissions, many people prefer to get organization information through connect by,
When importing a DMP file to a database, the following error occurredUpon enquiry, it is due to "The exported dmp file is caused by a different version of the imported database"View the version of the DMP file with Notepad to see if it is consistent
Syntax:SELECT * FROM table_name where DBMS_LOB.INSTR (field name (clod type),' query condition ', ' n ') > 0;Syntax Explanation:In Oracle, you can use the InStr function to judge a string to determine whether it contains the specified character. Its
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