Oracle (zero) --> pseudo-column and group aggregation (starting from Oracle, relatively beginner ~), OracleIn the beginning ~It's time to start school .. What does it have to do with me ..), After all, I took up my job even though I didn't know what it was during the summer vacation. I watched my classmates show around me. = It's too much. Just try again .. I learned Or
ORACLE-013: kill deadlock process in oracle, oracle-013oracle
In oracle, stored procedures or functions that frequently access packets may cause deadlocks. Scripts of deadlocked objects cannot be run, causing freezing or an exception: too many connections are opened.
In this case, you need to use the dba account to k
ORACLE-018: ORACLE tip 001 string processing, oracle-018oracle
1. truncate a string
Oracle uses a function substr to intercept a string. The parameter is substr (string, start position, and truncation length ),
For example, if the string 123,112 needs to be removed by a comma, the truncation function is as follows:
Method One: Use the Pl/sql Developer tool to export:Menu bar---->tools---->export Tables, the following figure, set the relevant parameters can be:
Method Two: Use CMD's Operation command to export, the details are as follows:The 1:g:\oracle\product\10.1.0\client_1\network\admin directory has a Tnsname.ora file that reads as follows:
Copy Code code as follows:
Cmstar =
(DESCRIPTION =
(Address_list =
(address = (PROTOCOL = TCP) (H
Oracle User Management
First, the concept of the user
Users, or user, is a popular way to access Oracle database "people." In Oracle, the user's various security parameters can be controlled to maintain the security of the database, these concepts include schemas, permissions, roles, storage settings, space quotas, access resource constraints, database auditing
EXP Export Oracle database table: (as native administrator), refer tohttp://jiqinlin.iteye.com/blog/758469 Export TABLE: Exp username/password @localhost (IP address): Port number/Database instance name file= local address \ Want to generate an indication. DMP owner= (username, Password) eg:exp C # #tjuser/TJUSER@LOCALHOST:1521/ORCL file=c:\adc160624.dmp owner= (C # #tjuser, Tjuser)//tables under the current user
database name, instance Name query: (A
Tags: process build rail info from BSP content lag stop For non-Oracle DB, SQL Server is a sample description: My train of thought A:oracle DB production B:oracle DB Intermediate machine C:sqlserver db destination a-> b->c Note: B on both the rep process also has the EXT process, at this time. There is also a need to establish a rep process for B.A->b can complete the online initialization synchronization (EXPDP based on SCN number)After the initializ
Tags: Oracle goldengate initial Load methodNon-Oracle DB is illustrated with SQL Server as an example:My train of thoughtA:oracle DB production B:oracle DB Intermediate machine C:sqlserver db destinationa-> b->c Note: B on both the rep process and ext process, at this time, C also need to establish a rep process for B.A->b can complete the online initialization synchronization (EXPDP based on the SCN number
1. Oracle Installation
Please refer to the following link for more information: http://wenku.baidu.com/view/d01ffd43336c1eb91a375d68.html.
2. Use the command line sqlplus to connect to Oracle
(1) Check the listening status
C: \> LSNRCTL status
LSNRCTL for 32-bit windows: Version 9.2.0.1.0-production on 2005 11:01:01
Copyright (c) 1991,200 2, Oracle Corporation. A
It takes a day and a half to resolve the client connection to the Oracle database on the server side, unable to connect the problem. Ora-01034:oracle Not available (ORACLE does not exist), ora-27101:shared memory realm does not exist analysis:A few days ago you can also connect to the database, but yesterday, the local no reason to connect to the server database.
Oracle Server entry and oracle management routineI. Common oracle database management toolsOracle Universal Installer (OUI): used to install, upgrade, or delete Software ComponentsOracle Database Configuration Assistant (DBCA): a graphical user interface tool that interacts with OUI. It can also be used independently to create, delete, or modify databases.SQL * P
What is a relational database? Oracle database architecture, Oracle cluster introduction, and oracle Architecture
What is a relational database?
Databases based on Relational Models.
What is a relational model?
Use rows and columns in a two-dimensional table to maintain the data model.
Oracle database architectur
Tags: style blog http ar file Data SP Div 2014 1 installation Knowledge of Oracle (oracle10g and oracle11g version differences ) :A the installation directory should not have Chinese and white spaceB oracle10g support winxp does not support win7,8 and vista;oracle11g supports all versions2 oralce Server: comprised of Oracle instances and Oracle datab
ORACLE-012: Automatic varchar2 and number conversion for numbers only in oracle, oracle-012varchar2
When an association query is used, the fields in the two tables define different types. One field is of the varchar2 type, and the other is of the number type. The content is as follows: '20160301' and 00187. In use, the varchar2 type is automatically converted to
There are several modes of locking in Oracle:0:none1:null Empty2:row-s line Sharing (RS): Shared table locks, Sub share3:row-x Line Exclusive (RX): For row modifications, sub Exclusive4:share shared Lock (S): Prevents other DML operations, Share5:s/row-x shared Row Exclusive (SRX): Block other transaction operations, Share/sub exclusive6:exclusive Exclusive (X): Independent access use, exclusive
The types provided by 1.
export or after the import recompile. The stored procedure did not import successfully, so I finally took advantage of Navicat to import the stored procedure successfully.Note: (1) To ensure that two databases have the same character set, if the difference will be an error. I checked the next two database character sets are the same, so I'm not sure what is wrong with the specific report. To view the database character set:SELECT * from V$nls_parameters WHERE PARAMETER in (' Nls_characterset ',
When creating a database table, you can specify a default value (default value ). Using default values for database fields helps isolate database design issues from application code.
You can use the alter table command to change the default value of a field at a later time. After the change, the application code will immediately start to use the new value.
It is important that the default value is used only when a field is not specified in insert or merge or the default keyword is used. If you d
Install Oracle 11g R2 + RAC + ASM in Oracle Linux 6.4
I. Version descriptionMany articles related to the Internet are found, but they are not very specific. Therefore, the detailed version is used to make the article more practical.This is the RAC environment of Oracle 11g R2 11.2.0.4. The operating system version is Oracle
From: http://blog.csdn.net/seventh1984/archive/2009/02/26/3940168.aspx
I personally think this function is actually very useful. sys_connect_by_path (field name, The Connection Symbol between two fields). Note that the Connection Symbol here should not be a comma. Oracle will report an error. If you must use it, replace can be used as follows: Replace (field name, original character ,',').Also, you must create a tree before using this function. Other
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.