PS: MySQL 5.5 series has become a stable version for some time, but according to my survey, it is still dominated by the 5.1 series in the production environment. In large Chinese companies, it is only determined that Jinshan is using 5.5.
Several
Functions and stored proceduresIn Oracle databases, you can use a single statement to add, delete, modify, and query a database. In addition, you can use multiple statements to form an I statement block and execute them together.These statement
Oracle 10 Gb has provided the recycle bin function similar to windows. When you delete a table, it is not directly deleted, but moved to the recycle bin. If you need to retrieve the original table from the recycle bin, you can use flashback to
Leading hint indicates that Oracle uses the table specified in leading as the driving table,For example, the normal access plan is as follows:SCOTT@www.bkjia.com> select e. ename, hiredate, B. comm2 from emp e, bonus B3 where e. ename = B.
Stored Procedures and functions
A subroutine stored in a database for calls by all user programs is called a stored procedure and a stored function.
Create a stored procedure:
UseCREATE PROCEDURECommand to create a stored procedure and a stored
After a week of hard work, I finally completed the Fedora 16 X86_64 system on the new machine. Compared with the Fedora 14 in this book, the current Fedora version feels more beautiful and stable, but it is not a habit to use it.
For more
[Oracle @ Template-RedHat54 admin] $ lsnrctl
LSNRCTL for Linux: Version 11.2.0.1.0-Production on 13-APR-2012 23:09:14
Copyright (c) 1991,200 9, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> statusConnecting
-- Functions and stored procedures can be defined separately. They will appear in pl/SQL-- Functions's folder and under the Procedures folder
-- They can also be defined in the package.
-- Functions or stored procedures defined in a package,
I. Fault symptom:
SQL> conn system/OracleERROR:ORA-28000: the account is locked
Warning: You are no longer connected to ORACLE.SQL>
Ii. Cause Analysis:Unable to log on because the system is locked
Log on to the operating system using the sys user or
1. Add a user to Mysql
Format: grant select on database. * to "username" @ "Login host" identified by "password ";
Example 1: Add a user named "test1" with the password "abc" so that the user can log on to any host and have the permission to query,
In the Oracl RAC 10.2.0.4 environment where the operating system is Linux, the local hard disk of a node server is suddenly damaged and stops running. The remaining node still works normally and continues to provide external database services.
The
In Linux, mysql is often used to connect to the server every time:
[Root @ localhost ~] # Mysql-hlocalhost-uroot-p11111
Every time I enter the user name, password, and more people, is there a more convenient way?
We only need to simply configure
My operating system: rhel6. The default value is base system. All available packages of development-tools selected by developmet.
Install the ncurses-devel package. My system is not installed. Install yum from the CD or rpm.
Oracle Releases Version 5
Oracle SQL Developer 3.1.07.42 is installed in Linux Mint 12 (see). It feels good to connect Oracle, Mysql, and SqlServer ......., but there has always been a problem, that is, when the mouse is clicked, the mouse will be offset. Specifically, the
I. Index type:PostgreSQL provides a variety of index types: B-Tree, Hash, GiST, and GIN. Because they use different algorithms, each index type has a suitable Query type, saving time and resources, the create index Command creates a B-Tree INDEX.1.
Database associations are implemented through the primary and Foreign keys:
The associations of object classes managed in Hibernate are implemented through inclusion. They are classified into one-way Association and two-way association based on
Today, I found image errors stored in MongoDb GridFS. I checked the logs and found many logs similar to the following:
Sat Mar 31 16:10:45 [conn42882] ns: fangdd. fs. chunks cocould not initialize cursor should SS all shards because: ns: mydb. fs.
Introduction:
When processing a sequential account with similar records, you may often encounter the situation of "taking the first and last records for calculation on a certain Table value. For example, the logging and end-to-end increase.
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