1. Usage rules for group functions:
The group functions in MySQL are free to use in SELECT statements, but if there are group functions in the query in Oracle,
The other column names must be processed by the group function, or columns in the GROUP
The example in this article describes C # 's approach to connecting Oracle databases. Share to everyone for your reference. The implementation methods are as follows:
?
1 2 3 4 5 6 7 8 9 10 11-12
1, add Reference
The following is a detailed analysis of the basic query filtering ordering examples in Oracle, which can be consulted by the
Basic query:
Copy Code code as follows:
--Query all employees for information
select * from EMP;
--Set line width
1. Insert into T1 values (...)
Should be: INSERT INTO T1 (...) values (...)
2.to_char (sysdate, ' YYYYMMDDHHMMSS ')
To
To_char (sysdate, ' Yyyymmddhh24miss ')
3. Select COUNT (*) into the v_count from T1 where c1=?;
Never triggers
There are many applications, just started with the MySQL database can basically achieve a variety of functional requirements, with the increase in the number of users, data, MySQL gradually become overwhelmed by the situation: the connection is slow
2 Table Space
The highest logical layer in Oracle Disk Management is Tablespace, and the 4 tablespaces that must be created in oracle11g are system, sysaux,temp, UNDOTBS1.
2 SYSTEM: Stored data dictionary, pl/sql code, etc.
2 Sysaux: Storing data
/* Execute an INSERT statement and pass the parameter * *Create or Replace procedure P_test2 (i in number) asBeginINSERT into t values (I, ' X ' | | To_char (i));CommitEndaaabbbString Driver = "Oracle.jdbc.driver.OracleDriver";String strURL =
oracle| Statement | The autotrace that executes Sqlplus is a very simple and convenient tool for analyzing SQL's execution plan, execution efficiency, and, in most cases, a very useful tool.
1. How to set up and use Autotrace
Sql> Connect/as
oracle| data
Using the Sql*loader command to load in a Dos environment
Data transfer tools using other databases
Data loading capabilities in Oracle Enterprise Manager
Specific technology to achieve
First, the Dos environment loading
1.
Oracle
Oracle RDBMS | Weblogs | OpenSource | Reviews | Others
[Oracle] Installing Oracle 10g on SuSE 9.1 Professional Author: fenng Date: July 03 2004
The SuSE 9.1 Professional Edition was released some time ago. SuSE Company is an important Linux
oracle| Backup | recovery | data | The database Oracle database has three standard backup methods, namely, export/import (EXP/IMP), hot and cold backup. Exporting spare parts is a logical backup, and cold and hot backups are physical backups.
First,
oracle| Performance | optimization
25. Use Index to improve efficiency
An index is a conceptual part of a table that is used to improve the efficiency of retrieving data. In fact, Oracle uses a complex, b-tree, self-balanced structure. In general,
oracle| Performance | optimization
27. Selection of the base table
The underlying table (driving table) refers to the table that is first accessed (typically accessed as a whole table scan). Depending on the optimizer, the selection of the
oracle| Performance | optimization
8. Use the Decode function to reduce processing time
Use the Decode function to avoid repeatedly scanning the same record or repeating the same table.
For example:
SELECT COUNT (*), SUM (SAL)
From
Oracle
First, Introduction
MTS (multi-threaded server) is an optional configuration choice for Oracle server, and its greatest advantage is that it supports more concurrent connections without adding physical resources (memory), as opposed to the
Oracle|window
How to Kill a single Oracle thread in a Windows 2000 environment
Source: http://metalink.oracle.com
Key word: Oracle Thread Kill
Description: This article describes the use of Orakill tools in Windows environments
Body:
Have you
oracle| View
Materialized views in Oracle
A materialized view is a database pair that includes a query result, which is a local copy of the remote data, or is used to generate a summary table based on the sum of the data tables. Materialized
oracle| Stored Procedures Xiayi
ASP Dynamic Web site development technology
With the deepening of people's understanding of the Internet and the development of IT technology, static Web pages have become more and more unable to meet the needs of
oracle| Data | Database In this article, you will learn how to use database transactions in Visual Basic. NET (vb.net) and Visual C #. NET (C #). Specifically, you will learn about database transactions, the use of OracleTransaction objects in. NET
1. InstallationOracle10g R2 Software2. To play Oracle 10g the latest patch, I'm playing a patch to upgrade to 10.2.0.23. Run pre-upgrade information Tool. It is used to analyze some of the things you need to do before you upgrade to 10g, such as
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