Oracle related operation Notes 1. database recovery in cold data, scenarios, including database files of all strength, including ORA, DBF, CTL files, and other logs. 10g 1. scenario 1: If the directory structure of the recovered target database and
To port the system without installing the Oracle client:
1. Copy the Oracle and HMIS folders:
If the original ORANT and HMIS folders are in the C: disk, the new system will be copied to the C: disk; the original files will be in the D: disk, and
> Insert the obtained data from one table A into another table B?
(1) For tables A and B with the same structure [number of fields, type of corresponding fields, etc.], you can use
Insert into B SELECT * FROM;
Insert into B (field1, field2, field3)
SQL statement for querying and deleting duplicate records
SQL statement for querying and deleting duplicate records
1. Search for redundant duplicate records in the Table. duplicate records are determined based on a single field (peopleId ).
Select *
I changed my new version and preinstalled Windows 7. I was not used to it at first. I wanted to downgrade to XP, but I didn't want to install it. I was too lazy to bother with it. So let's go to Windows 7.
The development tool needs to use the
The version installed on the Oracle server is 10.1 and the IP address is 129.1.9.90.Install oracle10.1 on the backup machine with the IP address 129.1.9.91 and disable the firewall.Modify the tnsnames. ora file and add the following content:JMYBJS =(
101. How to search for the first N records?
SQL> SELECT * FROM empLOYEE WHERE ROWNUM
102. How many concurrent users are supported by Oracle on the machine?SQL> conn internal;SQL> show parameter processes;
103. Can db_block_size be
1. Default users of the systemJava codeSys; // System Administrator with the highest PermissionsSystem; // local administrator with the next high permissionScott; // common user. The default password is tiger and is not unlocked by default.
2.
1 Oracle time period Query
1.1 scenario: filter the corresponding records based on the time range entered by the user.
1.2 solution:
Method 1:
SQL codeSELECT * FROM T_XJXX_XJGLWhere createdate> = TO_DATE (2011-6-13, yyyy-MM-dd)And createdate
SELECT
3.5 Storage attributes
Oracle full-text search usually generates a series of auxiliary tables. The generation rule is dr $ + index name + $ + Table usage identifier,
Since these tables are automatically generated by oracle, there is usually no way
Trigger
The code block automatically executed when a specific event occurs. It is similar to a stored procedure, but users cannot directly call them.
Function:1. Allow/restrict table modifications2. automatically generate a derived column, such as
After Incomplete recovery, the database may not meet the recovery requirements. At this time, the database has been opened in the resetlogs mode. If the database is not fully backed up before Incomplete recovery, at this time, I want to restore some
[Oracle] dbms_metadata.get_ddl usage summary dbms_metadata.get_ddl () is used to obtain the object's DDL. Its usage is as follows. Note: In sqlplus, the following parameters must be set to better display DDL:
[sql] set line 200 set pagesize 0 set
The Automatic diagnosis tool ADDM is short for the Automatic Database Diagnostic Monitor. It is literally an Automatic diagnosis tool. This tool can discover potential performance problems and bottlenecks, and provides suggestions and solutions to
Use bare devices to install oracle10g Database on aix I. Check System Information
[root@aix222 /]# oslevel -r5300-08[root@aix222 /]# prtconf | grep -i memMemory Size: 1904 MBGood Memory Size: 1904 MB…[root@aix222 /]# lsattr -El mem0goodsize 1904
Oracle Selective System Authorization Selective system Grants problem: I only want to grant XX user alter System set user_dump_dest permission! I want to give users the ability to execute "alter system set user_dump_dest" only. I want to give them
[Oracle] expdp ORA-39006, ORA-39065 solution the next day the new company went to work and received a task: migrating data from the production database to the development database, when I was eager to use expdp to export data, the following internal
[Solution] multiple records must be written to the database when multiple records are inserted in Oracle at a time. The record set has been determined. If multiple records are inserted at a time, efficiency is bound to be affected. Solution:
Insert
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.