Compare SQL Server, Oracle, and DB2
I. Openness:
SQL ServerIt can only run on windows without any openness. The stability of the operating system is very important to the database.The Windows9x series products focus on desktop applications,
Oracle OLAP FunctionsThis topic has been used a lot recently. I have summarized it.
Syntax: function_name (,,...)Over ()
OLAP function Syntax: 1. The function itself is used to operate the data in the window. 2. Partitioning clause is used
Single-record functions in SQL1. ASCIIReturns the decimal number corresponding to the specified character;SQL> select ASCII ('A') A, ASCII ('A') A, ASCII ('0') zero, ASCII ('') space from dual;A A zero space------------------------------------65 97 4
Create an Oracle database (taking Oracle10g as an example)There are two ways to create a database: one is to create a database manually using a command line script; the other is to create a database using the Database Configuration Wizard provided
OCI: to install the Oracle client, the portability is slightly poor, and theoretically the performance is better
Thin: belongs to type4, which is implemented in pure Java and has good portability. Theoretically, the performance is slightly lower.
In the past decade, Oracle has become one of the world's most professional databases. For IT experts, it is to ensure that their company's productivity is improved by leveraging the powerful features of oracle. One of the most effective methods is
-- Basics: select * from area select * From cgfpmxb/* can contain any expression * // * specifies the alias. You can directly write it or use as AA * // * to combine the two fields into one field. use | * // * to enclose a string in single quotes
In general, we only update a single record, but there are few batch updates. Currently, we provide three methods for batch update:
1. Batch update
Update test a set a. dept_no = (select B. dept_no from test1 B where a. emp_no = B. emp_no)
2.
The syntax of the create statement is the same, and the data types are different.
However, the syntax for creating a table using subqueries is different.
SQL Server statements created using subqueries:Select empno, ename, Sal * 12 annsal, hiredate
1. Backup tools
You can directly use the Operating System Utility copy and CP to perform backup operations. However, Oracle strongly recommends that you use recovery Manager (RMAN ).
RMAN can back up data files, control files, archived logs, and
2.1.1unlike other database products, Oracle has its own unique system architecture. The Oracle system architecture is the framework of the entire ORACLE Server System and the basis and core for managing and applying ORACLE data servers. The Oracle
The following three statements are used to refresh the Oracle cache. Here is a summary.
1) alter system flush global context
Note:
For multi-tier architectures such as application servers and data block servers that communicate through the
(1) easily change owners, groups, and permissions
The following think describes how to easily change the owner, group, and permissions of chmod chown chgrp.
Suppose there are several files:
[Root @ bogon desktop] # ls-L total 4-rw-r -- r -- 1
Assume that the following two tables exist.
T_media:
Mediaid flags
11111 1
22222 1
33333 1
44444 1
T_media_locations:
Mediaid locationid
11111 999999
22222 999999
33333 999999
Now there is a need to count the number of media in the flags = 1
1. Forget the logon password of a user except sys and system.Log on to the conn sys/pass_word as sysdba as a sys (or system) user;Use the following statement to modify the password: Alter user user_name identified by newpass;Note: The password
This article introduces the import and export of Oracle Data IMP and exp commands, describes the corresponding parameters, and then uses some examples for further understanding.At last, the article discusses the problems that may occur when using
Source: Network/Editor: getting started with programming Author: E Jian
The goal of this article is to execute a shell script to complete the entire process of automatic Oracle database backup, and to generate compressed files in the
The new generation of Oracle will add many exciting new features. The following describes some new features of oracle11g.1. Database Management · Database Replay) This feature can capture the load of the entire data and pass it to a test database
Main Implementation ideas:1. Declare a record to store exported data;2. Use a cursor to retrieve data to the record;3. Use utl_file to write the recorded data into an excel file;4. Perform steps 2 and 3 cyclically to export data.Main problems
A. To generate a debug file from the Shipping Transaction or Quick Ship forms
Set the following profile options:OM: Debug Level-set5WSH: Debug Enabled-setYesWSH: Debug Level-setStatementWSH: Debug Log Directory-any directory that can be written to
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.