Initialization--CREATE TABLE SpaceCREATETablespace table space name datafile'file name. dat'SIZE 100M Autoextend on NEXT10M MAXSIZE UNLIMITED;--Create User (Oauser)--Connect InternalCREATE USEROauser identified byOauser;ALTER
1. Data export:1 full export of database test, user Name System Password Manager exported to D:\daochu.dmpExp System/[email protected] file=d:\daochu.dmp full=y2 willDatabaseTable export for system users and SYS usersExp System/[email protected]
Dedicated server and shared server1. Dedicated ServerWhen I landed, Oracle would always create a new process for me to connect to the Oracle server, so that the configured server was called an Oracle dedicated server, and the resulting server
The Oracle database object is also called the schema object, and the database object is a collection of logical structures, and the most basic database object is a table. Other database objects include: Synonyms synonyms are an alias for an existing
SQL codeSelect from T_menu_item t;Ten CLARKTen KINGTen MILLERADAMSFORDJONESSCOTTSMITHALLENBLAKEJAMESMARTINTURNERWARD--------------------------------We pass the Wmsys provided by 10g. Wm_concat function to complete row-to-column effectsSQL
System permissionsSystem permissions require that the grantor have the ability to perform system-level activities, such as connecting to a database, changing user sessions, establishing tables or establishing users, and so on. You can get full
--The second method: direct configuration
--If you create a global dblink, you must use the SYSTM or SYS user to add public before database .
Create/ * public */Database link DBLINK1
Connect to Dbusername identified by Dbpassword
Using ' (
Oracle Database Features: High security, rich data typesOracle is a database product developed by Oracle Corporation of the United States----------------------------------------------------------------------Oracle version:OracleOracle8i--------------
Linux System installation Oracle Recently learned Oracle Database, the installation problem took a lot of time, online also consulted a lot of documents, at the same time, according to their own experience, summarize The installation steps of
Introduction to the ORACLE call interface (OCI) and the process of important functions
Abstr]It is essential to interact with databases for user-owned programs. In order to store, read, and delete user data, we need to access the database frequently,
Preliminary understanding of oracle architecture (1)When I first started learning oracle, I recorded my study notes. If you have any mistakes, I hope you can give me more advice. First, go to an important figure in the oracle architecture, as shown
Oracle architecture (1)Database and instance database: a collection of physical operating system files or disks. When Oracle's ASM (Automatic Storage Management) is used or RAW partitions are used, the database may not be used as a separate file in
Oracle SQL BASICS (3)-index/trigger/view operations1. index. create index idx_name on fdh_client_info (name); -- create unique index uni_idx_id on fdh_client (id); -- create index union_idx_name_addr on fdh_client (name, address); -- Union index B.
Obtain the first day of the month, the last day of the year, and the last day of the month based on the accounting period.
Simply record it to avoid forgetting:
DECLARE V_PERIOD_BEGIN_DATE DATE; V_PERIOD_END_DATE DATE; 1_date; V_PERIOD_NAME
Oracle uses functions to merge multiple rows and one column of data
/* Formatted on 13:23:55 (QP5 v5.185.11230.41888) */create or replace function GetGiftsName (rid in number) // RETURN VARCHAR2 as str VARCHAR2 (1000) in the rid parameter ); /*
Common Oracle commandsToday, the database user is locked and checked, saying that the user will be locked if the logon error exceeds 10 times, therefore, with the unlock and password change operations, sqlplus/nolog is aborted without connecting 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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service