Problem Discovery
6
Month
24
Day
Afternoon, found A Local ClientProgramAn error occurred while inserting data. The reason is the table. B The constraint becomes "?", Because it contains Chinese characters, the data
Oracle TextText Retrieval: (you must first createContextOrCtxcatIndex, and then as follows) (you can alsoFromAdd, Score (10)To observe the score of the retrieved item)
1.Exact match of wordsSelect CBID, title (Column name) From emergency (Table
from http://edu.chinaz.com/Get/Database/Oracle/059301006107324955.asp single record function in SQL 1. ASCII returns the decimal number corresponding to the specified character. SQL> select ASCII ('A') A, ASCII ('A'), ASCII ('0') zero, ASCII ('')
In production, you often encounter the need to import a large number of table values to a local text file. there are many methods. Commonly used is the spool command: to output data files that meet the required format, you only need to use character
The truncate table function is the same as the delete statement without the WHERE clause: both delete all rows in the table. However, truncate table is faster than delete and uses less system and transaction log resources.The delete statement
The following mydata is the user name and database name. In this way, you do not need to create an instance or use the orcl Sid.
====================================== Script start ================== ====================
Set echo off
■ Log Switching SQL> alter system switch logfile; ■ Add a redo log file groupSQL> alter database add logfile2 group 4 ('/export/home/opt/product/10.1.0.3.0/oradata/ldfsys/redo04.log') Size 10 m; ■ Add members of the redo log file groupSQL> alter
■ Check the tablespace in which Scott uses the data segment to store and how many partitions there are:SQL> select segment_name, tablespace_name, bytes, blocks from user_extents; ■ Query Scott's index information:SQL> select index_name, table_owner,
1. view the EM port of the database instance
In the ORACLE_HOME \ install \ portlist. ini file.
Ii. Sid of the database instance
The SID length cannot exceed 8 characters. The instance name cannot exceed 30 characters
Iii. Common commands
Start/
Oracle 10g express edition is a free version dedicated to small users. Oracle Xe is very small and easy to install and can be used by third-party software developers to deploy small applications.However, Oracle Xe's current beta2 default
Those who are new to Oracle will be confused about instances and databases. What exactly does an instance represent? Why does this concept emerge? Oracle instance = memory used by process + process (SGA)An instance is a temporary thing. You can also
Allow users to access objects belonging to other users or executeProgramThe Oracle system provides three permissions:
Object-level
System system level
Role role-level
These permissions can be granted to users and special users as public or
Create Or Replace Procedure P_change_fk_status (in_table In Varchar2 , In_type In Varchar2 , In_action In Varchar2 ) Is -- Invalid or valid foreign key of the specified table -- In_table: Table Name -- In_type: R must represent the
Exists(The result set returned by SQL is true)NotExists(The result set is true if SQL does not return)
As follows:TableTable B
The relationship between table A and table B is one-to-many. A. ID=>B. Aid
SelectA. IDFromAWhere Exists(SelectA.
Shutdown command Shutdown has four parameters: Normal, transactional, immediate, and abort. If no parameter is specified by default, the value is normal. Shutdown normal: do not allow new connections, wait for the session to end, wait for the
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.