After using dbca to create a database, create a table. Before creating a table, create a table, and then create a user to use the table space as the user's default table space, finally, log on to the user and create a table. By default, the table
1. Poor connection managementEach time an application interacts with a database, the connection is opened and closed. This problem is often related to stateless middleware in the application server. It affects performance by more than two orders
On Windows, you can set a task to start some tasks at regular intervals, for example, once a week or once a day. I also saw a lot of applications write PL/SQL batch in Oracle, and then use Windows task to start these batch, which is quite tedious.
If only English software is used, character sets are rarely considered. However, if other languages are used, character sets must be considered. Otherwise, a lot of garbled characters may occur accidentally.
Many other software also has
Document directory
Tables and columns
Integrity constraints
View
Sequence
Synonym
Index
User
Role
Tablespace quota
Configuration table
Tablespace
Data Files
Segment
Rollback segment
1. System Table
System Parameters of the Oracle
The unique identifier generated by Oracle is different from that generated by SQL and Sybase. It uses a serial number generator. The serial number generator is a database object. The following statement creates a serial number generator SQL
Query roles of a user:Select grantee, granted_role from dba_role_privs where grantee = 'wjw ';Query the system permissions of a user:Select grantee, privilege from dba_sys_privs where grantee = 'wjw ';Query the system permissions of a role:Select
Create user _ authorization _ in Oracle and import data
Complete process: create users, create tablespaces, authorize, and create tables
L create a user
Create user BBS identified by bbs123;
L create a tablespace
Create a user in Oracle and set the permission _ basic cmd
C:/> sqlplus
SQL * Plus: Release 9.2.0.1.0-production on Saturday September 29 15:08:34 2007
Copyright (c) 1982,200 2, Oracle Corporation. All rights reserved.
Enter the User name: SYS as
A project needs to monitor data changes in a table, and then generate a file to the disk based on the change results to facilitate monitoring by log capturing programs.
You need to use the util_file package that comes with Oracle.
The target
1. create a backup folder in drive D, such as: D:/database backup; create five (up to 7) subdirectories, such as D:/database backup/Monday, D: /database backup/Tuesday ,......, this ensures weekly backup;2. Create five batch files under the
The main process of SQL parsing in Oracle:
The cursor concept we mentioned is complicated. It can be a cursor in a client program, a private cursor in a service process, and a shared cursor in a server shared pool. If a cursor is opened, its
Preface
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
(The following content takes effect only when "=" is used, but not if "LIKE" is used .)
Sometimes we do not want to use lower or upper functions to query all case-sensitive content, such as data transferred from sqlserver and mysqlOracle. You can
Small differences between Oracle and SQLServer Selection
Oracle and Microsoft are two major database products in the history of database development. This leaves little room for selection of databases, either Microsoft or Oracle. However, there is a
ORACLE was originally designed to be transaction-based, so it won't be authentic in terms of processing analyticdb. Recent developments in ORACLE-related technologies have gradually adapted to OLAP needs.
1 partition technology 2 compression
Lead () over () is used to calculate the current cursor position of a set and obtain the value of a field at the nth position in a certain order, the default value is the next position.
Select incid_id, acty_id,Lead (acty_ts) over (partition by
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