Oracle's support for Windows: pro*c/c++ JAVA,JDBC/SQLJ Oracle Objects for OLE (oo4o) Oracle Provider to OLE DB Oracle Data Provider for. NET com/com+ A Utomation Feature tools,services for Microsoft Transaction Server
Oracle Objects for OLE
The definition of a multiple-table view is a single table view when the data source for the view has only one datasheet, and the view is a multiple-table view when the data source of the view is multiple data tables.Updatable view definition: In the
The SELECT statement in Oracle can implement a recursive query with the start With...connect by prior clause, which is used in structured queries, and its basic syntax is:Select ... from where Start with Connect by ;: Filter conditions that are used
Portable Table Space transport tablespacePortable table Space
The ability to move large amounts of data between databases using the properties of the portable tablespace (transportable tablespaces) is much faster than Export/import and Unload/load,
Today the program works locally and can be posted to the server The Times a ORA-00911 invalid character error
This error is due to a problem with the SQL statement, check the SQL did not see any problems, the results were taken to the library inside
In the project to find two days difference in the number of hours, with ceil the hour data is wrong, study the ceil (n) function, found that the function is more than equal to the number N of the smallest integer, which is very likely to have the
Today colleagues let me delete a table of data, happy to say yes;
It looks like a simple task, it can be tricky to do, originally this table is a foreign key constraint, as a primary table exists.
But I just got in touch with the system, but it's
If only the scope partition is considered, and there are no child partitions, Oracle determines that the local index table space follows the following two principles:
1. If the table space is explicitly specified when the local index of the
Each group of queries can get its result set, if the need to combine multiple query results into a result set, can be implemented by the set operation.
such as union, and set, and do not remove duplicate rows (unoin all), intersections (INTERSECT),
1. Export data from the source database:
Syntax:
Exp user1/pwd1@test1 file= ' e:test.dmp ';
Example:
Exp TIANZHI_SMART/TIANZHI_SMART@192.168.56.60:1521/ORCL file= ' E:\tianzhi_smart.dmp ';
Application screenshot:I am stupid, the initial use, do
* This import export method is fully applicable to the partition table * prepare before exporting, importing
Note: Use System user actions such as SYS, systems, and so on.1) Create directory objects
CREATE DIRECTORY exp_dir as '/oracle/db/zone ';
Paging Query format:
SELECT *
from (
select A.*, rownum RN to
(SELECT * FROM table_name) A
WHERE rownum = 21
which
the most inner query select * FROM table_name represents the original query statement without paging。 RowNum = 21 control the
Today, when you execute the following anonymous block, I forced the execution off because it was too long, but when I checked the Src.test table, it was strange to see that there was some data in the table, but think about it, my understanding is as
Oracle Stored procedures:
CREATE OR REPLACE PROCEDURE getcity (
citycode in VARCHAR2,
ref_cursor out sys_refcursor/ * This sys_refcursor type is in the Sys.standard package * *
) as
BEGIN
OPEN ref_cursor for
SELECT * from
MySQL Chinese sort has a function such as convert (name using GBK), so I studied the Oracle Chinese sort:Using phonetic sortingSQL>Select*fromorder by Nlssort (name,'nls_ Sort=schinese_pinyin_m'); NAME---------------------------------------- a
Oracle creates a new database, which is a table space that is created to assign a table space to a user.1. Create TABLE Spaces :CREATE TABLESPACE DATAFILE ‘C:\app\oradata\orcl\date.dbf‘ SIZE [K|M] [AUTOEXTEND [OFF|ON]];2. Create a user :CREATE USER
Crontab timed execution of Oracle stored proceduresRequirements DescriptionWe have an Oracle stored procedure that needs to be executed every month, generate a report, and then send it to the business unit, which we have implemented in the system's
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