Open powerdesigner-> menu bar "Database"-> database reverse engineering-> using an ODBC data source, select Browse-> connect to an ODBC Data Source-> machine data source select the data source you configured. (Note: If you need to configure the data
Batch insertion is required in the Project. To prevent duplicate data insertion, you must first determine whether the inserted data already exists. If yes, ignore this insertion; otherwise, insert this data, at the beginning, we first use an SQL
After installing Oracle with a newcomer today, open the database to view the data in the table and find that all the data in the table is "dependent.This is not the case before. So I checked it and learned that it was a character-level issue in the
I. background
Structured Query Language (SQL) is a common language used to access relational databases. It is a fourth-generation language (4gl) and features non-procedural execution, you do not need to specify the operator
Method and
This article describes how to handle system and SYS password in Oracle. One is OS verification and the other is password file verification.
OracleTwo authentication methods are provided. One is OS authentication and the other is password file
// Create global temporary table temp_20061030 (ID int, name varchar2 (256) on commit Delete rows;
Export ledboperation DBO = NULL; // export ledboperation is a custom class encapsulated for Oracle operations. You can use the operation classes and
Declare
Cursor
Cur_m_shohinhotel
Is
Select
H. seq, H. usedate,To_char (to_date (
'
2006/12/12
'
)
+
H. usedate
-
1
,
'
Yyyymmdd
'
)
As
Useday,H. cyclcd, H. mealtypecd, H. roomcategorycd, H.
Oracle + SDE data backup and recovery
1. Complete database backupExp System/password @ Sid Full = y file = D: \ system. dmp log = D: \ system. Log2. Data warehouse receiving(A) Delete SDE and SDE user from the databaseDrop user SDE cascade;Drop
Self join is a commonly used connection method in SQL statements. Using Self join, you can treat one image of your table as another table, so that you can get some special data.
When should we use a self-connection? Let's take a look at the
Iii. SQL Optimization
Database optimization is mainly performed by DBA, and the optimization is divided into many steps. Based on experience, the first thing to adjust is
Program A bad SQL statement written by a member can cause the entire Oracle
Two methods to Start RMAN
1
C: \ Documents ents and Settings \ Administrator>RMAN
Recovery MANAGER: Version 10.1.0.2.0-Production
Copyright (c) 1995,200 4, Oracle.All rights reserved.
RMAN>Connect target/
Connect to the target database:
Today, I downloaded the Oracle 9i installation on the official Oracle website. It is not easy to install. To sum up, pay attention to the following issues:
1. The installation file cannot be placed in a path with a Chinese name. (An error
I encountered a problem in the group today. I think it's a bit interesting. Let's take a look at it.
BelowCodeIf the test passes in MySQL, MSSQL should be able to run without testing.
# Create a table as follows Create Temporary
Many parameters are required to optimize the Oracle database. Some of these parameters have a great impact on the system performance. These parameters are variable parameters.Variable parameters can be divided into two categories based on their
1. Install the simplified dotnet35sp1 version
2. Register eforacleprovider:
C: \> gacutil/I eforacleprovider. dll
Gacutil.exe and eforacleprovider. dll are available in the current directory. Eforaclesampleprovider ProjectSource codeObtained
1. Invalid Number:
Itself is a string format and must be converted to a string format
2. A non-numeric charactor was found where a numeric was expected:
The date format is also converted to the date format.
3. Column ambiguously
Use it accidentallyDrop tableStatement to delete the table, data is not backed up. It means that data will still be lost when the data is backed up and restored, so you don't have to worry too much at this time. MaybeOracleRecycle Bin (Recyclebin)
[Symptom]: syntax errors are always reported when you want to insert data into a table.
For example:Insert into acc. t_rpt_column_info (column_id, table_id, column_name,Order, Position, data_type, metric, dictionary_type_id, cons_rule, cons_desc,
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