Today wrote a few hours of SQL statements, at the beginning I did not train of thought, the idea began to write.First I query the storage table in the 3-level units under the various outlets of the storage information, find this information, I went
1. Modify the table field type /* modify the name of the name name_tmp*/ALTER TABLE ca_cadocument rename column cd_taskids to cd_taskids_t; */ Add a field with the same name as the original field name name*/ALTER TABLE ca_cadocument add Cd_taskids
1, ORA-01502: Index ' Dbepms. sys_c009390 ' or partition of such index is in an unusable stateWORKAROUND: [Note index naming rules ix_ table name _ Column name/ix_ table name _ ordinal (index length within 30 characters)](1) Rebuilding index: Alter
1. Overview of the ViewA view is actually a query SQL statement that displays related data in one or more tables or other views. The view uses the results of a query as a table, so the view can be thought of as a stored query or a virtual table.
First need to have local Sqlplus command, if not need to download the official website can also click I download (decompression readme.txt has installation configuration instructions):in the Oracle official website Download instant Client for OS X.
When you debug a procedure, function, or package, the company's firewall kills the session connection if there is no action for a long time. This time the database does not actively release the resources of the session, if the procedure, function or
View Introduction: views are logical tables that are based on a table or multiple tables or views, and do not contain data in it, which allows you to query and modify the data in the table. The table that the view is based on is called the base
Need to be aware of1. switch from root user to Su Oracle cannot start sqlplusThe root user switches to Su-oracle to start the SqlplusThe Sqlplus command can also be started by logging in directly from the Oracle user2. Start the error when starting
Start and stop OracleStop and start Oracle needs to be switched to Oracle user only, no other user has this permissionRun Sqlplus but don't log in to Oracle:sqlplus/nologConnect to the Oracle server with the privileges of the system administrator:
Oracle The main users:L Super admin: SysL General Administrator: SystemL General Users: ScottSQLPLUSW Some of the common commands :L Set line Display quantity: Set linesize lengthL settings also show quantity: Set pagesize lengthL Ed and @
SwitchoverSwitchover: The main library and standby data synchronization under normal conditions, mainly forPrimary and standby maintenance, switch drills, etc.;FailoverSwitch: The main library and the standby in the data is not synchronized in the
Characteristics:
Reinstall required: Libaio1_0.3.109-2ubuntu?_amd64.deb. The default Libaio library has a problem and is related to the way it is compiled by default Libaio!
The GCC 4.x needs to be reinstalled, and the default GCC 6.x
Under root user, perform the following steps:1) Modify the user's shell limit, modify the/etc/security/limits.conf fileInput command: vi/etc/security/limits.conf, press I to enter edit mode, add the following content to the file.oracle soft nproc 204
Scott users are a very important experiment in our process of learning Oracle, and when we build a database, the Scott user does not appear by default if we choose a custom mode, but we can make this user appear by using a few simple commands. The
1.(Requires Oracle account registration)Click2. Log in to CentOS to prepare for the jobGroupadd oinstall groupadd dbauseradd-g oinstall-g dba-m oraclepasswd Oracle3. Transfer the compressed package to the Down Under Oracle homeUnzip and modify
Common basic types of 1.oracle databasesCHAR (Ten)--store a fixed-length stringVARCHAR2 (Ten)--storing variable-length stringsDateinteger-to-store integersNumber (p,s)-->p the maximum number of digits that can be saved to the database, including the
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