The linux&oracle of Evil and supplementary articlesLinux simultaneously Open two terminals:ctrl+shift+tLinux configuration Yum file:/etc/yum.repos.d/xx.repoLinux switch users:su-usernameOracle Connectivity:sqlplus/as sysdba;conn/as sysdba;Grid to
CommandDescriptionCrsctl start hasStart the database has service.CRSCTL Stat res-tCheck the status of each service (DG, monitor, asm instance, etc.) in ASM.SRVCTL Status ASMView the ASM instance state, normally the ASM instance of the master standby
First, what is a view A view is a custom display of data from one or more tables, but a view is considered a virtual table or stored query, and the table on which the view is created is called the base table. The view provides another level of
Examples of common methods for single-line functions are shown:--[1] character functions--Query the names of all employees in lowercase, uppercase, and uppercase letters--select ename from emp;--lower () lowercase upper () uppercase Initcap () first
The example in this article describes how C # calls Oracle stored procedures. Share to everyone for your reference. The implementation method is as follows:The Oracle database code is as follows: The code is as follows:Create or Replace procedure
When using a self-increment sequence, when a trigger is needed, I always report a compile pass, but there is a warning or an error when I create multiple triggers consecutively.---1. Application Information drop TABLE app_info Cascade
One, decode () function1. GrammarDECODE (Control_value,value1,result1[,value2,result2 ...] [, Default_result]);Control _value: The value you are trying to process. The decode function compares this value to the subsequent sequence of even orders to
1. View all table space size, Remaining amount:Select Dbf.tablespace_name,Dbf.totalspace "Total (M)",Dbf.totalblocks as total block number,Dfs.freespace "Total remaining (M)",Dfs.freeblocks "Number of remaining blocks",(dfs.freespace/dbf.totalspace)
SQL Duplicate Record Query methodAugust 14, 2008 Thursday 21:01
SQL Duplicate record query1, look for redundant records in the table, duplicate records are based on a single field (Peopleid) to determineSELECT * from Peoplewhere
Use cursors to iterate through the data in a table to create different tablesMySQL in theDELIMITER $$DROP PROCEDURE IF EXISTS zy.jk_jkzl_political_location_pro $$CREATE PROCEDURE Zy.jk_jkzl_political_location_pro ()BEGINDECLARE No_more_pro INT
Follow the steps below:1, check the user's proifle is which, is generally default:Sql>select username,profile from Dba_users;2. View the password expiration settings for the specified profile (such as default):Sql>select * from Dba_profiles s WHERE
After Oracle is installed, there is a default database in which we can create our own database, in addition to the default database.For beginners, to avoid trouble, you can create a database with the ' Database Configuration Assistant ' Wizard.After
First, the phenomenon of database deadlockDuring the execution of the program, click OK or save button, the program is not responding, there is no error.Second, the principle of deadlockWhen you perform an update or delete operation on a column of a
1 Create or Replace functionWork_plan_mask (P_schemaVARCHAR2, p_tableVARCHAR2)2 3 return Varchar2 as --data control, specifying that certain people can only view information within their purview4 5V_predicateVARCHAR2( +) := '1=2';6V_personcode
Oracle Notes (16) database design paradigmThe database design paradigm is a very important concept, but this important degree is only suitable for reference. Using the database design paradigm, you can make the data table better to save the data,
ORACLES11 the startup state of the databaseORACLE11G must go through three states at boot time: Nomount,mount,open.Nomount: Only open the DB instance in this state, read the parameter file.MOUNT: Opens the control file according to the parameter
The "problem" now has two tens other structures of the same data in different data tables T_sms_phoneno (destination table), T_sms_phoneno2 (source table), updating the data of the destination table based on the source table data."Analysis" based on
1.1 Understanding OracleMySQL is a very simple and easy to learn database, its own download the default version of the installation is forbidden to other users access, but as long as the settings can be accessed through IP, you can achieve
[20171121] rman backup as copy 2.txt, 20171121 rman
[2, 20171121] rman backup as copy 2.txt-- // Test backup as copy yesterday. When is the backup file header updated during backup? Is it written to the backup file in sequence after the backup is
Oracle uses Dblink and oracle uses dblink
The DBLINK database link is a schema object in a database, allowing you to access objects in another database.
The dblink qualifier allows you to reference objects in a database other than the local database.
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